Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: bash within XEmacs References: <87exfzkgzc DOT fsf AT amazon DOT lbin DOT com> Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII From: Ian T Zimmerman Date: 02 Jul 1999 17:46:54 +0000 In-Reply-To: Ian T Zimmerman's message of "01 Jul 1999 20:50:55 +0000" Message-ID: <87diviiuu1.fsf@amazon.lbin.com> Lines: 34 X-Mailer: Gnus v5.6.45/XEmacs 21.0(beta67) - "20 minutes to Nikko" I wrote: Ian> I am still getting those pesky messages: Ian> [main] d:\cygwin-b20\H-i586-cygwin32\bin\bash.exe 1048 (0) fhandler_base::fork_fixup: /dev/tty1 - error 6, handle 0x0 Ian> [main] d:\cygwin-b20\H-i586-cygwin32\bin\bash.exe 1049 (0) fhandler_base::fork_fixup: /dev/tty1 - error 6, handle 0x0 Ian> [main] d:\cygwin-b20\H-i586-cygwin32\bin\bash.exe 1050 (0) fhandler_base::fork_fixup: /dev/tty1 - error 6, handle 0x0 Ian> [main] d:\cygwin-b20\H-i586-cygwin32\bin\bash.exe 1051 (0) fhandler_base::fork_fixup: /dev/tty1 - error 6, handle 0x0 Ian> [main] d:\cygwin-b20\H-i586-cygwin32\bin\bash.exe 1052 (0) fhandler_base::fork_fixup: /dev/tty1 - error 6, handle 0x0 Ian> [main] d:\cygwin-b20\H-i586-cygwin32\bin\bash.exe 1053 (0) fhandler_base::fork_fixup: /dev/tty1 - error 6, handle 0x0 Ian> [main] d:\cygwin-b20\H-i586-cygwin32\bin\bash.exe 1054 (0) fhandler_base::fork_fixup: /dev/tty1 - error 6, handle 0x0 Ian> amazon:~$ Ian> And one more everytime a start a program from this shell. For extra Ian> weirdness, this is not completely reproducible, sometimes it starts Ian> cleanly, OTOH sometimes (rarely) it's DOA. I can discern no pattern Ian> in the situations with various outcomes. Ian> NT4 SP5, NTFS, binary mount, CYGWIN=tty ntea I have since found I don't get the messages when I (setq process-conection-type nil) in Xemacs (forcing it to use pipes instead of ptys). So it is specific to fhandler_[pt]ty*. Of course interacting through pipes is not really desirable and leads to other problems. What is interesting is the message refers to /dev/tty1 which shouldn't be involved, it ought to be /dev/ttyp1 (if the virtual device names are Unixy-sensible at all). -- Ian Zimmerman Lightbinders, Inc. 2325 3rd Street #324, San Francisco, California 94107 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com