Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!fnnews.fnal.gov!cdfsga.fnal.gov!dejan From: dejan@cdfsga.fnal.gov (Dejan Vucinic) Newsgroups: comp.os.386bsd.questions Subject: Re: Help setting com port login to 8N1?possible? Date: 19 Oct 1993 23:18:30 GMT Organization: Fermi National Accelerator Laboratory, Batavia IL Lines: 24 Distribution: world Message-ID: <2a1sk6$3bi@fnnews.fnal.gov> References: <1993Oct12.052102.2537@monu6.cc.monash.edu.au> <CF4I0E.2A9@cyb.fred.com> NNTP-Posting-Host: cdfsga.fnal.gov In article <CF4I0E.2A9@cyb.fred.com>, loodvrij@cyb.fred.com (Bruce 'Loodvrij' Keeler) writes: |> In article <1993Oct12.052102.2537@monu6.cc.monash.edu.au> ent811l@monu1.cc.monash.edu.au (Christopher Kuperman) writes: |> > G'day... |> > |> > OK.. All I want to do is set the serial port login to |> > 8 data bit no parity 1 stop bit.. no a big request huh? |> > |> I thought not too. Shame the gettytab's 'np' (no parity) flag is not |> documented, innit? I only stumbled across it while trying to hack it in |> myself... |> |> Course, whether the system actually STAYS in N81 depends on which OS you're |> using, cos the BSD NET/2 code appears to have a bug in tty_compat.c... Yes, the 'np' flag should really be in the man page. :) But that doesn't solve anything: as soon as you type in your login name, getty gives control to login, and that returns things to default... If I undrstand things well, the 'hc' flag in gettytab should prevent this, but it doesn't work. If someone finds out why let me know. For the time being, put stty cs8 in you .login, :np: in you getty, and ignore the intermediate garbage. Cheers, Dejan