This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: icewm and xterm
- To: "Steven O'Brien" <steven dot obrien at arjuna dot com>
- Subject: Re: icewm and xterm
- From: Alan Hourihane <alanh at fairlite dot demon dot co dot uk>
- Date: Tue, 21 Aug 2001 12:16:58 +0100
- Cc: cygwin-xfree at cygwin dot com
- References: <FOENLLOCLBGGJCFGNPELAEPJCAAA.steven.obrien@arjuna.com>
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