Xref: utzoo comp.unix.aix:5070 comp.sys.ibm.pc.rt:2148 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!gandp!rg From: rg@gandp (Dick Gill) Newsgroups: comp.unix.aix,comp.sys.ibm.pc.rt Subject: Re: CU: questions on using cu Message-ID: <354@gandp> Date: 13 May 91 22:43:04 GMT References: <1991May3.145533.26146@uvm.edu> <1991May11.201913.20504@pensoft.uucp> Reply-To: rg@gandp.UUCP (Dick Gill) Organization: Gill & Piette, Inc. Lines: 19 In article <1991May11.201913.20504@pensoft.uucp> robin@pensoft.uucp (Robin Wilson) writes: >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 ... remote system. An example of one of the commands I might be >)is there any way I can find out what device I am connected to >)after I issue the cu command? > >Have you tried: "~! tty" ? This will, I think, give you the tty of your terminal, not the modem. Although I have not tried it on an RS/6000, I suspect that you can get the handle you want from the lock files in /usr/spool/locks (or the RS/6000 equivalent). -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Dick Gill Gill & Piette, Inc. (703)761-1163 ..uunet!gandp!rg