CU: questions on using cu

Tom Armistead toma at swsrv1.cirr.com
Wed May 8 07:05:47 AEST 1991


In article <1991May3.145533.26146 at uvm.edu> moore at emily.uvm.edu (Bryan Moore) writes:
>
>I am using the 'cu' command to connect to a modem and dial
>a remote system. An example of one of the commands I might be
>using is 'cu -s2400 8021234567' where 2400 is the bps, and
>8021234567 is the phone number. I have 8 modems connected to the
>system and I never know which one is going to be free, so I can't
>specify at any time, when I issue the command the device with an
>l flag ( -ltty18 ). So my question is, given this setup,
>is there any way I can find out what device I am connected to
>after I issue the cu command?
>
>Thanks!
>
>BRYAN R. MOORE          	    |   "Last night I had that same old dream
>EMAIL: moore at uvm-gen.uvm.edu	    |    it rocked me in my sleep, it gave me
>USMAIL: 12 Waybury Rd. Colchester,  |    the impression the sandman plays for 
>  Vermont 05446                     |    keeps..."   Larry Norman

You can use cu in debug mode.  Seems to me that this shows the tty device that
cu connects to?

Ex. $ cu -d -s2400 8021234567

Tom
-- 
Tom Armistead - Software Services - 2918 Dukeswood Dr. - Garland, Tx  75040
===========================================================================
toma at swsrv1.cirr.com                {egsner,letni,ozdaltx,void}!swsrv1!toma



More information about the Comp.unix.aix mailing list