Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!munnari.oz.au!metro!ipso!runxtsa!bde From: bde@runx.oz.au (Bruce Evans) Subject: Re: 2 questions for a new 386bsd user Message-ID: <1993Apr23.093256.7764@runx.oz.au> Organization: RUNX Un*x Timeshare. Sydney, Australia. References: <1993Apr21.002248.24644@fwi.uva.nl> Date: Fri, 23 Apr 93 09:32:56 GMT Lines: 24 In article <1993Apr21.002248.24644@fwi.uva.nl> bosman@fwi.uva.nl (Cor Bosman) writes: >First...I dont seem to be able to retain 8n1 status on the modems. >I have 4 dialin modems, which will answers fine in 8n1 (after some >hacking around in the getty.c, does that thing even READ gettytab??) >But as soon as I start vi, or pico, or nn, or..or..or..bang..im >back to 7 bits. Quite annoying. getty reads and interprets gettytab OK. Then just before it execs login, it clobbers the settings to the defaults specified in <sys/ttydefaults.h>. The loss of the 8th bit by applications is caused by the braindamage of the old sgttyb interface and loss in translation of it to the termios interface. The old interface doesn't really support 8 bits except in RAW mode. Perfect translation is impossible and there are several bugs. Try stty pass8. >Third...ive seen some references about it already..but I keep >seeing silo overflow errors on all 4 comports. Any fix for that? This is fixed in my driver, at least for speeds less than a few hundred Kbits/sec. -- Bruce Evans bde@runx.oz.au