NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: vt100



On Sat, Dec 30, 2017 at 01:09:02PM -0500, Thomas Dickey wrote:
> On Sat, Dec 30, 2017 at 06:38:16PM +0100, Kamil Rytarowski wrote:
> > On 30.12.2017 17:41, Thomas Dickey wrote:
> > > On Sat, Dec 30, 2017 at 11:39:38AM -0500, Thomas Dickey wrote:
> > >> On Sat, Dec 30, 2017 at 03:53:35PM +0100, Kamil Rytarowski wrote:
> > >>> How to setup correctly vt100 in a terminal?
> > >>>
> > >>> I've set exported TERM=vt100, called tset and stty and I keep observing
> > >>> artifacts.

setting $TERM won't help with VMS :-)

Now... you could use the xterm option to tell it (in effect) to tell
the host not to send 8-bit controls:

man xterm:

       -ti term_id
               Specify  the  name used by xterm to select the correct response
               to terminal ID queries.  It also specifies the emulation level,
               used  to  determine  the  type  of  response  to  a  DA control
               sequence.  Valid values  include  vt52,  vt100,  vt101,  vt102,
               vt220,  and  vt240  (the  “vt”  is  optional).   The default is
               “vt420”.  The term_id argument specifies  the  terminal  ID  to
               use.  (This is the same as the decTerminalID resource).

That is,

	xterm -ti 100

or

	xterm -ti 102

and if the host is behaving properly, it'll give up on 8-bit controls.

Of course, VT100's have no function keys (F1-F12), nor Home/End,
PageUp/PageDown, but cursor-keys should work.  Your experience here
will depend on what the applications are using.

-- 
Thomas E. Dickey <dickey%invisible-island.net@localhost>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: Digital signature



Home | Main Index | Thread Index | Old Index