Return to BSD News archive
Xref: sserve comp.os.386bsd.questions:11350 comp.os.386bsd.bugs:2306 misc.test:42288 Path: sserve!newshost.anu.edu.au!munnari.oz.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!news.cs.su.oz.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!warrane.connect.com.au!kralizec.zeta.org.au!not-for-mail From: bde@kralizec.zeta.org.au (Bruce Evans) Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.bugs,misc.test Subject: Re: Situation update on 1.1.5R [Was Re: FreeBSD 1.15R (Re: Suggestion for addition to FAQs)] Date: 3 Jul 1994 14:39:42 +1000 Organization: Kralizec Dialup Unix Sydney - +61-2-837-1183, v.32bis v.42bis Lines: 36 Message-ID: <2v5fee$7st@kralizec.zeta.org.au> References: <16FE595EDS85.98022249@wsuvm1.csc.wsu.edu> <CsC2x4.tqn@mozo.cc.purdue.edu> <JKH.94Jul3010108@whisker.hubbard.ie> <CsCB9q.nt6@mozo.cc.purdue.edu> NNTP-Posting-Host: kralizec.zeta.org.au In article <CsCB9q.nt6@mozo.cc.purdue.edu>, Ben Jackson <bj@staff.cc.purdue.edu> wrote: >In article <JKH.94Jul3010108@whisker.hubbard.ie>, >Jordan Hubbard <jkh@whisker.hubbard.ie> wrote: >And finally, the `stty -f /dev/ttyXX clocal' workaround that you're >supposed to use if you have trouble with cu/kermit/etc hanging on tty >open doesn't work anymore. Under 1.1.5, the open still hangs. You're supposed to fix cu/kermit/etc, not use kludgy workarounds :-). Anyway, the correct (kludgy) workaround is to use the callout ports (/dev/cua0X) for callout programs. This wasn't the correct workaround in 1.1R only because bidirectional ports had more bugs. Note that /dev/MAKEDEV doesn't support bidirectional ports properly. "sh MAKEDEV all" creates "hardwired" devices tty0[0-1] for the first two ports and callin/callout pairs ttyd[2-3] and cua0[2-3] for the second two ports. This is confusing and almost useless since tty00 is now indistinguishable from ttyd0 and access to cua00 can be controlled using chown or chmod better than by not creating it. I think the tty0X names should go away and the cua0X names should be changed to something like ttycX or cuadX or cuacX. Incorrect (kludgier) workarounds include the clocal hack on the initial- state ports: (1) stty </dev/ttyi0X clocal (2) stty </dev/ttyidX clocal (3) stty </dev/cuai00 clocal There are also lock-state ports to allow stopping ordinary users and broken programs from undoing the workarounds. See the sio manpage and the /etc/rc.serial setup program. -- Bruce Evans bde@kralizec.zeta.org.au