home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!news.belwue.de!news.belwue.de!juh
- From: juh@qt.IPA.FhG.de (Juergen Henke)
- Subject: Re: Xphoon. Again.
- In-Reply-To: unixsys@ssg.com's message of Thu, 23 Jul 1992 15:28:28 GMT
- Message-ID: <JUH.92Jul24000528@lazy.qt.IPA.FhG.de>
- Sender: news@news.belwue.de (USENet News Administration BelWue)
- Organization: Fraunhofer Inst. f. Manufact. Engineering a. Automation,
- Stuttgart, Germany
- References: <6PcDoB2w165w@ssg.com>
- Date: Thu, 23 Jul 1992 23:05:28 GMT
- Lines: 37
-
-
- Had no problems with xphoon. Just ifndef out the offending ioctl :-).
- Works fine (right at the moment !).
-
- Juergen
-
- P.S.: Not to say that's a patch... :-)
-
-
- *** xphoon.c-orig Thu Jul 23 23:54:31 1992
- --- xphoon.c Mon Jul 13 19:09:39 1992
- ***************
- *** 199,204 ****
- --- 199,205 ----
- }
- else
- {
- + #ifndef linux
- if ( ioctl( tty, TIOCNOTTY, 0 ) < 0 )
- {
- (void) fprintf( stderr, "%s: ", argv0 );
- ***************
- *** 205,210 ****
- --- 206,212 ----
- perror( "TIOCNOTTY ioctl" );
- exit( 1 );
- }
- + #endif
- (void) close( tty );
- }
- }
- --
- _________________________________________________________________________
- Juergen Henke, e-mail juh@IPA.FhG.de, PSI-mail PSI%4505016002::JUH_IPA
- Fraunhofer-Institut f. Produktionstechnik u. Automatisierung
- Nobelstrasse 12, D-7000 Stuttgart 80
- (ATK-mail and MIME-mail welcome)
-