icewm and xterm
Alan Hourihane
alanh@fairlite.demon.co.uk
Tue Aug 21 04:14:00 GMT 2001
I've just fixed this in the CVS code.
Alan.
On Tue, Aug 21, 2001 at 12:05:19PM +0100, Steven O'Brien wrote:
>
> Bruce Dobrin wrote:
> > Hi, I'm using icewm and I found that if I try to use xterm in the menu or
> > toolbar I get the message:
>
> > xterm: Error 14, errno 2: No such file or directory
>
> Xterm generates this message when it is started without a controlling
> terminal. The following program demonstrates this:
>
> #include <unistd.h>
> int main() {
> if (fork() == 0) {
> setsid();
> execlp("xterm", "xterm", NULL);
> }
> }
>
> When run this generates the above error (assuming the X11R6 bin directory is
> in your path). If you remove the call to setsid() then xterm starts.
>
> This looks like a bug in the xterm code, as I don't see why it should need
> to inherit a controlling tty, but maybe someone can enlighten me here.
>
> Steven
>
> Steven O'Brien Tel: +44 (0) 191 206 4544
> HP Bluestone Arjuna Labs. Fax: +44 (0) 191 206 4203
> Rotterdam House Email: steven.obrien@arjuna.com
> 116 Quayside Web: http://www.arjuna.com
> Newcastle-Upon-Tyne
> NE1 3DY
> United Kingdom
More information about the Cygwin-xfree
mailing list