Date: Thu, 25 Jul 1996 21:47:08 +1000 From: Bruce Evans <bde@zeta.org.au> To: davo@chunga.kt.apana.org.au, freebsd-isp@freebsd.org, hackers@freebsd.org Subject: Re: Setup of serial ports Message-ID: <199607251147.VAA09420@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>for u in 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f >do > comcontrol /dev/ttyc$u dtrwait 100 drainwait 180 > stty -f /dev/ttyic$u hupcl crtscts -clocal 38400 > stty -f /dev/ttylc$u hupcl crtscts -clocal 38400 > stty -f /dev/cuaic$u hupcl crtscts -clocal 38400 > stty -f /dev/cualc$u hupcl crtscts -clocal 38400 >done >----------- >I've been told that the lock-state device needs to be set clocal >and not -clocal. >Is this true and if so why? Yes, bits in the lock state devices are flags, not settings, and all flags default to off, so turning them off is usually just confusing. You probably want to leave the initial-state device with its default setting of -clocal and set the lock-state device to clocal to stop users from setting clocal. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607251147.VAA09420>