Subject: Re: erratic sparc serial console
To: None <netbsd-users@netbsd.org>
From: Andrew Basterfield <list@lostgeneration.freeserve.co.uk>
List: netbsd-users
Date: 02/18/2002 01:12:29
On Sun, 17 Feb 2002 21:19:43 +0000
Chris Pinnock <cjep@fawlty.net> wrote:

> On Sun, Feb 17, 2002 at 07:36:38PM +0000, Jim Breton wrote:
> > Well, when I open rc.conf (or any file) in vi, it's very difficult to
> > use: when it looks like I'm on (e.g.) line 10 I will try to edit the
> > line, and after refreshing the screen find out I edited the wrong
line.> > Also scrolling through the file makes large whitespace gaps
appear, then> > after a refresh they go away.. all sorts of various
display problems> > like this.
> 
> It could be that your terminal setting is wrong? You could try setting
> the TERM environment variable to vt100 or xterm or similar. If you use
> sh or bash, try	
> 		export TERM=vt100;
> If you use csh or tcsh, try:
> 		set term = vt100;
> 
> best wishes,
> -- 
> Chris
> 

Edit /etc/ttys with

# TERM=vt100 vi /etc/ttys

and change the first entry to

console "/usr/libexec/getty suncons"    vt100   on secure
                                        ^^^^^
log out, log back in and sanity will be restored.

-- 
sparc sun4c stuff : http://www.lostgeneration.freeserve.co.uk/sparc
personal email    : bob at lostgeneration dot freeserve dot co dot uk