home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / aix / 8213 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.3 KB  |  29 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!gatech!destroyer!sol.ctr.columbia.edu!usc!cs.utexas.edu!torn!watserv1!hesse
  3. From: hesse@watserv1.uwaterloo.ca (BJ Cameron - DCS)
  4. Subject: Re: Can't send a break signal to a serial line defined as /dev/lp1
  5. Message-ID: <Bs1qvp.BrM@watserv1.uwaterloo.ca>
  6. Organization: University of Waterloo
  7. References: <1196@curly.appmag.com>
  8. Date: Mon, 27 Jul 1992 12:04:36 GMT
  9. Lines: 18
  10.  
  11. From article <1196@curly.appmag.com>, by pa@curly.appmag.com (Pierre Asselin):
  12. > In <Brt9G2.IAD@watserv1.waterloo.edu>
  13. > hesse@watserv1.waterloo.edu (BJ Cameron - DCS) writes:
  14. >>if(ioctl(ttyf, TCSBRK, 0) < 0 )
  15. >>           perror("Can't send BREAK: ");
  16. >>If the backend file is /dev/lp1 the error is returned.  If the backend file
  17. >>is /dev/tty0 a BREAK signal is transmitted.
  18. > Is there such a thing as a BREAK on a parallel interface?
  19. Beats me, but then I'm not talking about a parallel interface; my subject line
  20. states: "can't send a break signal to a SERIAL line defined as /dev/lp1".
  21. It is possible to define a printer under AIX as "osp - other serial printer"
  22. in which case the device you talk to is /dev/lp1 (not /dev/tty1).  In fact,
  23. you have to go out of your way to make the backend talk to a /dev/tty1 device; I
  24. had to edit the qconfig file and change the lp1 to a tty type device.
  25. Bri
  26.