From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 23D5DBB81 for ; Wed, 24 Nov 2004 03:53:26 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iAO2rP8j026653 for ; Wed, 24 Nov 2004 03:53:25 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id DAA03296 for ; Wed, 24 Nov 2004 03:53:25 +0100 (MET) Received: from avas6.globetrotter.net (smtp1.globetrotter.net [142.169.1.151]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iAO2rObt026642 for ; Wed, 24 Nov 2004 03:53:24 +0100 Received: from smtp1.telusquebec.local(192.168.250.8) by avas6.globetrotter.net via csmap id e79264ae_3dc3_11d9_9220_0002b3e6f1b0_8454; Tue, 23 Nov 2004 21:52:40 -0500 (EST) Received: from avas6.globetrotter.net (ts1-578.f1782.globetrotter.net [142.169.186.103]) by smtp1.globetrotter.net (iPlanet Messaging Server 5.2) with ESMTPA id <0I7N001NNXBM11@"TELUS Quebec"> for caml-list@inria.fr; Tue, 23 Nov 2004 21:52:36 -0500 (EST) Received: from ts1-578.f1782.globetrotter.net(142.169.186.103) by avas6.globetrotter.net via csmap id ca55edca_3dc3_11d9_9ca6_0002b3e6f1b0_7713; Tue, 23 Nov 2004 21:51:51 -0500 (EST) Date: Tue, 23 Nov 2004 21:52:34 -0500 From: Normand Leclerc Subject: Ocamlwin.exe Flaky ? To: caml-list@inria.fr Reply-To: Normand Leclerc Message-id: <2226355.20041123215234@globetrotter.net> MIME-version: 1.0 X-Mailer: The Bat! (v3.0.1.33) Professional Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Priority: 3 (Normal) X-Miltered: at nez-perce with ID 41A3F7A5.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 41A3F7A4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; beginner's:01 stdout:01 stdin:01 emacs:01 ocaml:01 output:02 ocamlwin:02 ocamlwin:02 languages:03 string:03 string:03 let:03 flush:03 norm:06 exe:10 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: Hi, I asked this to the beginner's list but the answer was elliptic. I re-ask it here. OcamlWin.exe is consistently crashning. I don't know if it is because of SP2 of WinXP, but I would be surprised, as the rest is holding well. Also, I do not have the choice of Win. In general, OcamlWin is working, butI crash it from I/O, when reading the keyboard : print_string "What's your name ? "; flush stdout; let answer = input_line stdin in print_string ("Hello " ^ answer); print_string ", nice to meet you!\n"; Also, apart of an Emacs mode, is it possible to redirect the interpreter's output to my small editor with with I do my own handy auto-completion. I do it with other languages, but never found the way to do it with Ocaml. As a matter of fact, even .Ocamlinit in the same directory of OcamlWin.exe is not able to change the working directory with directives. Thanks for any help. -- Norm.