[net.info-terms] vt132 termcap question

jerry@oliveb.UUCP (Jerry Aguirre) (02/28/84)

I have access to a vt132 terminal.  The vt132 is an expansion of the
vt100 capabilities including everything the Advanced Video Option has
and insert/delete line/character.  I find that the insert/delete
capability really speeds up screen updating when editing on a slow
(dialup) line.

The problem I have is in the definition of the sequences to put the
terminal in and out of insert mode.  The manual and the standard
termcap definition I have seen give a sequence that is the opposite of
what this terminal expects.  Editing using vi garbages the screen
unless I reverse the im= and ei= definitions.  The definition in the
manual seems more consistent (l is no-insert and h is insert) so I am
wondering if the terminal is backwards or if the manual/termcap is
wrong.  I would believe the terminal was backwards but I remember
finding the same kind of problem in the vt100 manuals.   The vt100
manual and reference card disagree about the restore cursor sequence.

The termcap definition that works for me is:

d7|vt132|vt-132|vt132 80 col:\
        :cl=50\E[;H\E[2J\E[4h:\
	:im=\E[4l:ei=\E[4h:dm=:dc=\E[P:ed=:\
	:al=\E[L:dl=\E[M:\
	:us=2\E[4m:ue=2\E[m:\
	:vs=\E[?3l:tc=vt100
d8|vt132w|vt-132w|vt132 132 col mode:\
	:co#132:vs=\E[?3h\E[?7h:ve=\E[?3l:tc=vt132:

Did the people who wrote the termcap entry for the vt132 take it from
the manual or has it been tested?  I would appreciate hearing from
anyone out there who has used a vt132 and knows what the im/ei sequence
for their terminal really is.

					    Jerry Aguirre
    {hplabs|fortune|ios|tolerant|allegra|tymix}!oliveb!jerry

hoffman@pitt.UUCP (Bob Hoffman) (03/03/84)

I recall having the same problem with my VT132 and termcap.  I
reversed the entries in /etc/termcap and all was well.  I think
it must never have been tested.

	---Bob