diff options
-rw-r--r-- | sys/arch/i386/stand/boot/cmd.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/stand/libsa/dev_i386.c | 4 | ||||
-rw-r--r-- | sys/stand/boot/cmd.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/i386/stand/boot/cmd.c b/sys/arch/i386/stand/boot/cmd.c index 84f52e813cf..11a96c014c3 100644 --- a/sys/arch/i386/stand/boot/cmd.c +++ b/sys/arch/i386/stand/boot/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.15 1997/05/31 15:48:25 mickey Exp $ */ +/* $OpenBSD: cmd.c,v 1.16 1997/06/06 16:26:56 kstailey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -272,7 +272,7 @@ readline(buf, to) break; case '\b': if (p > buf) { - putchar('\b'); + putchar('\177'); p--; pe--; } diff --git a/sys/arch/i386/stand/libsa/dev_i386.c b/sys/arch/i386/stand/libsa/dev_i386.c index 92ce1f99cfd..6f2fb598902 100644 --- a/sys/arch/i386/stand/libsa/dev_i386.c +++ b/sys/arch/i386/stand/libsa/dev_i386.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev_i386.c,v 1.11 1997/05/29 04:35:29 mickey Exp $ */ +/* $OpenBSD: dev_i386.c,v 1.12 1997/06/06 16:26:57 kstailey Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -113,7 +113,7 @@ putchar(c) static int pos = 0; switch(c) { - case '\b': /* BS erases */ + case '\177': /* DEL erases */ putc('\b'); putc(' '); putc('\b'); diff --git a/sys/stand/boot/cmd.c b/sys/stand/boot/cmd.c index 84f52e813cf..11a96c014c3 100644 --- a/sys/stand/boot/cmd.c +++ b/sys/stand/boot/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.15 1997/05/31 15:48:25 mickey Exp $ */ +/* $OpenBSD: cmd.c,v 1.16 1997/06/06 16:26:56 kstailey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -272,7 +272,7 @@ readline(buf, to) break; case '\b': if (p > buf) { - putchar('\b'); + putchar('\177'); p--; pe--; } |