diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-02-25 19:08:53 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-02-25 19:08:53 +0000 |
commit | 998d769a0cf8bef7d4ca0d26945c151a23b542ec (patch) | |
tree | fe53a083eaa06a2bf7631453e18a161a86ad9d62 /usr.bin/mg/ttydef.h | |
parent | b0226ecd4460819556afd27fd575d64421fd0f68 (diff) |
initial import of mg2a
Diffstat (limited to 'usr.bin/mg/ttydef.h')
-rw-r--r-- | usr.bin/mg/ttydef.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/usr.bin/mg/ttydef.h b/usr.bin/mg/ttydef.h new file mode 100644 index 00000000000..3700ea0f174 --- /dev/null +++ b/usr.bin/mg/ttydef.h @@ -0,0 +1,25 @@ +/* + * Termcap terminal file, nothing special, just make it big + * enough for windowing systems. + */ + +#define GOSLING /* Compile in fancy display. */ +/* #define MEMMAP */ /* Not memory mapped video. */ + +#define NROW 66 /* (maximum) Rows. */ +#define NCOL 132 /* (maximum) Columns. */ +/* #define MOVE_STANDOUT /* don't move in standout mode */ +#define STANDOUT_GLITCH /* possible standout glitch */ +#define TERMCAP /* for possible use in ttyio.c */ + +#define getkbd() (ttgetc()) + +#ifndef XKEYS +#define ttykeymapinit() {} +#endif + +extern int tputs(); +#define putpad(str, num) tputs(str, num, ttputc) + +#define KFIRST K00 +#define KLAST K00 |