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 >
Text File  |  1989-08-06  |  2KB  |  83 lines

  1.                         Scripit Console Commands
  2.                         ========================
  3.  
  4.  
  5.             These Commands work with a CLI console only:
  6.             --------------------------------------------
  7.  
  8. CON CLS     Clears all the text in the console.
  9.  
  10. CON ECHO    [string_1] [string_2] [string_3] ... [string_n] 
  11.  
  12.             Prints out the specified strings onto the console.  Each string is
  13.             printed on its own line.
  14.  
  15. CON MOVE    x,y
  16.  
  17.             Moves the cursor to position x,y.  If no x,y were given, the
  18.             cursor will be moved to the top left of the screen.
  19.  
  20. CON UP      [n]
  21. CON DOWN    [n]
  22. CON LEFT    [n]
  23. CON RIGHT   [n]
  24.  
  25.             Move the cursor up/down/left/right n times.  (default is 1)
  26.  
  27. CON SCROLLUP   [n]
  28. CON SCROLLDOWN [n]
  29.  
  30.             Scroll the console lines up/down n lines.  (default is 1)
  31.  
  32. CON INSLINE
  33. CON DELLINE
  34.  
  35.             Insert/Delete a line at the current cursor position.
  36.  
  37. CON INSCHAR [n]
  38. CON DELCHAR [n]
  39.  
  40.             Insert/delete [n] chars at the current cursor position.
  41.  
  42. CON CURSORON
  43. CON CURSOROFF
  44.  
  45.             Turn cursor display on/off.
  46.  
  47. CON CLREOL  Erase to end of line.
  48. CON CLREOD  Erase to end of display.
  49.  
  50. CON STYLE   <style>;<frontpen>;<backpen>
  51.  
  52.             This sets the style (bold, underline, italic, inverse) of the text
  53.             printed on the console as well as its front and back colors.
  54.             These match the same parameters used by ANSI for the 'Select
  55.             Graphic Rendition' command.  (more explanation needed...)
  56.  
  57. CON OPEN    consolespec
  58.  
  59.             This opens a new console that all the CON commands will use for
  60.             output.  The format for the consolespec is the same as that for
  61.             opening a NewCLI console.  i.e.  "CON:10/15/450/195/Setup".
  62.             (more explanation needed..)
  63.  
  64. CON CLOSE   Closes the console opened by CON OPEN.
  65.             (console is automatically closed when Scripit quits.)
  66.  
  67. CON CSI     <ANSI command>
  68.  
  69.             This sends an ANSI command to the console.  Scripit will insert
  70.             the CSI (Control Sequence Introducer) before the string and will
  71.             send the command untouched to the console.
  72.  
  73.  
  74.  
  75.  
  76. Note:       In all CON commands, CON can be replaced with a 'C'.
  77. -----       e.g.  'C CLS' is the same as 'CON CLS'.
  78.  
  79.  
  80.  
  81.  
  82.                       Copyright 1989  Khalid Aldoseri.
  83.