[Coco] Nitros9/Scripts question

Gene Heskett gheskett at wdtv.com
Tue Dec 9 16:20:27 EST 2014


On Tuesday 09 December 2014 15:39:15 Kandur did opine
And Gene did reply:
> Tuesday, December 9, 2014, 11:47:05 AM, Robert wrote:
> > Kandur wrote:
> >> I have another script question.
> >> What script would take me to a subdir?
> >> Instead typing every time: chd /dd/nitros9/6809L2/modules/RBF
> >> just to type: go2rbf
> >> I used build go2rbf with the above command line
> >> changed it's attribute to e pe, but it did not work.
> >> Kandur
> > 
> > I may be wrong, but I don't think you can make a permanent change of
> > directories within a script. What you can do is change directories,
> > open a new window, and use the CLEAR key to switch to that window.
> 
> Don't mind at all to push the CLEAR key to go to a new window,
> as long as it's default directory is, e.g. /dd/NIRTOS9/8809L2
> 
> > As an example, I can start Koronis Rift with the following script. I
> > must use the CLEAR key to get to the game window.
> > 
> > xmode /w4 par=1 pag=10
> 
> What are these parameters mean?
> 
> > cd games/krift
> > (/dd/games/krift/cmds/autoex <>>>/w4)&
> > 
> > A new window and shell start for the game.
> 
> Sounds great.
> When you iniz or xmode a window, or starting a shell in it,
> is there a way to specify in which subdir should it start up?
> 
> > Robert
> 
> Kandur

Cd to it before you start the shell.  I used to put that stuff in my 
startup file.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS


More information about the Coco mailing list