home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!decwrl!sdd.hp.com!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime.austin.ibm.com!konopik.austin.ibm.com!konopik
- From: konopik@konopik.austin.ibm.com (Brad Konopik)
- Newsgroups: comp.unix.aix
- Subject: Re: Modem cts/rts setup for AIX3.2 ?
- Message-ID: <1992Sep2.043840.19659@awdprime.austin.ibm.com>
- Date: 2 Sep 92 04:38:40 GMT
- References: <1992Aug3.211456.7937@colorado.edu> <BsHI4K.152n@icsbelf.uucp>
- Sender: news@awdprime.austin.ibm.com (USENET News)
- Organization: IBM AIX Porting Center, Austin
- Lines: 45
-
- In article <BsHI4K.152n@icsbelf.uucp> ianm@icsbelf.uucp (Ian Moran) writes:
- >cary@jove.colorado.edu (John R. Cary) writes:
- >>
- >>I try to set cts/rts and a higher speed, it fails. First off,
- >>I cannot even list the characteristics of the line:
- >>
- >>jove.root$ ls -l /dev/tty0
- >>crw-rw-rw- 1 uucp uucp 23, 0 Aug 03 14:48 /dev/tty0
- >>jove.root$ stty -a </dev/tty0
- >>ksh: /dev/tty0: 0403-016 Cannot find or open the file.
-
- you are redirecting input from /dev/tty0 ... ksh's open of /dev/tty0 is
- blocked in the tty's open() waiting for carrier detect.
-
- >>
- >>Also, so far the only way I know of to set the modem is to start up
- >>kermit and do AT commands. Then I exit Kermit. Is there a better
- >>way?
- >
- >There certainly is, use the BNU command 'cu' as in
- >
- >cu -l /dev/tty_whatever.
- >
- >Various options for cu exist including speed of device, parity etc. Check
- >these out in the manual. Also to use this you must have a DIRECT entry as
- >well as a ACU entry for that device in the Devices file.
-
- Well Ian, the ability to do 'cu -l' was one of the many tty things broken
- in the great CLOCAL fix of AIX 3.1's 2007. Anyhow, you now need to add
- a '-m' flag to tell cu not to clear the CLOCAL flag when it has made the
- connection to /dev/tty_whatever. My sniffing around shows that this fix
- is in PTF U402532 for APAR ix24051. It also seems that this PTF is
- superceded by an EVEN BETTER cu which contains the ability to specify
- a '-T' flag to override the default chat-string timeouts (which prove
- too short for most international calls). To get this latest 'cu', just
- ask for PTFs U405889 and U405786 (for APAR ix23642).
-
- I've used both fixes in their "emergency fix" form for AIX 3.1, hopefully
- the PTFs for AIX 3.2 will work as well.
-
- --
- tcpnet: konopik@konopik.austin.ibm.com | Brad Konopik
- ibmvnet: KONOPIK at AUSTIN | IBM AIX Porting Center, Austin
- internet: konopik.austin.ibm.com!konopik@ibmpa.awdpa.ibm.com
- uunet: ..!uunet!ibmsupt!ibmpa!konopik.austin.ibm.com!konopik
-