Subject: CVS commit: pkgsrc/misc/dt
To: None <>
From: Frederick Bruckman <>
List: pkgsrc-changes
Date: 02/11/2002 20:30:23
Module Name:	pkgsrc
Committed By:	fredb
Date:		Mon Feb 11 18:30:23 UTC 2002

Modified Files:
	pkgsrc/misc/dt: Makefile distinfo
	pkgsrc/misc/dt/patches: patch-ac patch-ad

Log Message:
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.

To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 pkgsrc/misc/dt/Makefile
cvs rdiff -r1.4 -r1.5 pkgsrc/misc/dt/distinfo
cvs rdiff -r1.2 -r1.3 pkgsrc/misc/dt/patches/patch-ac
cvs rdiff -r1.1 -r1.2 pkgsrc/misc/dt/patches/patch-ad

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.