home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Multimedia & CD-ROM 7
/
mmcd07-nov1995-cd.iso
/
boutique
/
mmedia
/
bye.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-04-21
|
466b
|
24 lines
# the following script should be named BYE.CMD it attempts to exit
# the system gracefully, by stopping Tia first.
# note that the 5 ctrl-c's must be sent SLOWLY for tia to understand them!
# do NOT remove the delays..
output \3
sleep 1
output \3
sleep 1
output \3
sleep 1
output \3
sleep 1
output \3
sleep 1
input 30 "$"
outputecho 30 "exit"\r
input 30 "Main:"
outputecho 30 "bye"\r
sleep 5
# now hangup anyway
set DTR off
sleep 1
set DTR on