Keeping two versions of newLISP running at the same time

For the Compleat Fan
Locked
cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Keeping two versions of newLISP running at the same time

Post by cormullion »

Basically, is it easy to keep two or more versions of newLISP (eg the production version and the latest development version) running on the same machine easily?

tom
Posts: 168
Joined: Wed Jul 14, 2004 10:32 pm

Re: Keeping two versions of newLISP running at the same time

Post by tom »

cormullion wrote:Basically, is it easy to keep two or more versions of newLISP (eg the production version and the latest development version) running on the same machine easily?
This may be more simplistic than you are looking for, but why not just rename the binary before installing a new one? scripts would look like this:

#!/usr/bin/newlisp
(stuff)
;eof

#!/usr/bin/other-newlisp
(stuff)
;eof

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

Hi Tom. Yes, that sort of thing would do, I suppose. I might also try doing clever things with paths and stuff, but the first task is to get two versions installed - I rely on Lutz's easy to use installer program, so I'm not sure yet if its possible.

The idea of course it to be able to try out the new development versions while keeping the current version around for existing programs.

Locked