English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2003-02-21 (09:05)
From: IKEDA Katsumi <ikeda@m...>
Subject: Re: [Caml-list] pipe puzzle

From: Issac Trotts <ijtrotts@ucdavis.edu>
> 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
> type
>     fg
> it tells me
>   Signal 44
> and kills off my OCaml session.  Can someone here shed some light
> on this?  

I think signal is sent by ledit.

Try the following.
(echo "foo bar baz"; ledit) | tail -f

Then suspend it and run the command 'fg'.


IKEDA Katsumi  <ikeda@msi.co.jp>
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