home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aix / 9313 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  2.5 KB

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