Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2003 21:29:01 -0700
From:      "Bob Frazier" <bobf@mrp3.com>
To:        <termcap@berkeley.edu>, <freebsd-bugs@FreeBSD.org>
Subject:   addition of 'vtnt' term type
Message-ID:  <02f401c3151a$5a4f1110$1000a8c0@SFT>

next in thread | raw e-mail | index | archive | help
I recommend adding the 'vtnt' term type to 'termcap'.  I have noticed that
'vt200' performs almost exactly as desired, and the only difference might be
to alter the performance of the 'delete' key so that it deletes the
character under the cursor (and does not merely duplicate the backspace
key).

Using the 'set term=vt200' setting with FreeBSD 4.7-RELEASE I was able to
get the arrow keys, page up, page down, end, and home to work as expected
with 'ee'.  I did not try them with 'vi', however.  No other terminal
setting that I tried worked as well.  Unfortunately the behavior of the
background color was not as good as it is for an ANSI terminal, but this may
be unavoidable in order to get the cursor motion capabilites via 'pgup'
'pgdown' 'home' 'end' and arrow keys, and may actually be a compatibility
problem wiht the Windows XP 'telnet' application.

Windows XP 'telnet' has the capability of specifying itself as a 'vtnt'
terminal type via the following:

  set term vtnt

The default emulation appears to be 'ansi'.  However, this doesn't work
properly with applications like 'ee', which is why I wanted to find the best
possible terminal setting.

I was able to modify my own 'termcap' file by adding 'vtnt' along with
'vt200' in the same section.  This setting may be adequate for MOST
applications but I may be unaware of additional 'fixes' needed by 'vtnt'
that 'vt200' either breaks or does not correctly implement, "delete
character under cursor" being the most obvious capability that I would like
to see working.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02f401c3151a$5a4f1110$1000a8c0>