VT100.H File Reference

The following listing defines the basic elements of the ANSI mode control sequences. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define BACKSLASH_ON   "\33[36h"
#define COLUMN80   "\33[?3l"
#define CURSOR_BLINKING   "\33[33l"
#define CURSOR_BLOCK   "\33[34l"
#define CURSOR_COLUMN(x)   "\33["#x"G"
#define CURSOR_DOWN(y)   "\33["#y"E"
#define CURSOR_LEFT(x)   "\33["#x"D"
#define CURSOR_OFF   "\33[?25l"
#define CURSOR_ON   "\33[?25h"
#define CURSOR_STEADY   "\33[33h"
#define CURSOR_UNDERLINE   "\33[34h"
#define CURSOR_UP(y)   "\33["#y"A"
#define DISPLAY_STATUS_LINE   "\33[31h"
#define ERASE_CURSOR_DISPLAY   "\33[0J"
#define ERASE_ENTIRE_DISPLAY   "\33[2J"
#define GOTOXY(x, y)   "\33["#y";"#x"H"
#define HARD_TERMINAL_RESET   "\33c"
#define RESTORE_DISPLAY_ATTRIB   "\338"
#define SAVE_DISPLAY_ATTRIB   "\337"
#define VT100_MODE_ON   "\33[61\"p"

Functions

void vt100_init (void)
 Initializes vt100 terminal.


Detailed Description

The following listing defines the basic elements of the ANSI mode control sequences.

Author:
BARRIEZ Fabrice
Version:
1.0
Date:
2005 / 07 / 10

Definition in file VT100.H.


Define Documentation

#define BACKSLASH_ON   "\33[36h"

Definition at line 26 of file VT100.H.

#define COLUMN80   "\33[?3l"

Definition at line 28 of file VT100.H.

Referenced by vt100_init().

#define CURSOR_BLINKING   "\33[33l"

Definition at line 47 of file VT100.H.

#define CURSOR_BLOCK   "\33[34l"

Definition at line 49 of file VT100.H.

#define CURSOR_COLUMN (  )     "\33["#x"G"

Definition at line 57 of file VT100.H.

#define CURSOR_DOWN (  )     "\33["#y"E"

Definition at line 54 of file VT100.H.

#define CURSOR_LEFT (  )     "\33["#x"D"

Definition at line 52 of file VT100.H.

#define CURSOR_OFF   "\33[?25l"

Definition at line 45 of file VT100.H.

Referenced by vt100_init().

#define CURSOR_ON   "\33[?25h"

Definition at line 44 of file VT100.H.

#define CURSOR_STEADY   "\33[33h"

Definition at line 46 of file VT100.H.

#define CURSOR_UNDERLINE   "\33[34h"

Definition at line 48 of file VT100.H.

#define CURSOR_UP (  )     "\33["#y"A"

Definition at line 55 of file VT100.H.

#define DISPLAY_STATUS_LINE   "\33[31h"

Definition at line 27 of file VT100.H.

#define ERASE_CURSOR_DISPLAY   "\33[0J"

Definition at line 33 of file VT100.H.

#define ERASE_ENTIRE_DISPLAY   "\33[2J"

Definition at line 32 of file VT100.H.

Referenced by vt100_init().

#define GOTOXY ( x,
 )     "\33["#y";"#x"H"

Definition at line 51 of file VT100.H.

#define HARD_TERMINAL_RESET   "\33c"

Definition at line 30 of file VT100.H.

#define RESTORE_DISPLAY_ATTRIB   "\338"

Definition at line 36 of file VT100.H.

#define SAVE_DISPLAY_ATTRIB   "\337"

Definition at line 35 of file VT100.H.

#define VT100_MODE_ON   "\33[61\"p"

Definition at line 29 of file VT100.H.

Referenced by vt100_init().


Function Documentation

void vt100_init ( void   ) 

Initializes vt100 terminal.

Note:
VT100 mode on.

80 column.

Cursor off.

Erase entire display.

Definition at line 44 of file VT100.C.

References COLUMN80, CURSOR_OFF, ERASE_ENTIRE_DISPLAY, serial_puts(), and VT100_MODE_ON.

Referenced by init().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Wed Jun 3 12:06:09 2009 for PowWow v1.0 by  doxygen 1.5.6