Door Games Unlimited

Welcome, Guest.


Subject: classic_shell.js Date: Sat Feb 08 2014 15:57:08
From: Digital Man To: Bill McGarrity

  Re: classic_shell.js
  By: Bill McGarrity to All on Sat Feb 08 2014 11:47 am

 > Good day all...
 >
 > Originally I msg'd Rob over this but he asked me to post it in the echo
 > here for others.  Appreciate the answer as well....
 >
 > Hiya Rob...
 >
 > I am just getting my feet wet with programing and I wanted to make a change
 > in the e-mail section of classc_shell.js. My plan is to add another command
 > to it so it wil call a door that looks at an FTN nodelist. So say under the
 > "N" I wanted to add a "L" for FTN Lookup... what would be involved?
 >
 > I appreciate the time you put into this and for any pointers you can give
 > me.
 >
 > Here is the reply... for those who didn't know... including myself...
 >
 >
 > "classic_shell.js isn't normally used (default.src/bin is used instead)."
 >
 > Thanks again Rob...

No problem. The "default" shell is actually exec/default.bin (written in Baja, 
the source of which is default.src).

You can section with the label ":e-mail" in this file.

You can add a "cmdkey L" command block (end with "end_cmd") or add it into the 
"cmdkey N" block if you prefer.

To execute a configured door (SCFG->External Programs->Online Programs), use 

        EXEC_XTRN "intcode"

where "intcode" is the internal code of the program you have configured in 
SCFG. For detalis, see http://synchro.net/docs/baja.html

If you prefer to work in JavaScript, you could use classic_shell.js or another 
shell written in JS, but how to modify the menu and launch an external is 
slightly different.

                                            digital man

Synchronet "Real Fact" #29:
The COM I/O routines for Synchronet for DOS were written in ASM by Steve Deppe.
Norco, CA WX: 63.7°F, 53.0% humidity, 9 mph ESE wind, 0.00 inches rain/24hrs

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

Previous Message       Next Message
In Reply To: classic_shell.js (Bill McGarrity)
Replies: classic_shell.js (MCMLXXIX)Re: classic_shell.js (Bill McGarrity)