home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!psinntp!curly.appmag.com!pa
- From: pa@curly.appmag.com (Pierre Asselin)
- Newsgroups: comp.unix.aix
- Subject: Re: Can't send a break signal to a serial line defined as /dev/lp1
- Message-ID: <1196@curly.appmag.com>
- Date: 24 Jul 92 15:15:53 GMT
- References: <Brt9G2.IAD@watserv1.waterloo.edu>
- Organization: Applied Magnetics, Goleta, CA
- Lines: 25
-
- In <Brt9G2.IAD@watserv1.waterloo.edu>
- hesse@watserv1.waterloo.edu (BJ Cameron - DCS) writes:
-
- >if(ioctl(ttyf, TCSBRK, 0) < 0 )
- > perror("Can't send BREAK: ");
-
- >If the backend file is /dev/lp1 the error is returned. If the backend file
- >is /dev/tty0 a BREAK signal is transmitted.
-
- Is there such a thing as a BREAK on a parallel interface?
-
- On a *serial* line a BREAK is a logical 0 held for a longer time than
- normal (500ms?). It is *not* a character with all the bits zero
- because the stop bit (at logical 1) doesn't show up in time and the
- receiver raises a framing error.
-
- >Any ideas?
-
- Yep. Read the fine print of the printer documentation. What you are
- trying to do may be possible only if you use the serial interface.
- But the parallel interface is ususally faster.
- --
-
- --Pierre Asselin, Magnetoresistive Head Engineering, Applied Magnetics.
- pa@appmag.com the usual disclaimers apply.
-