Door Games Unlimited

Welcome, Guest.


Subject: Working on new command shell in javascript Date: Sun Mar 20 2016 16:45:47
From: Digital Man To: nolageek

  Re: Working on new command shell in javascript
  By: nolageek to All on Sun Mar 20 2016 01:51 am

 > Hey there!
 >
 > I'm working on converting my command shell from Baja to JavaScript and I'm
 > running into a few bugs that I can't figure out. I'm running the command
 > shell to test it, so if I make any changes I have to switch to another
 > command shell and then back to the one I'm testing .. no problem,

Or you could log-off and back on. That'd probably be easier.

 > I've done
 > that when I've done my last few shells. HOWEVER, the problem I'm seeing is
 > that when I switch from my new shell to one of the others it the one I
 > switch to appears in my defaults and if I use
 > 'console.putmsg(user.command_shell) it says my current shell is the one I
 > switched to but the BBS is still using my new one. The commands are all the
 > new shell.

Look at lbshell.js or classic_shell.js for working example of a JS shell that
allows switching the current shell back to a Baja shell (and back again). That
might help ya.

                                            digital man

Synchronet "Real Fact" #56:
Synchronet introduced Telnet, FTP, SMTP and POP3 support w/v3.00a-Win32 in 2000.
Norco, CA WX: 74.1°F, 47.0% humidity, 9 mph SSE wind, 0.00 inches rain/24hrs

---
 ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net

Previous Message       Next Message
In Reply To: Working on new command shell in javascript (nolageek)
Replies: Working on new command shell in javascript (nolageek)