Collaboration diagram for Terminal Emulator.:
![]() |
The virtual terminal driver allows to use a LC or VF display for standard I/O. It supports VT52 control codes.
Data Structures | |
struct | _WINSIZE |
struct | _TERMDCB |
Terminal device control block structure. More... | |
struct | _TERMDCB |
Terminal device control block structure. More... | |
Defines | |
#define | LCD_CMDBYTE |
#define | LCD_CMDWORD16 |
#define | LCD_CMDWORD32 |
#define | LCD_DATABYTE |
#define | LCD_DATAWORD16 |
#define | LCD_DATAWORD32 |
#define | LCD_SETCOOKEDMODE |
Set raw mode. | |
#define | LCD_GETCOOKEDMODE |
Query raw mode. | |
#define | TIOCGWINSZ |
#define | TIOCSWINSZ |
#define | LCD_MF_CURSORON |
Cursor on flag. | |
#define | LCD_MF_COOKEDMODE |
Control character interpretation on flag. | |
#define | ESC_CHAR |
#define | ESC_POS |
#define | ESC_UP |
#define | ESC_DOWN |
#define | ESC_RIGHT |
#define | ESC_LEFT |
#define | ESC_CLRHOME |
#define | ESC_CLR |
#define | ESC_CLREND |
#define | ESC_CLREOL |
#define | ESC_CLRSTART |
#define | ESC_CLRSOL |
#define | ESC_INSCHAR |
#define | ESC_INSLINE |
#define | ESC_DELCHAR |
#define | ESC_DELLINE |
#define | ESC_RLF |
#define | ESC_CURSORON |
#define | ESC_CURSOROFF |
#define | ESC_SPECIALSET |
#define | ESC_DEFAULTSET |
#define | ESC_ACTIVE |
#define | ESC_SLEEP |
Typedefs | |
typedef _WINSIZE | WINSIZE |
typedef _TERMDCB | TERMDCB |
Functions | |
void | TermRefresh (TERMDCB *dcb) |
int | TermIOCtl (NUTDEVICE *dev, int req, void *conf) |
Perform special LCD control functions. | |
int | TermInit (NUTDEVICE *dev) |
Initialize the terminal device. | |
int | TermWrite (NUTFILE *fp, CONST void *buffer, int len) |
Write data to a terminal device. | |
NUTFILE * | TermOpen (NUTDEVICE *dev, CONST char *name, int mode, int acc) |
Write data from program space to a terminal device.Open a terminal device. | |
int | TermClose (NUTFILE *fp) |
Close a device or file. |
|
Gets the window size |
|
Sets the window size |
|
Terminal device control block type. |
|
Close a device or file. Application should not call this function directly, but use the stdio interface.
|
|
Initialize the terminal device. Prepares the device for subsequent writing. Application should not call this function directly, but use the stdio interface.
|
|
Perform special LCD control functions.
|
|
Write data from program space to a terminal device.Open a terminal device. Application should not call this function directly, but use the stdio interface.
|
|
Write data to a terminal device. Application should not call this function directly, but use the stdio interface. The data may contain special character sequences, which are interpreted by the terminal device to control specific display functions:
In addition a superset of VT52 control sequences are interpreted. Each sequence starts with an ESC character (ASCII 27):
(*) Not a VT52 command.
|