Version française
Home     About     Download     Resources     Contact us    
Browse thread
toplevel with pre-installed printers
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] toplevel with pre-installed printers
On Thu, Jan 19, 2006 at 02:12:59PM -0500, Eric Cooper wrote:
> In a single "master" .ocamlinit, you could dispatch on
> Sys.executable_name, and perhaps Sys.getcwd.  Still a hack, but it
> might avoid (non-OCaml) wrapper scripts.

This is a clever idea.  However one of the other problems is that
people could run the toplevel from another directory.  This is
particularly important in the case where we install the toplevel as a
binary in, say, /usr/bin.

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com