home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 6574 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.5 KB  |  51 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!news.belwue.de!news.belwue.de!juh
  3. From: juh@qt.IPA.FhG.de (Juergen Henke)
  4. Subject: Re: Xphoon.  Again.
  5. In-Reply-To: unixsys@ssg.com's message of Thu, 23 Jul 1992 15:28:28 GMT
  6. Message-ID: <JUH.92Jul24000528@lazy.qt.IPA.FhG.de>
  7. Sender: news@news.belwue.de (USENet News Administration BelWue)
  8. Organization: Fraunhofer Inst. f. Manufact. Engineering a. Automation,
  9.     Stuttgart, Germany
  10. References: <6PcDoB2w165w@ssg.com>
  11. Date: Thu, 23 Jul 1992 23:05:28 GMT
  12. Lines: 37
  13.  
  14.  
  15. Had no problems with xphoon. Just ifndef out the offending ioctl :-).
  16. Works fine (right at the moment !).
  17.  
  18. Juergen
  19.  
  20. P.S.: Not to say that's a patch... :-)
  21.  
  22.  
  23. *** xphoon.c-orig       Thu Jul 23 23:54:31 1992
  24. --- xphoon.c    Mon Jul 13 19:09:39 1992
  25. ***************
  26. *** 199,204 ****
  27. --- 199,205 ----
  28.             }
  29.         else
  30.             {
  31. + #ifndef linux
  32.             if ( ioctl( tty, TIOCNOTTY, 0 ) < 0 )
  33.                 {
  34.                 (void) fprintf( stderr, "%s: ", argv0 );
  35. ***************
  36. *** 205,210 ****
  37. --- 206,212 ----
  38.                 perror( "TIOCNOTTY ioctl" );
  39.                 exit( 1 );
  40.                 }
  41. + #endif
  42.             (void) close( tty );
  43.             }
  44.         }
  45. --
  46. _________________________________________________________________________
  47. Juergen Henke, e-mail juh@IPA.FhG.de, PSI-mail PSI%4505016002::JUH_IPA
  48. Fraunhofer-Institut f. Produktionstechnik u. Automatisierung
  49. Nobelstrasse 12, D-7000 Stuttgart 80
  50. (ATK-mail and MIME-mail welcome)
  51.