Xref: utzoo unix-pc.general:2760 unix-pc.uucp:106 Path: utzoo!utgpu!watmath!uunet!cs.utexas.edu!rutgers!apple!bloom-beacon!bu-cs!att!icus!lenny From: lenny@icus.islp.ny.us (Lenny Tropiano) Newsgroups: unix-pc.general,unix-pc.uucp Subject: Re: Hardware flow control on tty000? Summary: Enabling HFC on any tty port. Keywords: HFC, xon-xoff, stty -ixon Message-ID: <659@icus.islp.ny.us> Date: 6 Apr 89 18:09:13 GMT References: <1298@naucse.UUCP> Reply-To: lenny@icus.islp.ny.us (Lenny Tropiano) Distribution: unix-pc Organization: ICUS Software Systems, Islip, New York Lines: 50 In article <1298@naucse.UUCP> sbw@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@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