Incode Systems Home Page Incode Systems, Inc.

Saturday, April 11, 2009 2:00 pm CDT

ECHOx

Echox - Copyright (C) 2009, Incode Systems, Inc.
version 0.9.2 http://www.incodesystems.com mailto:sales1@incodesystems.com

Usage: 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)
`Xnnn  - move cursor to x position nnn (leftmost position is 001)
         example: `X004 (move to 4th screen column)
`X-nnn - move cursor to the current position minus nnn
         example: `X-001 (move 1 to the left of the current position)
`X+nnn - move cursor to the current position plus nnn
         example: `X+001 (move 1 to the right of the current position)
`Ynnn  - move cursor to y position nnn (topmost position is 001)
         example: `Y004 (move to 4th screen line)
`Y-nnn - move cursor to the current position minus nnn
         example: `Y-001 (move 1 line above the current position)
`Y+nnn - move cursor to the current position plus nnn
         example: `Y+001 (move 1 line below the current position)
`cbf   - change background color to number b, foreground to f
         (see color number below)
         example: `c04 (Red on Black)
`axxxnn - write ASCII character xxx (000 - 255) nn times
`e     - change to standard error device
`n     - embed newline (linefeed) character (ASCII 10)
`o     - change to standard output device
`r     - embed return (carriage return) character (ASCII 13)
`xnnn  - write text to x position nnn (leftmost position is 001)
         example: `x004 (start writing in the 4th screen column)
`x-nnn - write text to the last given x position minus nnn
         example: `x-001 (start writing 1 to the left of last given x)
`x+nnn - write text to the last given x position plus nnn
         example: `x+001 (start writing 1 to the right of last given x)
`ynnn  - write text to y position nnn (topmost position is 001)
         example: `y004 (start writing on the 4th screen line)
`y-nnn - write text to the last given y position minus nnn
         example: `y-001 (start writing 1 line above last given y)
`y+nnn - write text to the last given y position plus nnn
         example: `y+001 (start writing 1 line below last given y)

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 to change the command prompt title.
- use MODE CON: COLS=n LINES=n to change the window size.
- use COLOR nn to change the default background and foreground color.
- Extended ASCII characters (128 to 255) on the command line may not
  display as the same character. Use `axxxnn to display extended characters.
- Leading whitespace is removed. To include leading spaces, use:
  `a023nn (where nn is the number of spaces)
- If command line is ? or -? or /?, this Usage is displayed. To echo these,
  use `a06301, `a04501`a06301, or `a04701`a06301
- Echox does NOT end lines in a carriage return linefeed sequence.
  If you want to do so, include the escapes `r`n on the end of the line.

Echox - Copyright (C) 2009, Incode Systems, Inc.
version 0.9.2 http://www.incodesystems.com mailto:sales1@incodesystems.com

To view complete usage, type:
Echox /? | MORE

[Home]