Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Jun 1999 15:46:04 -0700 (PDT)
From:      Shawn Workman <malpert@holdenz.com>
To:        William Woods <wwoods@cybcon.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   RE: script questions......
Message-ID:  <XFMail.990605154604.malpert@holdenz.com>
In-Reply-To: <000001beaf9e$b1d87880$124b93cd@william>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?XFMail.990605154604.malpert>