home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff330.lzh
/
Vt100
/
RexxSamples
/
TestDisplay.vt100
< prev
next >
Wrap
Text File
|
1990-03-02
|
861b
|
30 lines
/* This routine shows the capabilities of the DISPLAY VT100 script command.
** It will write data to the screen both one character at a time as well as
** a string at a time and makes use of the defined VT100 escape sequences to
** cause the cursor to move non-destructively.
**
** ACS 08/28/89
**/
trace Off
cr = "^M"
lf = "^J"
"display" cr /* Cursor back to first column */
"display" lf /* Cursor down one line */
"display ""Here is some data" || cr || lf || '"'
"display ""Gonna delete this line."""
address COMMAND 'WAIT 3 SEC'
'display "^[[M"' /* Issue escape sequence to delete 1 line */
"display" cr /* Cursor back to first column */
"display" lf /* Cursor down one line */
/* Write "Move" on one line, move the cursor up one line without changing
** the column and write "up one line". */
'display "Move^[[Aup one line"'
exit 0