From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA13160; Thu, 28 Aug 2003 19:01:55 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA13208 for ; Thu, 28 Aug 2003 19:01:54 +0200 (MET DST) Received: from cat.nyu.edu (CAT.NYU.EDU [128.122.47.28]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h7SH1rf21693 for ; Thu, 28 Aug 2003 19:01:53 +0200 (MET DST) Received: from tomlaptop1 (gort.math.pitt.edu [136.142.124.24]) by cat.nyu.edu (Postfix) with ESMTP id D357819D51 for ; Thu, 28 Aug 2003 13:01:43 -0400 (EDT) From: "Sean McLaughlin" To: Subject: [Caml-list] emacs cygwin ocaml interrupt Date: Thu, 28 Aug 2003 13:01:42 -0400 Message-ID: <000a01c36d86$1127eba0$187c8e88@tomlaptop1> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01C36D64.8A164BA0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; sean:99 nyu:99 cygwin:01 cygwin:01 vanilla:01 c-c:01 c-c:01 flashes:99 sean:99 vanilla:01 flashes:99 ocaml:01 ocaml:01 emacs:01 emacs:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk This is a multi-part message in MIME format. ------=_NextPart_000_000B_01C36D64.8A164BA0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I'd like to use the cygwin build of ocaml through emacs. I'm using vanilla emacs and cygwin, with the shell connection cygwin-mount.el. For some reason, when I use the binary windows edition of ocaml, I can send ocaml interrupts through emacs with C-c C-c. With the cygwin built version, though, I can't get any interrupts to work. I tried sifting through the 21 different signals but couldn't find out what ocaml is doing with C-c C-c. The emacs window just flashes. I can't use this version if I can't interrupt, but I need the regular expressions of the cygwin version. Has anyone else had this problem? Best, Sean ------=_NextPart_000_000B_01C36D64.8A164BA0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
Hello,
 
  = I'd like to=20 use the cygwin build of ocaml through emacs.  I'm using vanilla = emacs=20 and cygwin, with the shell connection cygwin-mount.el.  For = some=20 reason, when I use the binary windows edition of ocaml, I can send ocaml = interrupts through emacs with C-c C-c.  With the cygwin built = version,=20 though, I can't get any interrupts to work.  I tried sifting = through the 21=20 different signals but couldn't find out what ocaml is doing with = C-c=20 C-c.  The emacs window just flashes.  I can't use this version = if I=20 can't interrupt, but I need the regular expressions of the cygwin = version. =20 Has anyone else had this problem? 
 
Best,
 
Sean
------=_NextPart_000_000B_01C36D64.8A164BA0-- ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA00692; Fri, 29 Aug 2003 17:38:41 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA14666 for ; Fri, 29 Aug 2003 17:38:40 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h7TFcWf26789; Fri, 29 Aug 2003 17:38:32 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA01692; Fri, 29 Aug 2003 17:38:32 +0200 (MET DST) Date: Fri, 29 Aug 2003 17:38:32 +0200 From: Xavier Leroy To: Sean McLaughlin Cc: caml-list@inria.fr Subject: Re: [Caml-list] emacs cygwin ocaml interrupt Message-ID: <20030829173832.B10551@pauillac.inria.fr> References: <000a01c36d86$1127eba0$187c8e88@tomlaptop1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <000a01c36d86$1127eba0$187c8e88@tomlaptop1>; from seanmcl@cs.nyu.edu on Thu, Aug 28, 2003 at 01:01:42PM -0400 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 cygwin:01 cygwin:01 vanilla:01 c-c:01 c-c:01 ctrl-c:01 runtime:01 ocaml:01 ocaml:01 emacs:01 emacs:01 binary:02 native:02 unix:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > I'd like to use the cygwin build of ocaml through emacs. I'm using > vanilla emacs and cygwin, with the shell connection cygwin-mount.el. > For some reason, when I use the binary windows edition of ocaml, I can > send ocaml interrupts through emacs with C-c C-c. With the cygwin built > version, though, I can't get any interrupts to work. I tried sifting > through the 21 different signals but couldn't find out what ocaml is > doing with C-c C-c. Win32 doesn't have an exact equivalent to Unix signals, so software ported from Unix (such as Emacs and OCaml, as well as Cygwin itself) do a best effort to emulate them, but that doesn't mean the emulations work well together... The native Windows port of OCaml goes to some length to trap the "ctrl-C" and "ctrl-break" conditions (which can be generated at the keyboard or programmatically) and turn them into SIGINT signals. Apparently, Emacs generates the right conditions in reply to C-c C-c. The Cygwin build just relies on the Cygwin runtime environment to emulate Unix signals, and I have no idea on what Cygwin does exactly. - Xavier Leroy ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners