X-Spam-Check-By: sourceware.org
Message-ID: <46A02EB1.BD3D0514@dessent.net>
Date: Thu, 19 Jul 2007 20:40:33 -0700
From: Brian Dessent <brian@dessent.net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: SOLUTION: Own Compiled Program Immediately Crashes on Startup
References: <026a01c7c932$4cae0810$2e08a8c0@CAM.ARTIMI.COM> <20070718121556.83920@gmx.net> <026e01c7c936$bad581c0$2e08a8c0@CAM.ARTIMI.COM> <20070718133420.83920@gmx.net> <027901c7c941$c6e51e70$2e08a8c0@CAM.ARTIMI.COM> <20070718140257.83920@gmx.net> <027e01c7c947$31c0d310$2e08a8c0@CAM.ARTIMI.COM> <469E25B2.3A0A359A@dessent.net> <20070718150917.83910@gmx.net> <469E31D4.4733053E@dessent.net> <20070719205412.GA7046@df8xq-l2.streibel.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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/

