summaryrefslogtreecommitdiff
path: root/usr.bin/mg/ttydef.h
blob: 3700ea0f1742686519319c2f97fbcbc55064054e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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