(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



Best of the Newsgroups: asyc

Main Index

From: "Bob Bailin" <72027.3605@compuserve.com>
References: <Xns96D17CB24085rickpalen@69.28.186.121> 
Subject: Re: OSR6 stty rtsflow ctsflow missing
Message-ID: <Sv_Ve.541$gK.457@newssvr22.news.prodigy.net> 
Date: Wed, 14 Sep 2005 19:05:22 GMT


"Rick Palen" <rickpalen@hotmail.com> wrote in message 
news:Xns96D17CB24085rickpalen@69.28.186.121...
> Hi All,
>
> I have just upgraded a site from OSR 5.0.5 to 6.0.0.  This has
> gone mostly well.
>
> I am now trying to set up DigiFax which they have been using for
> years.  I tried to set hardware flow control for the modem port
> using stty -ortsfl ctsflow rtsflow but stty no longer recognizes
> any of those three flags.  They are still in the docs!
>
> Anybody know where they went or what I may be doing wrong?  How
> can I set up hardware flow control for tty1A?
>
> Thanks,
> Rick Palen

You're doing nothing wrong. It looks like they're changing over
to rtsxoff and ctsxon, but these options aren't enabled in stty yet,
and the man pages for stty and termio haven't been updated.
Look at man asyc for other options to open the serial port
with certain modes already enabled, by using devices in /dev/tty*
and /dev/term:

# l /dev/tty1[aA]
crw-rw-rw-    1 root     root       3,  3 Aug 30 12:03 /dev/tty1A
crw-rw-rw-    1 root     root       3,  2 Aug 30 12:03 /dev/tty1a

# l /dev/tty00*
crw-rw-rw-    1 bin      bin        3,  0 Jul 21 06:51 /dev/tty00
crw-rw-rw-    1 root     root       3,  1 Aug 30 12:03 /dev/tty00h
crw-rw-rw-    1 root     root       3,  3 Aug 30 12:03 /dev/tty00m
crw-rw-rw-    1 root     root       3,  0 Aug 30 12:03 /dev/tty00s
crw-rw-rw-    1 root     root       3,  2 Aug 30 12:03 /dev/tty00t

# l /dev/term/00*
crw-rw-rw-    1 root     root       3,  0 Aug 30 12:03 /dev/term/00
crw-rw-rw-    1 root     root       3,  1 Aug 30 12:03 /dev/term/00h
crw-rw-rw-    1 root     root       3,  3 Aug 30 12:03 /dev/term/00m
crw-rw-rw-    1 root     root       3,  0 Aug 30 12:03 /dev/term/00s
crw-rw-rw-    1 root     root       3,  2 Aug 30 12:03 /dev/term/00t

So, /dev/term/00t and /dev/tty00t are the equivalent of /dev/tty1a (terminal),
and /dev/term/00m and /dev/tty00m are the equivalent of /dev/tty1A (modem).

/dev/term/00h and /dev/tty00h have RTS/CTS (hardware) handshaking enabled.
(This is the one you're looking for.)

/dev/term/00, /dev/term/00s, /dev/tty00 and /dev/tty00s have XON/XOFF
(software) flow-control enabled.

Bob 





Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



/Bofcusm/2611.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.



More:
       - OSR5
       - Bofcusm


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress