Xemacs on Windows not a 'con' TTY

Paul Labbe <[email protected]> Thu, 21 Oct 2004 12:19:51 -0400
Newsgroups gmane.emacs.xemacs.general
Message-ID <[email protected]>
Hi all,

I am using the version of xemacs from 
http://www.xemacs.org/Download/win32/setup.exe on my Windows 2000 
5.00.2195 Service Pack 4. (xemacs-21.4.13).

When I go in `M-x shell` and do "ps", I get:

sh-2.05b$ ps
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
     2648       1    2648       2648    ? 11857   Oct 19 
/usr/local/bin/i686-pc-cygwin/xemacs-21.4.13
     1680    2648    1680        732    2 11857 11:35:11 /usr/bin/bash
     1340    1680    1340       1904    2 11857 12:10:39 /usr/bin/ps

As you see, my xemacs is not a "con" TTY. So everytime I try to compile 
a file, a window pops up and the compilation messages are printed in 
this window which dies when the compilation finishes. I was expecting 
the compilation mode to start a shell and to run my compilation command 
and to have the compilation messages in the compilation buffer. But 
whenever the compiler is invoked, either my bash thinks it is not a tty, 
or the compiler thinks it has no tty.

Can someone help?

Thanks,
Paul