From owner-freebsd-questions Sat Jun 5 15:42: 9 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hal.nidlink.com (tnt132-156.nidlink.com [216.18.132.156]) by hub.freebsd.org (Postfix) with ESMTP id 58C8A14D03 for ; Sat, 5 Jun 1999 15:42:03 -0700 (PDT) (envelope-from malpert@holdenz.com) Received: from hal.nidlink.com (localhost.nidlink.com [127.0.0.1]) by hal.nidlink.com (8.9.3/8.9.2) with ESMTP id PAA00830; Sat, 5 Jun 1999 15:46:05 -0700 (PDT) (envelope-from malpert@holdenz.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <000001beaf9e$b1d87880$124b93cd@william> Date: Sat, 05 Jun 1999 15:46:04 -0700 (PDT) Reply-To: malpert@holdenz.com From: Shawn Workman To: William Woods Subject: RE: script questions...... Cc: FreeBSD Questions Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This isn't exactly what you wanted but it is a step in the right direction #!/bin/sh /bin/sh -c "read -p \"Press CTRL+C to abort or ENTER to continue!\" _e" Hope this is helpful. On 05-Jun-99 William Woods wrote: > I have need for a script that will do something like this.... > > command > echo ........... > command > echo ........... > echo................. > command > echo Please insert data disk and hit any key to continue...... > > That uis where I am stumped, how do I do that last line, have the system > check for keypress and continue? > > William > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message