diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-04-28 14:44:02 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-04-28 14:44:02 +0000 |
commit | f011e18a2c4c8d782605da6be8567531730cca40 (patch) | |
tree | 4503d6d69f6d44f4daf7d48703f0813f3d9912b0 /distrib/mac68k/ramdisk | |
parent | 2f15e29fadc2bc35285820205ae7ff94f2d19be8 (diff) |
Change getresp() into ask().
ask() takes 2 parameters. The first one is the question to
ask the user, and the 2nd is the default answer.
Shrinks and makes the code clearer.
From espie@ with some tweaking, ok deraadt@.
Diffstat (limited to 'distrib/mac68k/ramdisk')
-rw-r--r-- | distrib/mac68k/ramdisk/install.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/mac68k/ramdisk/install.md b/distrib/mac68k/ramdisk/install.md index 2e109fbfe1b..4099882e70c 100644 --- a/distrib/mac68k/ramdisk/install.md +++ b/distrib/mac68k/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.8 2002/04/24 22:33:41 miod Exp $ +# $OpenBSD: install.md,v 1.9 2002/04/28 14:44:01 krw Exp $ # # Copyright (c) 2002, Miodrag Vallat. # All rights reserved. @@ -70,8 +70,7 @@ md_set_term() { if [ ! -z "$TERM" ]; then return fi - echo -n "Specify terminal type [vt100]: " - getresp "vt100" + ask "Specify terminal type:" vt100 TERM="$resp" export TERM } |