home *** CD-ROM | disk | FTP | other *** search
- The following is a list of ANSI codes which can be used with SENDC.
-
- See the accompanying file COLORS.BAT for an example.
-
- SENDC appears to be public domain: no doubt someone will advise me
- fairly quickly if this is not the case.
-
- Any queries can be addressed to me: RUDY LACCHIN @2:250/408.
-
- $e[#A cursor up
- $e[#B cursor down
- $e[#C cursor forward
- $e[#D cursor backward
- $e[#;#H cursor position
- $e[#;#f horizontal/vertical position
- $e[6n device status report
- $e[#;#R cursor position report
- $e[s save cursor position
- $e[u restore cursor position
- $e[2J erase display
- $e[K erase line
-
- $e[#;...;#m set graphics rendition
- 0 - all attributes off
- 1 - high intensity on
- 4 - underscore on (monochrome only)
- 5 - flashing on
- 7 - inverse video on
- 8 - invisible (black on black)
- 30 - foreground black 40 - background black
- 31 - foreground red 41 - background red
- 32 - foreground green 42 - background green
- 33 - foreground yellow 43 - background yellow
- 34 - foreground blue 44 - background blue
- 35 - foreground magenta 45 - background magenta
- 36 - foreground cyan 46 - background cyan
- 37 - foreground white 47 - background white
-
- $t Current time (HH:MM:SS:hhh) 14:38:02.11
- $d Current date Tue 2-25-1992
- $p Current directory of the default drive C:\SIDEKICK\DATA
- $v Version number of MS-DOS 5.0
- $n Default drive C
- $g Greater-than character (>) >
- $l Less-than character (<) <
- $q Equal sign (=) =
- $b Bar character (|) |
- $_ CR-LF sequence
- $h Backspace and delete the previous character
- $e ASCII code 1B (escape)
-
- $e[=#h or set screen mode
- $e[=h or 0 - 40 x 25 monochrome text
- $e[?#h 1 - 40 x 25 colour text
- 2 - 80 x 25 monochrome text
- 3 - 80 x 25 colour text
- 4 - 320 x 200 4-colour graphics
- 5 - 320 x 200 monochrome graphics
- 6 - 640 x 200 monochrome graphics
- 7 - enables wrap at end-of-line
- 13 - 320 x 200 colour graphis
- 14 - 640 x 200 16-colour graphics
- 15 - 640 x 350 monochrome graphics
- 16 - 640 x 350 16-colour graphics
- 17 - 640 x 480 monochrome graphics
- 18 - 640 x 480 16-colour graphics
- 19 - 320 x 200 256-colour graphics
-
- $e[=#l or reset screen mode
- $e[=l or 0 - 40 x 25 monochrome text
- $e[?#l 1 - 40 x 25 colour text
- 2 - 80 x 25 monochrome text
- 3 - 80 x 25 colour text
- 4 - 320 x 200 colour graphics
- 5 - 320 x 200 monochrome graphics
- 6 - 640 x 200 monochrome graphics
- 7 - disables wrap at end-of-line
- 13 - 320 x 200 colour graphis
- 14 - 640 x 200 16-colour graphics
- 15 - 640 x 350 monochrome graphics
- 16 - 640 x 350 16-colour graphics
- 17 - 640 x 480 monochrome graphics
- 18 - 640 x 480 16-colour graphics
- 19 - 320 x 200 256-colour graphics
-
- $e[#;#;...#p or reassign function key
- $e["string"p or
- $e[#;"string";#;
- #;"string";#p
-
-