Subj : Re: .JS as a Command Shell
To   : Nightfox
From : Tracker1
Date : Thu Nov 19 2009 01:39 pm

On 11/17/2009 7:50 PM, Nightfox wrote:
>  >  > I must have missed something because I don't seem to see it in the
>  >  > documentation or past messages: how would one go about setting a .JS file
>  >  > command shell?
>  >  >
>  >  > Does this involve making a BAJA "shell" just to call the .JS?
>
> Yep, that's the only way you can do it..  Create a Baja script that just calls
> your .js script and set up the Baja script as a command shell in SCFG.

In S3, I have the baja in a loop with a pause prompt after exit, because you
need to exit out of the JS if you want to support changing shells.

--
Michael J. Ryan - http://tracker1.info/

... FRA #103: Sleep can interfere with profit. <i>(DS9 season 2, episode 7 -
"Rules of Acquisition")</i>

---
� Synchronet � Roughneck BBS - telnet://roughneckbbs.com - www.roughneckbbs.com