mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-09 20:40:13 -04:00
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
$NetBSD: patch-ac,v 1.3 2002/02/11 18:30:22 fredb Exp $
|
|
|
|
--- vt.h.orig Mon Feb 11 11:13:44 2002
|
|
+++ vt.h
|
|
@@ -5,7 +5,7 @@
|
|
*/
|
|
|
|
#define VT_MAXVT 9
|
|
-#define VT_MAXCOLS 132
|
|
+#define VT_MAXCOLS 224
|
|
#define VT_MAXROWS 100
|
|
#define VT_POOLSIZE (VT_MAXVT * (VT_MAXROWS + 1))
|
|
|
|
@@ -20,6 +20,7 @@
|
|
#define T_REVERSE 0x04
|
|
#define T_SELECTED 0x08
|
|
#define T_INSERT 0x10
|
|
+#define T_LINEDRAW 0x20
|
|
|
|
/* Cursor types */
|
|
#define C_BLOCK 0x01
|
|
@@ -49,6 +50,10 @@
|
|
#define SETBG(x,c) ((x) = ((x) & 0x0F) | ((c) << 4))
|
|
#define SETCOLOR(x,f,b) ((x) = (f) | ((b) << 4))
|
|
|
|
+/* Character sets */
|
|
+#define S_ASCII 0x00 /* ASCII Graphics (normal) */
|
|
+#define S_LINEDRAW 0x01 /* DEC Special Graphics */
|
|
+
|
|
struct vt_s {
|
|
/* Scrollback information */
|
|
int line[VT_POOLSIZE]; /* Lines in the scrollback pool */
|
|
@@ -87,6 +92,12 @@
|
|
int pars[VT_MAXPARS]; /* VT100 parameters */
|
|
int ques; /* If ? in VT100 string */
|
|
u_int tab_stop[5]; /* Bit field for tab stops */
|
|
+
|
|
+ /* Graphics set information */
|
|
+ int gset0; /* Character set loaded into GS0 */
|
|
+ int gset0changed; /* GS0 loaded, but not active */
|
|
+ int gset0mapped; /* GS0 loaded and active */
|
|
+ int gset1; /* Character set loaded into GS1 */
|
|
};
|
|
|
|
extern struct vt_s vt[VT_MAXVT];
|