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. -- Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge [EMAIL PROTECTED] http://www.dpmms.cam.ac.uk/~werdna _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert