home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sun / misc / 6188 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.3 KB  |  33 lines

  1. Newsgroups: comp.sys.sun.misc
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!mlb.semi.harris.com!sloth.mlb.semi.harris.com!pjp
  3. From: pjp@sloth.mlb.semi.harris.com (Pat J. Pinchera)
  4. Subject: Re: Serial Commmunication between a Sun IPC and 68000
  5. References: <1993Jan7.223609.16598@mlb.semi.harris.com> <1993Jan8.161125.288@mlb.semi.harris.com>
  6. Date: Fri, 8 Jan 1993 20:45:56 GMT
  7. Nntp-Posting-Host: sloth.mlb.semi.harris.com
  8. Organization: Interface & Control Systems, Inc., Melbourne FL
  9. Sender: news@mlb.semi.harris.com
  10. Message-ID: <1993Jan8.204556.8165@mlb.semi.harris.com>
  11. Lines: 20
  12.  
  13. In article <1993Jan8.161125.288@mlb.semi.harris.com> pjp@sloth.mlb.semi.harris.com (I) wrote:
  14. >In article <1993Jan7.223609.16598@mlb.semi.harris.com> pjp@sloth.mlb.semi.harris.com (I) wrote:
  15.  
  16. [stuff deleted]
  17. >
  18. >OK, so how can I make the read happen without those nasty little <NL>'s?
  19. >
  20.  
  21. Looking through the man page of 'termio', there's a ICANON flag on the
  22. local flags that indicates Canonical Input Processing. If this is set
  23. (which it is by default, I did NOT change it), then a read will NOT take
  24. place until a <NL> is seen. So if you add to my original posting the
  25. local flag:
  26.             localFlag:    ECHO ISIG
  27. I get the behaviour I want.
  28.  
  29. Thanks to Guy who sent me e-mail about 10 minutes after I figured this
  30. out. This is a great resource for information!!
  31.  
  32. Pat
  33.