Hello!

> The attached patch fixes backspace in rxvt

Maybe I'm too pedantic, but stage2 should not grow even by one byte
beacuse of changes required only for /sbin/grub

I've added #ifdef/#endif

Fixed patch attached.

Pavel Roskin
Index: stage2/char_io.c
===================================================================
RCS file: /gd/gnu/anoncvsroot/grub/stage2/char_io.c,v
retrieving revision 1.2
diff -u -r1.2 char_io.c
--- char_io.c   1999/07/12 00:47:11     1.2
+++ char_io.c   1999/07/13 15:04:37
@@ -326,6 +326,9 @@
          lpos ++;
          /* fallthrough is on purpose! */
        case 8:         /* C-h backspace */
+#ifdef GRUB_UTIL
+       case 127:       /* also backspace */
+#endif
          if (lpos > 0)
            {
              int i;

Reply via email to