1 $NetBSD: patch-cc,v 1.1 2007/06/14 19:39:46 bouyer Exp $
3 --- console/client/main.c.orig 2007-05-18 16:45:21.000000000 +0200
4 +++ console/client/main.c 2007-05-27 14:43:14.000000000 +0200
6 #include <sys/select.h>
18 err(errno, "Could not read tty from store");
21 + init_term(spty, &attr);
22 init_term(STDIN_FILENO, &attr);
23 console_loop(spty, xs, path);
24 restore_term(STDIN_FILENO, &attr);