home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.next.misc:23545 comp.sys.next.hardware:3177
- Path: sparky!uunet!europa.asd.contel.com!gatech!swrinde!zaphod.mps.ohio-state.edu!menudo.uh.edu!menudo.uh.edu!usenet
- From: sears@tree.egr.uh.edu (Paul S. Sears)
- Newsgroups: comp.sys.next.misc,comp.sys.next.hardware
- Subject: Reading data from serial ports
- Date: 6 Jan 1993 16:39:55 GMT
- Organization: University of Houston
- Lines: 18
- Message-ID: <1if20rINNfjn@menudo.uh.edu>
- Reply-To: sears@uh.edu
- NNTP-Posting-Host: thanatos.egr.uh.edu
-
-
- Is there a way to read data in from the serial ports? We have tried
- something to the effect of
-
- cat /dev/ttya | od -c
-
- but we are not getting any results. We need to grab all data comming in
- via either serial port and the data is 8-bit (binary, thus the need to
- pipe to od). Can anyone tell me what we are doing wrong? Which of the
- ttys would be best to use (ttya, ttyda, ttydfa, ttydfa)?
-
- --
- Paul S. Sears * sears@uh.edu (NeXT Mail OK)
- The University of Houston * suggestions@tree.egr.uh.edu (NeXT
- Engineering Computing Center * comments, complaints, questions)
- NeXT System Administration * DoD#1967 '83 NightHawk 650SC
- >>> SSI Diving Certification #755020059 <<<
- "Programming is like sex: One mistake and you support it a lifetime."
-