Subject: Re: Michael's sparcbook stuff
To: None <port-sparc@NetBSD.org>
From: Michael Parson <mparson@bl.org>
List: port-sparc
Date: 11/20/2005 09:18:49
On Sun, Nov 20, 2005 at 10:13:02AM -0500, Michael wrote:
> Hello,
>
>>> In case you're wondering about the terminal type - vt220 would be
>>> right but it implies 80x24 while the sparcbook console may be bigger
>>> which may give funny effects ( like programs not using the full
>>> screen when they should ) - xterm-color can cope with that.
>>
>> How does this happen, when both xterm-color and vt220 have 
>> :li#24:co#80: ? Which programs show those "funny effects"?
>
> minicom for instance.
> It leaves the terminal with an 80x24 window when running with vt220 but
> not with xterm-color.

I have an `eval resize` in my .profile to reset the LINES and COLUMNS
variables when I log in.  When I'm using bash, I also have 'shopt -s
checkwinsize' to double-check, I do almost everything in full-screen
screen sessions and depending on where I re-attach from, I might have a
different sized screen capable of different character geometries.  All
this limits having a big screen with a small 80x25 program up in the
corner.

>> I have tried mutt, mc, lynx and vi on the 80x50 VGA console with
>> TERM=vt220 and all work fine.
>
> Maybe it's a bug in minicom.
>
>> BTW I think the correct type is wsvt25, which adds colors, correct
>> function and Begin/End keys to the vt220. At least on PC-ish VGA
>> console (I don't have NetBSD on my sparcs at the moment.)
>
> I'll try that and see what happens. Last time I checked ( around
> 1.6.something ) even i386 used vt220.

-- 
Michael Parson
mparson@bl.org