Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.kei.com!news.byu.edu!news.mtholyoke.edu!nic.umass.edu!umassd.edu!binary From: binary@cis.umassd.edu (A. Paulo Silva) Subject: shell script for modem i/o Message-ID: <CpvE5z.K6w@umassd.edu> Keywords: modem i/o shell script Sender: usenet@umassd.edu (USENET News System) Organization: University of Massachusetts Dartmouth Date: Mon, 16 May 1994 00:46:46 GMT Lines: 15 I attempting to write a shell ( ksh ) to setup an auto term connection. Writing to the modem is simple enough : echo -ne "at\r" > dev/modem But my problem is reading from /dev/modem ( /dev/cua1 ). Grepping /dev/modem is out of the question since /dev/modem since grep expects EOF ( ctrl^z ) Any shell script wizards out there :) Thanks in advance for any help A Paulo Silva