Update of /cvsroot/blob/blob/src/lib
In directory usw-pr-cvs1:/tmp/cvs-serv27181/src/lib
Modified Files:
command.c
Log Message:
Accept either ^H or DEL as rubout.
Index: command.c
===================================================================
RCS file: /cvsroot/blob/blob/src/lib/command.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- command.c 2002/01/03 16:07:18 1.9
+++ command.c 2002/02/04 22:03:29 1.10
@@ -319,7 +319,7 @@
/* print newline */
serial_write('\n');
return(numRead);
- } else if(c == '\b') { /* FIXME: is this backspace? */
+ } else if((c == '\b') || (c == 0x7f)) {
if(i > 0) {
i--;
numRead--;
|