Unix Technical Forum

OSR6 stty rtsflow ctsflow missing

This is a discussion on OSR6 stty rtsflow ctsflow missing within the Sco Unix forums, part of the Unix Operating Systems category; --> Hi All, I have just upgraded a site from OSR 5.0.5 to 6.0.0. This has gone mostly well. I ...


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-15-2008, 05:23 PM
Rick Palen
 
Posts: n/a
Default OSR6 stty rtsflow ctsflow missing

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-15-2008, 05:23 PM
Bob Bailin
 
Posts: n/a
Default Re: OSR6 stty rtsflow ctsflow missing


"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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-15-2008, 05:23 PM
Rick Palen
 
Posts: n/a
Default Re: OSR6 stty rtsflow ctsflow missing

"Bob Bailin" <72027.3605@compuserve.com> wrote in
news:Sv_Ve.541$gK.457@newssvr22.news.prodigy.net:

>
> "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
>
>
>


Bob,

Thanks very much, that worked. Some of this software is old but
it just keeps on ticking!

Rick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-15-2008, 05:32 PM
Joe Chasan
 
Posts: n/a
Default Re: OSR6 stty rtsflow ctsflow missing

On Wed, Sep 14, 2005 at 07:05:22PM +0000, Bob Bailin wrote:
>
> "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.


the above made sense to me once i read the asyc (why is that not async?) man
page, but apparently not to the stock APC driver that comes with OSR6.

when running mkdev apc - to try and connect to com2/2a/2A/01h/01m, same
cable/UPS as had been running fine on 5.05, no port name seems acceptable
to the apc driver - all attempts return:

whatever_port_i_pick "is not currently set up for modem control (-clocal)"

--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
-Joe Chasan- Magnatech Business Systems, Inc.
joe@magnatechonline.com Hicksville, NY - USA
http://www.MagnatechOnline.com Tel.(516) 931-4444/Fax.(516) 931-1264
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-15-2008, 05:32 PM
John DuBois
 
Posts: n/a
Default Re: OSR6 stty rtsflow ctsflow missing

In article <20051107100740.A12217@magnatechonline.com>,
Joe Chasan <joe@magnatechonline.com> wrote:
>the above made sense to me once i read the asyc (why is that not async?)


asyc is the name of the driver. async is a different driver unreleated to
serial ports.

>man page, but apparently not to the stock APC driver that comes with OSR6.
>
>when running mkdev apc - to try and connect to com2/2a/2A/01h/01m, same
>cable/UPS as had been running fine on 5.05, no port name seems acceptable
>to the apc driver - all attempts return:
>
>whatever_port_i_pick "is not currently set up for modem control (-clocal)"


This will be fixed in MP2.

I haven't tried this, but I think that if you replaced /usr/lib/apc/portcheck
with this script:

#!/bin/sh
exit 1

it should short-circuit mkdev apc's test for whether a port supports modem
control. Be sure to use e.g. 1A or 2A, or you may find your system being
immediately shut down...

John
--
John DuBois spcecdt@armory.com KC6QKZ/AE http://www.armory.com/~spcecdt/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:38 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com