summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/stand/boot/cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/boot/cmd.c b/sys/arch/i386/stand/boot/cmd.c
index 11a96c014c3..8268bbe48f1 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.16 1997/06/06 16:26:56 kstailey Exp $ */
+/* $OpenBSD: cmd.c,v 1.17 1997/06/06 18:23:43 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -258,12 +258,12 @@ readline(buf, to)
switch ((ch = getchar())) {
case CTRL('r'):
while (pe > buf)
- putchar('\b');
+ putchar('\177');
printf(buf);
case CTRL('u'):
while (pe >= buf) {
pe--;
- putchar('\b');
+ putchar('\177');
}
p = pe = buf;
continue;