Subj : Single key to switch command shells?
To   : Digital Man
From : Razor
Date : Sun Feb 28 2010 10:09 pm

 Re: Single key to switch command shells?
 By: Digital Man to Razor on Sun Feb 28 2010 05:25 pm

>   Re: Single key to switch command shells?
>   By: Razor to All on Sun Feb 28 2010 08:47 am
>  > I'd like to "quit" from my custom shell back to the "default" shell.
>  > case 'Q':
>  >     user.command_shell="DEFAULT";
>  >     exit(0);
> The setting of the command shell looks correct, but I don't understand the
> use of exit(). Shells are not normally "nested". An exit() would just stop
> the shell.

Ahh, I was never executing the new shell.  I still don't quite have it, but I
might come back to that later.
Now I'm trying to choose a shell from logon.js & no matter which I choose, I
always get DEFAULT.  Here's my code for that.

if(!console.noyes("Quick logon"))
{
       user.command_shell="RQSHELL";
}
else
{
       user.command_shell="DEFAULT";
}



---
� Synchronet � The Silent Strike - bbs.thesilentstrike.com