Subj : Single key to switch command shells? To : Razor From : Digital Man Date : 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. What > I'm doing so far doesn't seem to change the user config option for command > shell & disconnects me from telnet. Here's my current code: > case 'Q': > user.command_shell="DEFAULT"; > exit(0); > > Does anyone see an obvious error in my logic? 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. digital man Snapple "Real Fact" #77: No piece of paper can be folded more than 7 times. .