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