diff options
author | jkh <jkh@FreeBSD.org> | 1997-01-15 02:52:00 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-01-15 02:52:00 +0000 |
commit | b80b05437847835ec499856bedb2917a600da12d (patch) | |
tree | 494bcdc5225a70ea8f17c33f5527b010eeb7d64a /usr.sbin/sysinstall/disks.c | |
parent | aaad85f64d352118f3190bab31f3701ca1673bfd (diff) | |
download | FreeBSD-src-b80b05437847835ec499856bedb2917a600da12d.zip FreeBSD-src-b80b05437847835ec499856bedb2917a600da12d.tar.gz |
Accept emacs-style editing keys for traversal and ESC as an abort character.
Diffstat (limited to 'usr.sbin/sysinstall/disks.c')
-rw-r--r-- | usr.sbin/sysinstall/disks.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/disks.c b/usr.sbin/sysinstall/disks.c index 407c8ca..c82896e 100644 --- a/usr.sbin/sysinstall/disks.c +++ b/usr.sbin/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 |