Incode Systems Home Page Incode Systems, Inc.


ECHOX



(Windows 95 or higher command line utility)

Echox - Copyright (C) 2009-2012, Incode Systems, Inc.
Version 1.0.0 http://www.incodesystems.com mailto:sales1Usage: text to echo

Echox writes text to either the standard output device (default)
or the standard error device, and allows random positioning of the
on the screen without changing the cursor position, as well as
random positioning of the cursor. In addition, text color may
controlled.

Text position, color, output device, carriage return, line feed,
and cursor position are controlled through escape sequences in the
text:

- embed the escape char (ASCII 96)
- write literal text until next (or end of line)
- move cursor to x position nnn (leftmost position is 001)
example: (move to 4th screen column)
- move cursor to the current position minus nnn
example: (move 1 to the left of the current position)
- move cursor to the current position plus nnn
example: (move 1 to the right of the current position)
- move cursor to y position nnn (topmost position is 001)
example: (move to 4th screen line)
- move cursor to the current position minus nnn
example: (move 1 line above the current position)
- move cursor to the current position plus nnn
example: (move 1 line below the current position)
- change background color to number b, foreground to f
(see color number below)
example: (Red on Black)
- write ASCII character xxx (000 - 255) nn times
- change to standard error device
- embed newline (linefeed) character (ASCII 10)
- change to standard output device
- embed return (carriage return) character (ASCII 13)
- write text to x position nnn (leftmost position is 001)
example: (start writing in the 4th screen column)
- write text to the last given x position minus nnn
example: (start writing 1 to the left of last given x)
- write text to the last given x position plus nnn
example: (start writing 1 to the right of last given x)
- write text to y position nnn (topmost position is 001)
example: (start writing on the 4th screen line)
- write text to the last given y position minus nnn
example: (start writing 1 line above last given y)
- write text to the last given y position plus nnn
example: (start writing 1 line below last given y)
- clear to end of line
- clear screen
- delete current line and scroll remaining lines up
- clear screen
- change EscChar to The escape character defaults to ASCII 92 (To change, add EchoxEsc= to the environment (example: SET EchoxEsc=In addition to the command line, if the standard input has been redirected,
Echox will read the standard input.

Color numbers:
0 = Black 8 = Gray
1 = Blue 9 = Light Blue
2 = Green A = Light Green
3 = Aqua B = Light Aqua
4 = Red C = Light Red
5 = Purple D = Light Purple
6 = Yellow E = Light Yellow
7 = White F = Bright White

Tips:
- use the Title command in batch to change the command prompt title.
- use MODE CON: COLS=n LINES=n to change the window size.
- use COLOR nn in batch to change the default background and foreground color.
- ConUtil.exe may be used to change window size, color, position and more.
- Extended ASCII characters (128 to 255) on the command line may not
display as the same character. Use to display extended characters.
- Leading and trailing whitespace is removed. To include spaces, use:
(where nn is the number of spaces)
- If command line is ? or -? or /?, this Usage is displayed. To echo these,
use - Echox does NOT end lines in a carriage return linefeed sequence.
To do so, use or include on the end of the line.

Echox - Copyright (C) 2009-2012, Incode Systems, Inc.
Version 1.0.0 http://www.incodesystems.com mailto:sales1To view complete usage, type:
Echox /? | MORE