2000-09-24. Incoming bitstream from [EMAIL PROTECTED]:

>For the nth time, thanks Paul.
>
>Clear and to the point as usual.
>
>What does the clear command do?  If, as I suspect, it is the equivalent of
>clear screen, is there such a thing as a "pause" command that would wait for
>a keypress before proceeding to clear?

Hi JEff,

You're right there. Clear simply clears the screen.
Instead of 'pause' Linux provides read. Perhaps there is something better,
but I don't know about that yet.

Put it in .bash_profile like this and you're fine:

clear
fortune
echo
echo Press enter to continue...
read
clear

Read allows input to variables in scripts, but it will do for you here.

Paul

--
How do I set a laser printer to stun?

http://nlpagan.net - ICQ 147208 - Registered Linux User 174403
              -=PINE 4.21 on Linux Mandrake 7.1=-


Reply via email to