On Fri, 12 Apr 2002, Dr Andrew C Aitchison wrote: > I'm having problems with the patch > xc/programs/xterm/main.c,v 3.148 2002/04/10 16:20:09 tsi > @@ -2942,7 +2942,9 @@ > */ > TRACE_CHILD > #if defined(_POSIX_SOURCE) || defined(SVR4) || defined(__convex__) || > defined(SCO325) || defined(__QNX__) > - int pgrp = setsid(); /* variable may not be used... */ > +#if !defined(USE_SYSV_PGRP) > + int pgrp = setsid(); > +#endif > #else > int pgrp = getpid(); > #endif
> I'm using RedHat 6.2, and I find that with this patch something is up with > the controlling terminal (/dev/tty ?). > % yppasswd > Changing NIS account information for werdna on emu. > [1]+ Stopped (tty output) yppasswd > ---- > % ssh emu > [4]+ Stopped (tty input) ssh emu > - I then find the message asking me for emu's password appears on the > console instead of in the xterm window. > The change log says this change was to remove Warnings; > I guess the setsid call is needed (at least on Linux), even if the > result is never used. OK, I'll back it out. Thanks. Marc. +----------------------------------+-----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Computing and Network Services | fax: 1-780-492-1729 | | 352 General Services Building | email: [EMAIL PROTECTED] | | University of Alberta +-----------------------------------+ | Edmonton, Alberta | | | T6G 2H1 | Standard disclaimers apply | | CANADA | | +----------------------------------+-----------------------------------+ XFree86 Core Team member. ATI driver and X server internals. _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert