Module Name:    src
Committed By:   bouyer
Date:           Sun Oct 20 13:32:45 UTC 2013

Modified Files:
        src/usr.bin/systat [netbsd-6]: keyboard.c

Log Message:
Pull up following revision(s) (requested by dholland in ticket #968):
        usr.bin/systat/keyboard.c: revision 1.25
No David, '\?' is not the del character.  Broken in rev 1.21.
XXX pullup-5, pullup-6.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.24.28.1 src/usr.bin/systat/keyboard.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/systat/keyboard.c
diff -u src/usr.bin/systat/keyboard.c:1.24 src/usr.bin/systat/keyboard.c:1.24.28.1
--- src/usr.bin/systat/keyboard.c:1.24	Mon Dec 31 00:22:14 2007
+++ src/usr.bin/systat/keyboard.c	Sun Oct 20 13:32:45 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: keyboard.c,v 1.24 2007/12/31 00:22:14 christos Exp $	*/
+/*	$NetBSD: keyboard.c,v 1.24.28.1 2013/10/20 13:32:45 bouyer Exp $	*/
 
 /*-
  * Copyright (c) 1980, 1992, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)keyboard.c	8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: keyboard.c,v 1.24 2007/12/31 00:22:14 christos Exp $");
+__RCSID("$NetBSD: keyboard.c,v 1.24.28.1 2013/10/20 13:32:45 bouyer Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -121,7 +121,7 @@ keyboard(void)
 				}
 				continue;
 			}
-			if (ch == '\b' || ch == '\?' || ch == erasechar()) {
+			if (ch == '\b' || ch == '\177' || ch == erasechar()) {
 				if (col > 0)
 					col--;
 				goto doerase;

Reply via email to