tty: switch default binding to ^H for deletion
authorAlan Cox <alan@linux.intel.com>
Sun, 10 May 2015 12:31:15 +0000 (13:31 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 10 May 2015 12:31:15 +0000 (13:31 +0100)
This fits in with the way we map keyboards and a lot of terminals

Kernel/start.c

index c57e130..7bdeaa2 100644 (file)
@@ -21,7 +21,7 @@ static const struct termios ttydflt = {
        OPOST | ONLCR,
        CS8 | TTY_INIT_BAUD | CREAD | HUPCL,
        ISIG | ICANON | ECHO | ECHOE | ECHOK | IEXTEN,
-       {CTRL('D'), 0, 127, CTRL('C'),
+       {CTRL('D'), 0, CTRL('H'), CTRL('C'),
         CTRL('U'), CTRL('\\'), CTRL('Q'), CTRL('S'),
         CTRL('Z'), CTRL('Y'), CTRL('V'), CTRL('O')
         }