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 08:45:03
On Wed, Apr 26, 2006 at 05:53:16AM +0900, Henry Nelson 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
> prompt and password input.
[ Some additional information: I could not initially login using
  those characters.  When I say "Once logged in" that was to an
  account that didn't have such characters in the login information. ]

Okay, *partially* solved.

My wscons setup was incorrect, i.e., the kernel options and the /etc/
wscons.conf configuration settings were not matched properly.  I have
turned off the autoconfiguration in the kernel, and only use the con-
figuration file.  Dmesg suggests that wscons is initiated correctly now.

I can login okay using "@" and "#" characters.  BUT, what is strange is
that the "@" and "#" keys still have the same *effect* as in my original
post.  Yet, since I can enter a valid login name and a password now using
those literal characters, the input that "login" receives must be the
literal characters, and not some control character that is doing the
erasing I see on the display.

There is some glitch somewhere, but I wouldn't know how to proceed to
formulate a useful pr report.

Synopsis: I *see* characters being erased, but login and password prompts
*get* the correct information and let me login.

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