VT100/VT102/ANSI SETTINGS ------------------------- These are the most common VT10x escape codes (ANSI adds the color) ESC [ # ; # ; #... m You can have any number of numbers, each separated by a semicolon, and a lower-case 'm' at the end The numbers: 1=bold 4=underline 7=reverse, 30-37=foreground colors, 40-47=background, 0=reset. So: esc [ 0;37;40;1m would set bold white on black ESC [ A ESC [ B ESC [ C and ESC [ D are the cursor movements. each can take a number between the [ and the letter (the number of spaces to move) (A=up, B=down, C=right, D=left -- must be caps) You can physically set the cursor position with the ESC [ #;#H command.. give it a line number and a column number (1-24 and 1-80, not 0-23, 0-79) These are all well-documented in any MS-DOS manual.. just find one wherever you see a PC, look up ANSI.SYS in the index, and photocopy the pages dealing with it. The best way to test ANSI is to put your terminal into LOCAL ECHO mode, and simply type in the ANSI commands.. like ESC [ A ESC [ 10 A ESC [ 0;1m