Subject: Re: (1) getty/login
To: Mats O Jansson <>
From: David Leonard <>
List: current-users
Date: 08/17/1994 23:55:08
> In message <199408162055.QAA10938@Collatz.McRCIM.McGill.EDU>, der Mouse wrote
> >As people who recognize my From:-line will know, I'm running
> >NetBSD/sparc on a SPARC IPC.  And I've got a couple of questions.
> >(1) I have been unable to get logins working on /dev/ttya.  I turn it
> >    on in /etc/ttys, HUP init, and the login prompt shows up fine.
> >    Then I type a username and RETURN (which echo correctly), and it
> >    says, instead of the Password: prompt I would expect, @8@@@@9w
> >    (with no newline after it).  Nothing I type at this point has any
> >    effect I can discern, until some timeout expires, at which point it
> >    utters the cryptic string @@@@@@]@@PW@P8@@@(@@@@9\@@^@~ and prints
> >    another prompt from getty.  I would assume this is a baud-rate
> >    problem, except that stty insists that the baud rate is the same
> >    both when getty is reading a username and when login is reading a
> >    password.  When getty is in control:
> >					der Mouse

While fiddling with macsd on this IIsi, i start a getty going on /dev/tty00
which i have a xt230e duymb terminal connected to (which is in 8n1)

Very similary i get somthing that looks like "loci;" which I guess is 7e1.
However, as soon as I start typing a username usu "root", the letters come
back in 7e1, then the "Password:" prompt comes back in readable 8n1! (At 
least this is how I remember it) So, apart from the initially heavilly
accented "loci;" I have no problems. I guess its just luck that 7e1 and 8n1
consume the same frame size :) After logging in, the session is in 8n1.

I have seen xdm started on a sunos 4 ipx and its xconsole window show 
"loci;" as well - so i guess that getty figures out the parity & char size
automagically but defaults to cs7 parenb parene.

David Leonard                
The University of Newcastle            4th year Engineering/CompSci student