summaryrefslogtreecommitdiff
path: root/distrib/alpha
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2002-04-28 14:44:02 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2002-04-28 14:44:02 +0000
commitf011e18a2c4c8d782605da6be8567531730cca40 (patch)
tree4503d6d69f6d44f4daf7d48703f0813f3d9912b0 /distrib/alpha
parent2f15e29fadc2bc35285820205ae7ff94f2d19be8 (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/alpha')
-rw-r--r--distrib/alpha/common/install.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/alpha/common/install.md b/distrib/alpha/common/install.md
index 674195921e0..4b414c90851 100644
--- a/distrib/alpha/common/install.md
+++ b/distrib/alpha/common/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.4 2002/03/31 17:30:30 deraadt Exp $
+# $OpenBSD: install.md,v 1.5 2002/04/28 14:44:01 krw Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -44,8 +44,7 @@ ARCH=ARCH
md_set_term() {
test -n "$TERM" && return
- echo -n "Specify terminal type [sun]: "
- getresp sun
+ ask "Specify terminal type:" sun
TERM=$resp
export TERM
}