Subj : Running doors from anywhere? To : Divarin From : Nightfox Date : Thu Nov 04 2021 08:37:59 Re: Running doors from anywhere? By: Divarin to Nightfox on Thu Nov 04 2021 07:31 am >> Yes, you'd need to modify your command shell to add an option to those >> menus If you're using the default command shell, it's written in Baja. >> Under the http://synchro.net/docs/baja.html Di> Hmm. okay yeah I was looking at that. Di> Here's a specific example of what I'm trying to do: I have a door I wrote Di> which uses gopher to allow users to browse / read the text files from Di> Jason Scott's TextFiles.com (using the gopher mirror) Di> I'd like to have this door listed under the text files menu rather than Di> the (X) external programs menu. Di> In the default.src file I see the option to access the text file section: Di> cmdkey G Di> text_file_section Di> end_cmd Di> But I don't see a source file for the text file section itself. Di> Unfortunately the wiki page "Customizing with Baja" doesn't exist I Di> clicked the link and it game up with a "This topic does not exist yet" Di> page. I'm not as familiar with the text files section, but there's a JavaScript script called text_sec.js which I believe is the script that handles displaying the text section. You probably wouldn't want to modify that, as I'm pretty sure it's supposed to be a generic script that builds a menu of text files you have to allow the user to choose and display one. Di> I'd like to have this door listed under the text files menu rather than Di> the (X) external programs menu. I think that may actually be more difficult to do. If you want to do that, then you'd have to manually generate a drop file and then build a command line to run the door, etc.. The easiest way would be to configure the door as an external program in SCFG and then use EXEC_XTRN command to run it from the command shell. Then Synchronet would take care of the drop file, FOSSIL driver (if needed) and everything to run the door. Nightfox --- þ Synchronet þ Digital Distortion: digitaldistortionbbs.com * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .