home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
274.lha
/
Scripit_v1.0
/
Docs
/
Console.DOC
< prev
next >
Wrap
Text File
|
1989-08-06
|
2KB
|
83 lines
Scripit Console Commands
========================
These Commands work with a CLI console only:
--------------------------------------------
CON CLS Clears all the text in the console.
CON ECHO [string_1] [string_2] [string_3] ... [string_n]
Prints out the specified strings onto the console. Each string is
printed on its own line.
CON MOVE x,y
Moves the cursor to position x,y. If no x,y were given, the
cursor will be moved to the top left of the screen.
CON UP [n]
CON DOWN [n]
CON LEFT [n]
CON RIGHT [n]
Move the cursor up/down/left/right n times. (default is 1)
CON SCROLLUP [n]
CON SCROLLDOWN [n]
Scroll the console lines up/down n lines. (default is 1)
CON INSLINE
CON DELLINE
Insert/Delete a line at the current cursor position.
CON INSCHAR [n]
CON DELCHAR [n]
Insert/delete [n] chars at the current cursor position.
CON CURSORON
CON CURSOROFF
Turn cursor display on/off.
CON CLREOL Erase to end of line.
CON CLREOD Erase to end of display.
CON STYLE <style>;<frontpen>;<backpen>
This sets the style (bold, underline, italic, inverse) of the text
printed on the console as well as its front and back colors.
These match the same parameters used by ANSI for the 'Select
Graphic Rendition' command. (more explanation needed...)
CON OPEN consolespec
This opens a new console that all the CON commands will use for
output. The format for the consolespec is the same as that for
opening a NewCLI console. i.e. "CON:10/15/450/195/Setup".
(more explanation needed..)
CON CLOSE Closes the console opened by CON OPEN.
(console is automatically closed when Scripit quits.)
CON CSI <ANSI command>
This sends an ANSI command to the console. Scripit will insert
the CSI (Control Sequence Introducer) before the string and will
send the command untouched to the console.
Note: In all CON commands, CON can be replaced with a 'C'.
----- e.g. 'C CLS' is the same as 'CON CLS'.
Copyright 1989 Khalid Aldoseri.