summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/disks.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-01-15 02:52:00 +0000
committerjkh <jkh@FreeBSD.org>1997-01-15 02:52:00 +0000
commitb80b05437847835ec499856bedb2917a600da12d (patch)
tree494bcdc5225a70ea8f17c33f5527b010eeb7d64a /release/sysinstall/disks.c
parentaaad85f64d352118f3190bab31f3701ca1673bfd (diff)
downloadFreeBSD-src-b80b05437847835ec499856bedb2917a600da12d.zip
FreeBSD-src-b80b05437847835ec499856bedb2917a600da12d.tar.gz
Accept emacs-style editing keys for traversal and ESC as an abort character.
Diffstat (limited to 'release/sysinstall/disks.c')
-rw-r--r--release/sysinstall/disks.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c
index 407c8ca..c82896e 100644
--- a/release/sysinstall/disks.c
+++ b/release/sysinstall/disks.c
@@ -209,12 +209,14 @@ diskPartition(Device *dev, Disk *d)
msg = NULL;
break;
+ case '\020': /* ^P */
case KEY_UP:
case '-':
if (current_chunk != 0)
--current_chunk;
break;
+ case '\016': /* ^N */
case KEY_DOWN:
case '+':
case '\r':
@@ -413,6 +415,7 @@ diskPartition(Device *dev, Disk *d)
clear();
break;
+ case '\033': /* ESC */
case 'Q':
chunking = FALSE;
/* Don't trash the MBR if the first (and therefore only) chunk is marked for a truly dedicated
OpenPOWER on IntegriCloud