$NetBSD: patch-aw,v 1.1 2005/10/03 15:17:14 joerg Exp $ --- term.c.orig 2005-10-03 15:20:10.000000000 +0200 +++ term.c @@ -90,7 +90,7 @@ static long term_handle_input(struct fra while(n > 0) { fd_set r; struct timeval t; - char val; + unsigned char val; t.tv_sec=0; t.tv_usec=(do_delay) ? 1000 : 0;