Xref: utzoo comp.unix.aix:4954 comp.sys.ibm.pc.rt:2132 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!wuarchive!uunet!convex!egsner!swsrv1!toma From: toma@swsrv1.cirr.com (Tom Armistead) Newsgroups: comp.unix.aix,comp.sys.ibm.pc.rt Subject: Re: CU: questions on using cu Message-ID: <1991May7.210547.21542@swsrv1.cirr.com> Date: 7 May 91 21:05:47 GMT References: <1991May3.145533.26146@uvm.edu> Organization: Software Services: Garland, Tx Lines: 29 In article <1991May3.145533.26146@uvm.edu> moore@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@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@swsrv1.cirr.com {egsner,letni,ozdaltx,void}!swsrv1!toma