diff options
author | joerg <joerg@FreeBSD.org> | 1997-03-07 08:56:00 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1997-03-07 08:56:00 +0000 |
commit | dafbb728f2f9df8e94dc6bdab0dd581257ee62dc (patch) | |
tree | 69355c853f7e70350db9e39e90c0737cbeae3056 /sys/i386/isa/pcvt/pcvt_hdr.h | |
parent | c8c614fad580e894985072410cb8cc3ffbd67c5c (diff) | |
download | FreeBSD-src-dafbb728f2f9df8e94dc6bdab0dd581257ee62dc.zip FreeBSD-src-dafbb728f2f9df8e94dc6bdab0dd581257ee62dc.tar.gz |
Fix a bogon in pcvt that caused a characterset designation to not take
effect immediately, but required a following (normally redundant) G0
into GL mapping. This adds one layer of indirection (thus might make it
slower), but fixes the broken box character drawing in pcvt.
Hellmuth and Bruce are unfortunately too busy too review this right now,
but i wanna have it in 2.2 since it has often been asked in the past.
Diffstat (limited to 'sys/i386/isa/pcvt/pcvt_hdr.h')
-rw-r--r-- | sys/i386/isa/pcvt/pcvt_hdr.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/i386/isa/pcvt/pcvt_hdr.h b/sys/i386/isa/pcvt/pcvt_hdr.h index 75dd2c4..951c9fd 100644 --- a/sys/i386/isa/pcvt/pcvt_hdr.h +++ b/sys/i386/isa/pcvt/pcvt_hdr.h @@ -826,8 +826,8 @@ typedef struct video_state { u_short *sc_G1; /* save G1 ptr */ u_short *sc_G2; /* save G2 ptr */ u_short *sc_G3; /* save G3 ptr */ - u_short *sc_GL; /* save GL ptr */ - u_short *sc_GR; /* save GR ptr */ + u_short **sc_GL; /* save GL ptr */ + u_short **sc_GR; /* save GR ptr */ u_char sc_sel; /* selective erase state */ u_char ufkl[8][17]; /* user fkey-labels */ u_char sfkl[8][17]; /* system fkey-labels */ @@ -867,8 +867,8 @@ typedef struct video_state { struct sixels sixel; /* structure for storing char sixels */ u_char selchar; /* true = selective attribute on */ u_int decsca[MAXDECSCA]; /* Select Character Attrib bit array */ - u_short *GL; /* ptr to current GL conversion table*/ - u_short *GR; /* ptr to current GR conversion table*/ + u_short **GL; /* ptr to current GL conversion table*/ + u_short **GR; /* ptr to current GR conversion table*/ u_short *G0; /* ptr to current G0 conversion table*/ u_short *G1; /* ptr to current G1 conversion table*/ u_char force24; /* force 24 lines in DEC 25 and HP 28*/ @@ -878,7 +878,7 @@ typedef struct video_state { u_char which[DSCS_LENGTH+1]; /* which set to designate */ u_char whichi; /* index into which .. */ u_char ss; /* flag, single shift G2 / G3 -> GL */ - u_short *Gs; /* ptr to cur. G2/G3 conversion table*/ + u_short **Gs; /* ptr to cur. G2/G3 conversion table*/ u_char udkbuf[MAXUDKDEF]; /* buffer for user defined keys */ struct udkentry ukt; /* index & length for each udk */ u_char udkff; /* index into buffer first free entry*/ |