home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!gatech!destroyer!sol.ctr.columbia.edu!usc!cs.utexas.edu!torn!watserv1!hesse
- From: hesse@watserv1.uwaterloo.ca (BJ Cameron - DCS)
- Subject: Re: Can't send a break signal to a serial line defined as /dev/lp1
- Message-ID: <Bs1qvp.BrM@watserv1.uwaterloo.ca>
- Organization: University of Waterloo
- References: <1196@curly.appmag.com>
- Date: Mon, 27 Jul 1992 12:04:36 GMT
- Lines: 18
-
- From article <1196@curly.appmag.com>, by pa@curly.appmag.com (Pierre Asselin):
- > 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?
- Beats me, but then I'm not talking about a parallel interface; my subject line
- states: "can't send a break signal to a SERIAL line defined as /dev/lp1".
- It is possible to define a printer under AIX as "osp - other serial printer"
- in which case the device you talk to is /dev/lp1 (not /dev/tty1). In fact,
- you have to go out of your way to make the backend talk to a /dev/tty1 device; I
- had to edit the qconfig file and change the lp1 to a tty type device.
- Bri
-