[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in tek4107's rev string
From: |
Thomas Dickey |
Subject: |
Re: Error in tek4107's rev string |
Date: |
Sat, 27 Nov 2010 15:50:50 -0500 (EST) |
On Sat, 27 Nov 2010, Thomas Dickey wrote:
On Sat, 27 Nov 2010, G??ran Weinholt wrote:
Hello,
here's a patch for terminfo.src that fixes the rev string for tek4107.
The \E%!0 code selects Tek mode and it was missing the !.
The string for "dim" also looks odd. Is that "<" correct?
It reads
dim=\E%!1\E[<0m$<2>\E%!0,
and I'd expect
dim=\E%!1\E[0m$<2>\E%!0,
I was asking, since "tic -cv" on the entry does show that the sgr string
is inconsistent with some of the other capabilities.
I found a manual for 4107/4109 here:
http://bitsavers.org/pdf/tektronix/410x/070-4893-00_4107_4109_PgmrRef_Nov83.pdf
However, it indicates that those supported vt100 and vt52 controls.
Oddly, the terminfo description is using vt52 "cup" (cursor-position),
while dim and other controls are wrapped in "\E%!1" and "\E%!0"
prefix/suffix, These are "SELECT CODE", on page 4-28 (also 5-59):
0 selects Tek mode, i.e., \E%!0
1 selects ANSI mode
2 selects ANSI edit-mode
3 selects VT52 mode
Given that it's using ANSI and not VT52, that's a little odd (perhaps
it - or an emulator - is accepting the VT52 controls all the time).
Likewise, the "<" which would indicate a private mode, may be ignored.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net