Martin Husemann | 1 Jun 2012 16:45
Picon

Switching default TERM to wsvt25 on console

Some recent discussion about the "Del" key not being mapped by vi
correctly on netbsd-6 using ttyE* made me check again, and after some
off list  discussion I would now like to propose to switch all
wscons-using ports to set "wsvt25" on all their ttyE* lines in
/etc/ttys by default.

Most of them currently use vt220, which just leaves out a few items.
Dreamcast, ews4800mips, macppc, sparc64 already use wsvt25.

Last this came up, vt220 was considered more portable, as you could ssh
to some non NetBSD system and it would not know about wsvt25. However,
nowadays this is not true for most other systems, and for the few
legacy ones where it still is, there are easy workarounds (a few lines
in .login/.shrc).

Objections?

Martin
Side note: the wsvt25 terminfo entry needs fixing for the missing kdch1
entry. Julian is handling that.

David Brownlee | 1 Jun 2012 17:46
Picon

Re: Switching default TERM to wsvt25 on console

On 1 June 2012 15:45, Martin Husemann <martin <at> duskware.de> wrote:
> [...] I would now like to propose to switch all
> wscons-using ports to set "wsvt25" on all their ttyE* lines in
> /etc/ttys by default.

Excellent idea - fully support. Just tested vax :)

Could we also update wscons(4) and any other relevant place to note
that "vt100" really means wsvt25?

Ideally we should probably add WSEMUL_WSVT25 and make WSEMUL_VT100 an alias...

rudolf | 1 Jun 2012 19:17
Picon

Re: Switching default TERM to wsvt25 on console

Martin Husemann wrote:
> Some recent discussion about the "Del" key not being mapped by vi
> correctly on netbsd-6 using ttyE* made me check again, and after some
> off list  discussion I would now like to propose to switch all
> wscons-using ports to set "wsvt25" on all their ttyE* lines in
> /etc/ttys by default.

For reference, that's PR misc/10127, iiuc.

r.

Jeff Rizzo | 1 Jun 2012 23:28
Favicon

Re: Switching default TERM to wsvt25 on console

On 6/1/2012 7:45 AM, Martin Husemann wrote:
>
> Objections?
>
>
> Martin
> Side note: the wsvt25 terminfo entry needs fixing for the missing kdch1
> entry. Julian is handling that.

I think this is a good idea.  Please have it pulled up to netbsd-6, too.

+j

Christos Zoulas | 2 Jun 2012 16:13

Re: Switching default TERM to wsvt25 on console

In article <20120601144533.GE18265 <at> mail.duskware.de>,
Martin Husemann  <martin <at> duskware.de> wrote:
>Some recent discussion about the "Del" key not being mapped by vi
>correctly on netbsd-6 using ttyE* made me check again, and after some
>off list  discussion I would now like to propose to switch all
>wscons-using ports to set "wsvt25" on all their ttyE* lines in
>/etc/ttys by default.
>
>Most of them currently use vt220, which just leaves out a few items.
>Dreamcast, ews4800mips, macppc, sparc64 already use wsvt25.
>
>Last this came up, vt220 was considered more portable, as you could ssh
>to some non NetBSD system and it would not know about wsvt25. However,
>nowadays this is not true for most other systems, and for the few
>legacy ones where it still is, there are easy workarounds (a few lines
>in .login/.shrc).
>
>Objections?
>
>
>Martin
>Side note: the wsvt25 terminfo entry needs fixing for the missing kdch1
>entry. Julian is handling that.

None, makes sense.

christos

Blair Sadewitz | 10 Jun 2012 15:02
Picon

Re: Switching default TERM to wsvt25 on console

On Sat, Jun 2, 2012 at 10:13 AM, Christos Zoulas <christos <at> astron.com> wrote:
> In article <20120601144533.GE18265 <at> mail.duskware.de>,
> Martin Husemann  <martin <at> duskware.de> wrote:
>>Some recent discussion about the "Del" key not being mapped by vi
>>correctly on netbsd-6 using ttyE* made me check again, and after some
>>off list  discussion I would now like to propose to switch all
>>wscons-using ports to set "wsvt25" on all their ttyE* lines in
>>/etc/ttys by default.
>>
>>Most of them currently use vt220, which just leaves out a few items.
>>Dreamcast, ews4800mips, macppc, sparc64 already use wsvt25.
>>
>>Last this came up, vt220 was considered more portable, as you could ssh
>>to some non NetBSD system and it would not know about wsvt25. However,
>>nowadays this is not true for most other systems, and for the few
>>legacy ones where it still is, there are easy workarounds (a few lines
>>in .login/.shrc).
>>
>>Objections?
>>
>>
>>Martin
>>Side note: the wsvt25 terminfo entry needs fixing for the missing kdch1
>>entry. Julian is handling that.
>
> None, makes sense.
>
> christos
>

(Continue reading)

Blair Sadewitz | 10 Jun 2012 15:05
Picon

Re: Switching default TERM to wsvt25 on console

Oops, hit 'send' too soon.  Anyway, I wanted to add that I support
this proposed change.  Oh, and, FWIW,  adding wsvt50 has been
discussed in the past; I always end up adding that.

Matthew Mondor | 10 Jun 2012 20:22

Re: Switching default TERM to wsvt25 on console

On Sun, 10 Jun 2012 09:05:33 -0400
Blair Sadewitz <blair.sadewitz <at> gmail.com> wrote:

> Oops, hit 'send' too soon.  Anyway, I wanted to add that I support
> this proposed change.  Oh, and, FWIW,  adding wsvt50 has been
> discussed in the past; I always end up adding that.

Good idea, I rarely use the 25 lines mode myself (although wsvt25 seems
to work on it, I never checked if there was some actual 25 lines
limit for some commands)
--

-- 
Matt


Gmane