 |
|
| |
|
 |
 |
at Global Oneness Community.
Share your dreams and let others help you with the interpretation!
Dream Sharing Forum
|
 |
ANSI escape code - Examples |  | ANSI escape code - Examples: Encyclopedia II - ANSI escape code - Examples |  | CSI 0 ; 6 8 ; "DIR" ; 13 p - This re-assigns the key F10 to send to the keyboard buffer the string "DIR" and ENTER, which in the DOS command line would display the contents of the current directory. (MS-DOS ANSI.SYS only)
CSI 2 J - This clears the screen and locates the cursor to the y,x position 0,0 (upper left corner).
CSI 32 m - This makes text green. Normally the green would be dark, dull green, so you may wish to enable Bold with the code CSI 1 m which would make it bright green. This ca ...
See also:ANSI escape code, ANSI escape code - Examples |  | | ANSI escape code, ANSI escape code - Examples, Control character, AVATAR |  | |
|  |  | ANSI escape code: Encyclopedia II - ANSI escape code - Examples
ANSI escape code - Examples
CSI 0 ; 6 8 ; "DIR" ; 13 p - This re-assigns the key F10 to send to the keyboard buffer the string "DIR" and ENTER, which in the DOS command line would display the contents of the current directory. (MS-DOS ANSI.SYS only)
CSI 2 J - This clears the screen and locates the cursor to the y,x position 0,0 (upper left corner).
CSI 32 m - This makes text green. Normally the green would be dark, dull green, so you may wish to enable Bold with the code CSI 1 m which would make it bright green. This can also be accomplished with CSI 32 ; 1 m
CSI s - This saves the cursor position. Using the code CSI u will restore it to the position. Say the current cursor position is 7(y) and 10(x). The code CSI s will save those two numbers. Now you can move to a different cursor position, such as 20(y) and 3(x), using the code CSI 20 ; 3 H or CSI 20 ; 3 f. Now if you use the code CSI u the cursor position will return to 7(y) and 10(x). Some terminals require the DEC sequences ESC 7 / ESC 8 instead.
Other related archivesANSI, ANSI X3.64, ANSI.SYS, ASCII, AVATAR, C, C++, Control character, GWBASIC, Java, Linux, MS-DOS, Perl, Python, QBasic, Windows, device driver, escape character, hexadecimal, text terminals
 Adapted from the Wikipedia article "Examples", under the G.N U Free Docmentation License. Please also see http://en.wikipedia.org/wiki |
|
|
More material related to Ansi Escape Code can be found here:
|
|
« Back
|
Search the Global Oneness web site |
|
|
|
|
 |
Sneak-Peek of Global Oneness Community
Hi friend! The Global Oneness Community, the place for information and sharing about Oneness is not really launched yet (you will see there is still some clean up to do) ...but it is now open for a sneak-peek! And if you wish - please register and become one of the very first members to do so! Jonas
Forum Home,
Articles,
Photo Gallery,
Videos,
News,
Sitemap
...and much more!
|