SOLUTION: Own Compiled Program Immediately Crashes on Startup

Brian Dessent brian@dessent.net
Fri Jul 20 03:40:00 GMT 2007


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.

Brian

--
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/



More information about the Cygwin mailing list