SOLUTION: Own Compiled Program Immediately Crashes on Startup

Igor Peshansky
Fri Jul 20 15:40:00 GMT 2007

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?
      |\      _,,,---,,_ |
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:
Problem reports:

More information about the Cygwin mailing list