This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SOLUTION: Own Compiled Program Immediately Crashes on Startup


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@cs.nyu.edu | igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]