home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!cs.utexas.edu!torn!watserv1!hesse
- From: hesse@watserv1.waterloo.edu (BJ Cameron - DCS)
- Subject: Can't send a break signal to a serial line defined as /dev/lp1
- Message-ID: <Brt9G2.IAD@watserv1.waterloo.edu>
- Organization: University of Waterloo
- Date: Wed, 22 Jul 1992 22:07:13 GMT
- Lines: 13
-
-
- I am having problems sending a break signal to a serial line printer. I
- replaced the default backend program (piobe) with my own; this program
- attempts to send a break via the following code:
-
- 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.
-
- Any ideas?
- Thanks... Bri
-