$NetBSD: patch-ah,v 1.4 2010/03/14 14:19:19 martin Exp $ --- src/term.c.orig 2009-12-05 21:26:24.000000000 +0100 +++ src/term.c 2010-02-06 20:20:54.000000000 +0100 @@ -217,7 +217,7 @@ while(n > 0) { fd_set r; struct timeval t; - char val; + unsigned char val; t.tv_sec=0; t.tv_usec=(do_delay) ? 10*1000 : 0;