Article View: comp.sys.next.misc
Article #4729Reading data from serial ports
From: Paul S. Sears
Date: Wed, 06 Jan 1993 16:39
Date: Wed, 06 Jan 1993 16:39
18 lines
1246 bytes
1246 bytes
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."
Technical Details
Message-ID:
<1if20rINNfjn@menudo.uh.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!gatech!swrinde!zaphod.mps.ohio-state.edu!menudo.uh.edu!menudo.uh.edu!usenetShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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