home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / BASIC / PANSI2 / AVT.DOC < prev    next >
Text File  |  1992-08-27  |  3KB  |  100 lines

  1. Quick Reference AVT 0 and AVT 0+ results.
  2. This list has been completed and checked by the FidoNet documents FSC-0025
  3. and FSC-0037. Letters prefixed with a caret (^) are Ctrl-keypress combinations.
  4. Descriptions with "0+" in it represents the extended AVT/0+ codes.
  5.  
  6. Clear screen (and set the color to 03, equivalent of ^V ^A ^C)
  7.   Code: ^L
  8.  
  9. Set cursor color
  10.   Code: ^V ^A BF
  11.   BF - color attribute. High nybble is background. 7th bit is blinking.
  12.        Low is foreground.
  13.          
  14. Set blink
  15.   Code: ^V ^B
  16.  
  17. Move cursor up
  18.   Code: ^V ^C
  19.  
  20. Move cursor down
  21.   Code: ^V ^D
  22.  
  23. Move cursor left
  24.   Code: ^V ^E
  25.  
  26. Move cursor right
  27.   Code: ^V ^F
  28.  
  29. Clear to end of line
  30.   Code: ^V ^G
  31.  
  32. Locate cursor
  33.   Code: ^V ^H YY XX
  34.   YY - Row (1 is top row of screen)
  35.   XX - Column (1 is left border of screen)
  36.     
  37. Repeat char
  38.   Code: ^Y CH NN
  39.   CH - the character
  40.   NN - number of times to repeat character.
  41.  
  42. 0+ Turn insert mode on
  43.   Code: ^V ^I
  44.  
  45. 0+ Turn insert mode off
  46.   Any other Avatar code, except repeat char or repeat string.
  47.  
  48. 0+ Delete a character, scroll line to left
  49.   Code: ^V ^N
  50.  
  51. 0+ Repeat string
  52.   Code: ^V ^Y LL <string> NN
  53.   LL - length of string
  54.   NN - number of times to repeat string
  55.   BUG: TeleMate 3.01 cannot support AVT codes in string, supposed to.
  56.  
  57. 0+ Scroll an area upwards on the screen
  58.   Code: ^V ^J LL Y1 X1 Y2 X2
  59.   LL - number of lines to scroll
  60.   Y1 - the top row of area to scroll (1 = top of screen)
  61.   X1 - the left border (1 = leftmost column of screen)
  62.   Y2 - the bottom row
  63.   X2 - the right border
  64.   NOTE: Does not affect cursor position. Open space at bottom of the area
  65.         is cleared to current attribute. Can be used to clear a space
  66.         on the screen if you specify a large LL value.
  67.         The box is clipped if part of it is off the screen.
  68.  
  69. 0+ Scroll an area downwards on the screen
  70.   Code: ^V ^K LL Y1 X1 Y2 X2
  71.   LL - number of lines to scroll
  72.   Y1 - the top row of area to scroll (1 = top of screen)
  73.   X1 - the left border (1 = leftmost column of screen)
  74.   Y2 - the bottom row
  75.   X2 - the right border
  76.   NOTE: Does not affect cursor position. Open space at top of the area
  77.         is cleared to current attribute. Can be used to clear a space
  78.         on the screen if you specify a large LL value.
  79.         The box is clipped if part of it is off the screen.
  80.  
  81. 0+ Clear a box on the screen
  82.   Code: ^V ^L BF YY XX
  83.   BF - color attribute. High nybble is background/blinking.
  84.        Low is foreground. Cursor color is changed to this as well.
  85.   YY - Number of characters wide
  86.   XX - Number of characters tall
  87.   NOTE: Cursor position determines upper-left corner.
  88.         The box is clipped if part of it is off the screen.
  89.  
  90. 0+ Clear a box to a character/attribute
  91.   Code: ^V ^M BF CH YY XX
  92.   BF - color attribute. High nybble is background/blinking.
  93.        Low is foreground. Cursor color is changed to this as well.
  94.   CH - the character.
  95.   YY - Number of characters wide
  96.   XX - Number of characters tall
  97.   NOTE: Cursor position determines upper-left corner.
  98.         The box is clipped if part of it is off the screen.
  99.  
  100.