X-Spam-Check-By: sourceware.org Date: Fri, 20 Jul 2007 11:40:21 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: SOLUTION: Own Compiled Program Immediately Crashes on Startup In-Reply-To: <46A02EB1.BD3D0514@dessent.net> Message-ID: References: <026a01c7c932$4cae0810$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <20070718121556 DOT 83920 AT gmx DOT net> <026e01c7c936$bad581c0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <20070718133420 DOT 83920 AT gmx DOT net> <027901c7c941$c6e51e70$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <20070718140257 DOT 83920 AT gmx DOT net> <027e01c7c947$31c0d310$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <469E25B2 DOT 3A0A359A AT dessent DOT net> <20070718150917 DOT 83910 AT gmx DOT net> <469E31D4 DOT 4733053E AT dessent DOT net> <20070719205412 DOT GA7046 AT df8xq-l2 DOT streibel DOT net> <46A02EB1 DOT BD3D0514 AT dessent DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Thu, 19 Jul 2007, Brian Dessent wrote: > Hans Streibel wrote: > > > Jove is an Emacs like editor. As such it uses the key sequence > > CONTROL-X CONTROL-C (^X^C) for leaving the editor. > > In Cygwin however ^C still sends the interrupt signal to the editor. > > However the keystroke ^C should have been changed to not sending > > that signal. On most platforms that works - but not in Cygwin. > > > > I can't tell right now what mechanism Jove is using for handling > > the terminal under Cygwin. There so many mechanisms: > > "struct termio", "struct termios", "struct sgttyb". > > Jove under Cygwin follows BSD POSIX. > > Try adding 'tty' to the CYGWIN environment variable. Or use > rxvt/xterm/etc. These are two different ways of achieving the same > outcome, namely that the program will be attached to a unix-style pty > instead of a Windows console. You know, I was sure this was an FAQ, and was about to reply pointing that out, but decided to check, and couldn't find any mention of the Ctrl-C problem and the CYGWIN=tty or non-console window solution, with or without emacs. Does someone want to rectify this omission by sending a patch against the FAQ sources? Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/