Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] pipe puzzle
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Issac Trotts <ijtrotts@u...>
Subject: Re: [Caml-list] pipe puzzle
POUS Damien wrote:

>On Fri, 21 Feb 2003, Issac Trotts wrote:
>>I have an alias (called 'o' because I use it often) that does
>>the following:
>>   (echo "let print s = print_string s; print_newline();;"; ledit) | ocaml
>>It works just fine except that when I suspend the process, and then
>>    fg
>>it tells me
>>  Signal 44
>>and kills off my OCaml session.  Can someone here shed some light
>>on this?
>ledit don't like suspends... the signal kill it, and
>then SIGPIPE is sent to Ocaml...
>man ledit says :
>       It  is  not  possible  to suspend ledit (using the suspend
>       command, usually ctrl-z).
You're right.  Even ledit-1.11, which can handle suspend, cannot
handle (echo "let x=1;;"; ledit) | ocaml.  So now I simply use ledit ocaml
with ledit 1.11 and momentarily forget my wish to have a few commands
(not inside a module) that always run on startup.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: