Subject: Re: vt320 as console?
To: None <david@mono.org>
From: Dave McGuire <mcguire@rocinante.digex.net>
List: port-sparc
Date: 01/22/1996 22:19:11
Folks,
  Can someone here tell me what the SunOS4 equivalent of this is?
I've been dealing with that "mode switcharoo" forever...

                            -Dave McGuire
                             Systems Engineer
                             Digital Express Group, Incorporated
                             mcguire@digex.net


On January 22, you wrote:
> 	You want to look in /sys/sys/ttydefaults.h and change the 
> 	TTYDEF_CFLAG line to something like
> 
> #define TTYDEF_CFLAG    (CREAD | CS8 | HUPCL)
> 
> 	otherwise the kernel switched into 7E1 when it initialises the
> 	serial ports (up till thn its been using the prom to output the
> 	messages).
> 
> 	(About the only local patch I _absolutely_ needed when running
> 	NetBSD.
> 	If you boot single user you can mount /usr & run reset to get
> 	the tty sane again, but you cant see to run fsck first,	so its
> 	not a happy thing to do. Its no doubt in a PR somewhere, but
> 	not having to keep it locally was a pleasant bonus from my move
> 	to openbsd :)
> 
>                    David/abs             (david@mono.org)
> 
> +44 181 888 8949 System Manager, Southern Studios Ltd, Box 59, London N22 1AR
>      >=- Microsoft asks you where you want to go. Unix gets you there -=<
>         <<< Monochrome - Largest UK Internet BBS - telnet mono.org >>>
> 
> 
> 
> On Mon, 22 Jan 1996, Mike Frisch wrote:
> 
> > On Sat, 20 Jan 1996, behind brown eyes wrote:
> > 
> > > I'm trying to use a vt320 as the console on my NetBSD/sparc Sun 4/330. The
> > > terminal works fine until init kicks in (that is, until just after "root on 
> > > sd0a" is printed), and then spits out garbage. Looking in /var/log/messages,
> > 
> > 	I had the same problem when I used my PC as a console for my 
> > 4/110.  It appears that after this point in the init, the character 
> > stream switches from 8N1 to 7E1 (change to 7E1 after the garbage appears 
> > and you'll be able to read it) and then back to 8N1.  I have no idea 
> > what's causing this, but it seems to work fine on my system once it gets 
> > past this point.
> > 
> > Mike.
> > 
> > ==========================================================================
> >      Mike Frisch                    Internet: mfrisch@saturn.tlug.org
> >      Northstar Technologies		       Compuserve: 76620,2534
> >      Newmarket, Ontario, CANADA       WWW: http://www.io.org/~mfrisch
> >