Subject: Re: "@" erases line, "#" erases previous character, serial console
To: None <netbsd-help@NetBSD.org>
From: Henry Nelson <netb@yuba.kcn.ne.jp>
List: netbsd-help
Date: 04/27/2006 05:58:09
On Wed, Apr 26, 2006 at 05:30:47PM +0000, Christos Zoulas wrote:
> In article <20060426005654.GA11613@yuba.kcn.ne.jp>,
> Henry Nelson  <netb@yuba.kcn.ne.jp> wrote:
> >On Tue, Apr 25, 2006 at 09:19:59PM +0000, Christos Zoulas wrote:
> >> In article <20060425205316.GA11023@yuba.kcn.ne.jp>,
> >> Henry Nelson  <netb@yuba.kcn.ne.jp> wrote:
> >> >I *thought* I had a serial console working fine on i386, but at the
> >> >login prompt, "@" acts like ^u and "#" acts like Backspace.  Once
> >> >logged in, the keyboard acts normally -- it's only at the login
[...]
> Can you login to another window and type:
> 
> stty -af /dev/console or the serial tty?

Logged in via ssh:
# stty -af /dev/console
speed 38400 baud; 0 rows; 0 columns;
lflags: -icanon -isig -iexten -echo -echoe -echok -echoke -echonl
        -echoctl -echoprt -altwerase -noflsh -tostop -flusho -pendin
        -nokerninfo -extproc
iflags: -istrip -icrnl -inlcr -igncr -ixon -ixoff -ixany -imaxbel -ignbrk
        -brkint -inpck -ignpar -parmrk
oflags: -opost onlcr -ocrnl oxtabs onocr onlret
cflags: cread cs8 -parenb -parodd -hupcl clocal -cstopb -crtscts -mdmbuf
        -cdtrcts
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
        eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
        min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T;
        stop = ^S; susp = ^Z; time = 0; werase = ^W;

I just now rebooted, and I notice in the messages on the serial console:
Building databases...
wsconscfg: screen 1 is alrewsdisplay0:screen 2 added (80x25, vt100 emulation)

dmesg output has these lines:
wsdisplay0 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay0
wsdisplay0: screen 0-1 added (80x25, vt100 emulation)
[... 74 lines snipped, and on last line:]
wsdisplay0: screen 2 added (80x25, vt100 emulation)

Hmm, maybe I have messed up wscons in the kernel or configuration?

-- 
henry nelson
  WWW_HOME=http://yuba.kcn.ne.jp/~home/