home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Supreme Volume 6 #1
/
swsii.zip
/
swsii
/
107
/
MINICOM.ZIP
/
SCRIPTDE
< prev
next >
Wrap
Text File
|
1992-05-18
|
496b
|
24 lines
# A little demonstration of the possibilities of "runscript".
# This script can be executed by typing: "runscript scriptdemo".
goto main
left:
print "\010 \010\010*\c"
return
right:
print "\010 *\c"
return
main:
! stty -echo cbreak
verbose off
print Demo! press 'q' to move left, 'w' to move right, 'ESC' to stop.
print " *\c"
expect {
"q" gosub left
"w" gosub right
"\033" break
}
print \nEnd of demonstration.
! stty echo -cbreak
sleep 1