home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / misc / 23545 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.3 KB

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