summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-11-22 19:29:16 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-11-22 19:29:16 +0000
commit4e3cb98ede238b6eb4b3a76bced8865c823c1bca (patch)
tree2117e69cd06fd8c2f8e71e379e0c7b0c7de4cd11
parenteb2d99dd3fc0da9ab5392da373dac8afd85e9db7 (diff)
'?' may not be easily found until the keyboard is mapped. Make 'L' the
command to list the major keymaps. Also accept 'l' and '?' without explictly mentioning them in the user prompt. A varient of a suggestion by And??s (sic) Delfino, seconded by jmc@. ok millert@ deraadt@
-rw-r--r--distrib/miniroot/install.sub6
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 4ac110e84b0..66c3c13d77d 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,4 +1,4 @@
-# $OpenBSD: install.sub,v 1.398 2005/10/28 13:30:50 jmc Exp $
+# $OpenBSD: install.sub,v 1.399 2005/11/22 19:29:15 krw Exp $
# $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $
#
# Copyright (c) 1997-2005 Todd Miller, Theo de Raadt, Ken Westerback
@@ -90,10 +90,10 @@ set_term() {
[[ -x /sbin/kbd ]] || return
_tables=$(bsort $(kbd -l | egrep -v "^(user|tables|encoding)"))
while :; do
- ask "kbd(8) mapping? ('?' for list)" "none"
+ ask "kbd(8) mapping? ('L' for list)" "none"
case $resp in
+ [Ll?]) echo "Major tables: $_tables" ;;
none) return ;;
- "?") echo "Major tables: $_tables" ;;
*) kbd $resp && { echo $resp >/tmp/kbdtype ; return ; } ;;
esac
done