Hardware flow control on tty000?
Lenny Tropiano
lenny at icus.islp.ny.us
Fri Apr 7 04:09:13 AEST 1989
In article <1298 at naucse.UUCP> sbw at naucse.UUCP (Steve Wampler) writes:
...
|>
|>I do, however, have a question. Numerous people suggested I set
|>hardware flow control on the port (tty000) and gave TB+ settings for
|>that (i.e. s58=002). How? I don't see how to set a CTS flow control
|>protocol on that port (it doesn't show up as option during 'Hardware
|>Setup' on my system, and stty doesn't eat the 'ctscd' flag). So
|>I'm running with Xon/Xoff protocol (and s58=003). I'd prefer the other,
|>if someone can tell me how. Remember that I have 3.5, not 3.51.
|>Thanks!
|>
Gee, I can't remember, but I don't think HFC appeared on the UNIX pc before
3.51 releases. Therefore if you don't have /etc/hfc_ctl, you don't have
the capability of doing HFC. (Sorry). stty ctscd isn't valid for the UNIX pc.
For those running 3.51 (and of course if hfc_ctl appears in 3.5):
To set up HFC on any tty00[0-7] port you can do the following.
Place a file in /etc/daemons called: /etc/daemons/hfc_init
In the file put:
/etc/hfc_ctl +/dev/tty00x (where x is replaced with 0 through 7)
You can put multiple lines as this is a shell script that will turn on HFC
for the port specified. Note: /etc/hfc_ctl +DEVICE turns on HFC,
whereas, /etc/hfc_ctl -DEVICE turns off HFC.
Also set up the gettydefs file so that the lines settings doesn't have IXON
for that port. One question I have for those running HFC, how do you
stop the output manually? Since ^S/^Q is turned off, how do I stop 19200
baud from "Blazing" past my screen :-)?
|>By the way, I don't use cu or async_main, just uucp and kermit, so I
|>locked the interface at 19200 baud - seems to cause no problems.
|>Maybe someone (good, not like me) can figure out how to patch cu
|>and async_main to take 19200?
|>
I doubt sincerely that the async_main (terminal emulator) can really handle
anything over 9600. It kinda slow. I know I have problems with
machine<->machine connections at 9600 (ie. dropped characters).
-Lenny
--
Lenny Tropiano ICUS Software Systems [w] +1 (516) 582-5525
lenny at icus.islp.ny.us Telex; 154232428 ICUS [h] +1 (516) 968-8576
{talcott,decuac,boulder,hombre,pacbell,sbcs}!icus!lenny attmail!icus!lenny
ICUS Software Systems -- PO Box 1; Islip Terrace, NY 11752
More information about the Unix-pc.general
mailing list