Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet thread from rec.arts.ascii, started 1 Dec 1995.
 _   _                     _        _             _     _           
| | | |___  ___ _ __   ___| |_     / \   _ __ ___| |__ (_)_   _____ 
| | | / __|/ _ \ '_ \ / _ \ __|   / _ \ | '__/ __| '_ \| \ \ / / _ \
| |_| \__ \  __/ | | |  __/ |_   / ___ \| | | (__| | | | |\ V /  __/
 \___/|___/\___|_| |_|\___|\__| /_/   \_\_|  \___|_| |_|_| \_/ \___|
Request: ANSI-Code Table

Request: ANSI-Code Table

rec.arts.ascii · 2 messages · 1 Dec 1995 - 3 Dec 1995
Hi everyone,

I am currently looking for a list of ANSI commands code.
Does anyone know where I can get a list of ANSI code?

Thanks in advance for any information,

Regards,
Vi

(vnh...@socs.uts.EDU.AU)

Joey <Joe...@ptd.net> ASCII art 3 Dec 1995 00:00 · permalink
vnh...@socs.uts.EDU.AU (Vi Nham) wrote:
| Hi everyone,
| 
| I am currently looking for a list of ANSI commands code.
| Does anyone know where I can get a list of ANSI code?
| 
| Thanks in advance for any information,

They should be listed in your DOS Manual but here you go!  :)

            Note: ESC = ASCII #27, the left pointing arrow character

.--------------------- ANSI.SYS Quick Reference Guide
---------------------.
|    Display Attributes        Set Display Modes        Cursor Control       |
|----------------------------------------------------------------------------|
| ESC[1;2;3;4;5;6;7;8m     |  ESC[=<mode>H        |  ESC[<rows>A  Up        J|
|                          |                      |  ESC[<rows>B  Down      H|
|   0    White on Black    |  0 25x40 BW          |  ESC[<rows>C  Right     W|
|   1    High intensity    |  1 25x40 Color       |  ESC[<rows>D  Left       |
|   2    Underscore (mda)  |  2 25x80 BW          |  ESC[<r;c>H   Move      1|
|   5    Blink on          |  3 25x80 Color       |  ESC[s        Save      9|
|   7    Reverse Video     |  4 200x320 Clr Gfx   |  ESC[u        Restore   9|
|   8    Screen off        |  5 200x320 BW  Gfx   |  ESC[2J       CLS       1|
|--------------------------|  6 200x640 B&W Gfx   |  ESC[K        Clear line |
| Foreground    Background |----------------------|--------------------------|
|--------------------------| ESC[=7l Line Wrap OFF| Keyboard Re-assignment   |
| 30  Black    40  Black   | ESC[=7h Line Wrap ON |--------------------------|
| 31  Red      41  Red     |----------------------| ESC[<code>;<result>p     |
| 32  Green    42  Green   | If you ever have the |                          |
| 33  Brown    43  Brown   | problem where ANSI   | Code/result may be ASC   |
| 34  Blue     44  Blue    | is displayed at row  | or scankey value. Result |
| 35  Magenta  45  Magenta | 1 column 80 until it | may be characters within |
| 36  Cyan     46  Cyan    | is done, use WordWrap| quotes for words to echo |
| 37  White    47  White   | ON command above.    | when key is pressed.     |
------------------------------------------------------------------------------

	Joey

[ A Day Without Ansi Is Like Mono. ]

About this thread. These messages were posted publicly to the newsgroup rec.arts.ascii in 1995 and are mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you one of the authors? Contact us to get your posts attributed, connected to your artist profile, or removed.