Subject: Re: pkg_select defective?
To: None <netbsd-users@NetBSD.org>
From: Pavel Cahyna <pavel.cahyna@matfyz.cz>
List: netbsd-users
Date: 10/03/2006 23:01:55
On Tue, Oct 03, 2006 at 10:58:22PM +0200, Jan Danielsson wrote:
> Pavel Cahyna wrote:
> >>    When I run midnight commander in a full screen session on NetBSD, I
> >> get no blue colors, and all the function keys are shifted -1 (F10
> >> becomes F9, etc). When I run midnight commander from screen through an
> >> ssh login, I get a blue colored background, and the function keys work
> >> as expected. Same thing when I run midnight commander from a
> >> wterm-window i X.
> > 
> > Change "vt220" to "wsvt25" in /etc/ttys and mc will work better.
> > 
> > (it is not done by default because, I believe, when you log to some other
> > system from NetBSD via telnet or ssh, the remote system won't usually know
> > anything about wsvt25 but probably will know vt220.)
> 
>    Thanks for the tip; I'm just going to try to find out what that
> modification actually means before I do it. :-)
> 

It will just change the TERM variable (which gets set when you log in). 
Of course you can just do TERM=wsvt25 to see what it does.

Pavel