Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/systat No David, '\?' is not the del character. Bro...



details:   https://anonhg.NetBSD.org/src/rev/a491b01d431d
branches:  trunk
changeset: 790487:a491b01d431d
user:      bad <bad%NetBSD.org@localhost>
date:      Mon Oct 14 22:23:22 2013 +0000

description:
No David, '\?' is not the del character.  Broken in rev 1.21.
XXX pullup-5, pullup-6.

diffstat:

 usr.bin/systat/keyboard.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 538e8539beb3 -r a491b01d431d usr.bin/systat/keyboard.c
--- a/usr.bin/systat/keyboard.c Mon Oct 14 21:19:16 2013 +0000
+++ b/usr.bin/systat/keyboard.c Mon Oct 14 22:23:22 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: keyboard.c,v 1.24 2007/12/31 00:22:14 christos Exp $   */
+/*     $NetBSD: keyboard.c,v 1.25 2013/10/14 22:23:22 bad 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.25 2013/10/14 22:23:22 bad Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -121,7 +121,7 @@
                                }
                                continue;
                        }
-                       if (ch == '\b' || ch == '\?' || ch == erasechar()) {
+                       if (ch == '\b' || ch == '\177' || ch == erasechar()) {
                                if (col > 0)
                                        col--;
                                goto doerase;



Home | Main Index | Thread Index | Old Index