2 * The routines in this file provide support for ANSI style terminals
3 * over a serial line. The serial I/O services are provided by routines in
4 * "termio.c". It compiles into nothing if not an ANSI device.
12 #define NROW 23 /* Screen size. */
13 #define NCOL 77 /* Edit if you want to. */
14 #define BEL 0x07 /* BEL character. */
15 #define ESC 0x1B /* ESC character. */
17 extern int ttopen(); /* Forward references. */
22 extern int ansimove();
23 extern int ansieeol();
24 extern int ansieeop();
25 extern int ansibeep();
26 extern int ansiopen();
27 extern int ansiparm();
30 * Standard terminal interface dispatch table. Most of the fields point into
47 int ansimove(row
, col
)
103 if ((cp
= getenv("TERM")) == NULL
) {
104 puts("Shell variable TERM not defined!");
107 if (strcmp(cp
, "vt100") != 0) {
108 puts("Terminal type not 'vt100'!");