Commit graph

9 commits

Author SHA1 Message Date
fredb
3abe6b61ab Fix missing prototype for memcpy(). 2003-11-20 00:59:08 +00:00
fredb
801bda703b Switch to the "new" grf interface -- new in NetBSD 1.5! -- because
GRF_COMPAT is currently broken on NetBSD 1.6ZF.
2003-11-20 00:33:47 +00:00
fredb
f5134e1564 Programs that follow Digital's recommendations will follow ESC(0 -- to
load the DEC Special Graphics (VT line draw) characters into graphics set
GS0 -- with lock shift 0, aka LS0, aka SO, aka ^0 -- to then enable GS0.
Since GS0 is the default, the full procedure is really only necessary when
displaying line draw and alphanumeric characters on the same line. With the
last patch to enable line draw characters, ESC(0 was always taken to mean
ASCII SI (shift in), and ^0 was always taken to to mean SO (shift out),
so for programs that did the right thing (e.g. "pstree"), "dt" was simply
setting, then unsetting, the alternate character set attribute, causing
the desired line draw characters never to be displayed.

To deal with that, introduce a layer of abstraction, such that ESC(0
and friends now only set per-VT variables, rather than directly set the
attribute. Initialize these variables so that SO and SI, taken alone, will
do the expected thing, and extend the state machine so that a changed GS0
will become active at the next carriage return, or immediately if an LS0
was already seen on that line (all very much like a real VT).

Bump version to dt-1.1.7nb2.
2002-02-11 18:30:21 +00:00
fredb
a4a82e30d9 Work around an old bug that causes the display to become corrupted when
the actual, display line width exceeds the size of the array allotted for
it, by increasing the size of said array to 224 characters. This is good to
about 1350 pixels horizontal with the small font, or nearly 1800 with the
large font.
2002-02-11 18:24:55 +00:00
fredb
830513d1c4 Boy, do I suck. Allen Briggs forwarded these patches from
Steven Carlson <stevec@accessone.com>, to do vt line draw
characters, to me over *two* *years* ago!
2002-02-10 22:49:53 +00:00
wiz
541e3fcc2d defuzz 2000-01-10 03:07:09 +00:00
jlam
446f3b4549 Forgot to add this patch. 1999-09-07 14:55:06 +00:00
jlam
15c573063b Let user choose which keyboard layout to compile via mk.conf make variable
`DT_LAYOUT'.
1999-09-07 14:53:55 +00:00
frueauf
b2cea4ec14 Initial addition of dt-1.1.6, Virtual consoles for NetBSD/mac68k (and macppc?).
Provided on pr 6535 by Frederick Bruckman.
1998-12-05 15:48:51 +00:00