Ok, I have my shell completely in .js, and most everything is going as planned.
There is one peculiar issue, though...
When I try to list files, I use the following command:
bbs.menu.baja("setstr *.*" + "\r\n" + "file_list");
The bbs tries to run baja /sbbs/exec/temp_1.src, and then launch that file.
I have no temp_1.src. I am running 3.15 as of today, and this file is nowhere to be found. Ideas? :)
Re: weird js thing...?
By: Nightfox to Esc on Sun Sep 06 2009 09:37 pm
Re: weird js thing...?
By: Esc to All on Sun Sep 06 2009 20:30:51
When I try to list files, I use the following command:
bbs.menu.baja("setstr *.*" + "\r\n" + "file_list");
To list files, try using this command instead:
bbs.list_files();
Nightfox
Yeah, I suppose I could take a look at that ;) However, I got it to work. The issue was that windows 7 has ridiculous issues with letting programs launch other programs. As such, it wasn't allowing synchronet to launch baja.exe. On WinXP, it works just fine.
Re: weird js thing...?
By: Esc to Nightfox on Mon Sep 07 2009 18:35:20
bbs.menu.baja("setstr *.*" + "\r\n" + "file_list");
To list files, try using this command instead:
bbs.list_files();
Yeah, I suppose I could take a look at that ;) However, I got it to work issue was that windows 7 has ridiculous issues with letting programs laun other programs. As such, it wasn't allowing synchronet to launch baja.ex WinXP, it works just fine.
Ah, interesting. Good to know you got it to work.
By the way, your bbs.menu.baja command interested me, because I've also converted my command shell to JavaScript, but there was still one thing I had to keep in Baja: Letting the user configure their file scan pointer.
The reason is that there doesn't seem to be an equivalent JavaScript function for that.
Sysop: | MCMLXXIX |
---|---|
Location: | Prospect, CT |
Users: | 325 |
Nodes: | 10 (0 / 10) |
Uptime: | 243:14:40 |
Calls: | 508 |
Messages: | 219902 |