• Menu Commands

    From Mojo@1:103/705 to All on Fri Jul 13 10:51:00 2018
    I am having trouble wiht two of the commands on my main menu not working and I am not sure why they have quit working. The commands that are not working are under this section:

    ----[Area Selection]----
    [J] Jump To New Msg Area
    [ *] List Sub-Boards
    [/*] List Groups
    [ #] Select Sub Board
    [/#] Select Group


    And are the * and the /*

    I do not know what happened to them to cause them to quit working and I am not sure how to fix this so they will return to working properly.





    There is one other thing I have noticed and I am not sure if in any way this is related to the problem above but when I do updates and run at teh end of the updates jsexec update.js I get the following on the screen at the end:


    Compiled May 4 2018 05:03:24 with MSC 1800

    Loading configuration files from c:\sbbs\ctrl
    JavaScript-C 1.8.5 2011-03-31
    JavaScript: Creating runtime: 8388608 bytes
    JavaScript: Initializing context (stack: 16384 bytes)

    Reading script from C:\sbbs\exec\update.js
    C:\sbbs\exec\update.js compiled in 0.00 seconds
    Synchronet update.js revision 1
    Updating exec directory: Success
    Updating ip_address field: 0 records updated
    Updating (compiling) Baja modules
    Building c:\sbbs\exec\Copy of default.bin

    BAJA v2.34-Win32 (rev 1.49) - Synchronet Shell/Module Compiler

    Compiling default.src...
    error 2 opening default.src for read
    C:\sbbs\exec\update.js executed in 0.05 seconds

    JavaScript: Destroying context
    JavaScript: Destroying runtime

    C:\sbbs\exec>


    There is a place there where it says error opening default.src for read and I am not sure why it is having this problem. I have a test bbs setup on a different machine and when I do the updates on there I do not get this error when I run jsexec update.js. So any help this matter would be a great help.

    Thanks
    Mojo

    ---
    * Synchronet * Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nightfox@1:103/705 to Mojo on Fri Jul 13 09:32:38 2018
    Re: Menu Commands
    By: Mojo to All on Fri Jul 13 2018 10:51 am

    Building c:\sbbs\exec\Copy of default.bin

    Compiling default.src...
    error 2 opening default.src for read

    Do you actually have a default.src file? It looks like you may have something called "Copy of default" but not a "default".

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:120/302 to ALL on Fri Jul 13 13:05:22 2018
    Re: Menu Commands
    By: Nightfox to Mojo on Fri Jul 13 2018 09:32 am

    Do you actually have a default.src file? It looks like you may have something called "Copy of default" but not a "default".

    Nightfox


    Yes, in the exec directory I do have a default.bin and a default.src...


    Mojo
    --- SBBSecho 3.04-Win32
    * Origin: Mojo's World BBS - mojo.synchro.net (1:120/302)
  • From Mojo@1:120/302 to ALL on Fri Jul 13 14:31:31 2018
    Re: Menu Commands
    By: Nightfox to Mojo on Fri Jul 13 2018 09:32 am

    Building c:\sbbs\exec\Copy of default.bin

    Compiling default.src...
    error 2 opening default.src for read

    Do you actually have a default.src file? It looks like you may have something called "Copy of default" but not a "default".

    Nightfox


    I have gone into my exec directory and removed all of the default.src's out of there that I had as copies. I then tried running jsexec update.js and I still get the same error. ERROR 2 OPENING DEFAULT.SRC FOR READ

    I thought maybe after you had said something about ti that maybe that was causing a problem but it still does the same thing even after deleting them out of there.


    Mojo
    --- SBBSecho 3.04-Win32
    * Origin: Mojo's World BBS - mojo.synchro.net (1:120/302)
  • From Nightfox@1:103/705 to Mojo on Fri Jul 13 13:35:15 2018
    Re: Menu Commands
    By: Mojo to ALL on Fri Jul 13 2018 02:31 pm

    I have gone into my exec directory and removed all of the default.src's out of there that I had as copies. I then tried running jsexec update.js and I still get the same error. ERROR 2 OPENING DEFAULT.SRC FOR READ

    I thought maybe after you had said something about ti that maybe that was causing a problem but it still does the same thing even after deleting them out of there.

    You should have one default.src in there. I was wondering if you were missing default.src. The other thing I thought of is perhaps something else has default.src opened and maybe for some reason it's an exclusive open so that nothing else can open it.. But seems like that would be fairly unlikely.

    Nightfox

    ---
    * Synchronet * Digital Distortion: digitaldistortionbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Michael Pierce@1:103/705 to mojo on Sat Jul 14 06:49:39 2018
    Re: Menu Commands
    By: Nightfox to Mojo on Fri Jul 13 2018 01:35 pm

    running jsexec update.js and I still get the same error. ERROR 2
    OPENING DEFAULT.SRC FOR READ
    I would take a good look at the permissions on that file, who is that file assigned to?? what permissions?? are you running the bbs as a different user? if so then default.src needs to be owned by that user
    Michael

    ---
    * Synchronet * fluxcap.dynv6.net:2323 * Portland, OR
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:103/705 to Michael Pierce on Sat Jul 14 18:36:12 2018
    Re: Menu Commands
    By: Michael Pierce to mojo on Sat Jul 14 2018 06:49 am

    I would take a good look at the permissions on that file, who is that file assigned to?? what permissions?? are you running the bbs as a different user? if so then default.src needs to be owned by that user
    Michael


    Thanks for your input on this Michael. I found the problem with now when I went in to check the permissions on the file. I missed in the directory a file called copy of default.src I just did not see this file the few previous times I looked in the directory for problem files. Now that I have removed that file out of there it works as it should. So that fixed part of the problem I am having from the message I posted.

    Thanks again
    Mojo

    ---
    * Synchronet * Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:103/705 to All on Sat Jul 14 18:38:55 2018
    I am having trouble with the * & /* commands from the main menu they do not work. I have not made and changes to any of the commands so I do not know why this would have stopped working. If someone has any idea on this matter it would be greatly appreciated.


    Thanks
    Mojo

    ---
    * Synchronet * Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mojo on Sun Jul 15 21:55:22 2018
    Re: Menu Commands
    By: Mojo to All on Sat Jul 14 2018 06:38 pm

    I am having trouble with the * & /* commands from the main menu they do not work. I have not made and changes to any of the commands so I do not know why this would have stopped working. If someone has any idea on this matter it would be greatly appreciated.

    Please the describe with more details:
    1. What command shell are you using?
    2. What happens when you type '*' at the menu prompt?
    3. Do you have any terminal/screen captures you can share?
    4. Does the 'J'ump to area command work?

    digital man

    This Is Spinal Tap quote #24:
    David St. Hubbins: You're a haughty one, saucy Jack.
    Norco, CA WX: 70.4oF, 77.0% humidity, 3 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:103/705 to Digital Man on Mon Jul 16 09:52:44 2018
    Re: Menu Commands
    By: Digital Man to Mojo on Sun Jul 15 2018 09:55 pm

    Please the describe with more details:
    1. What command shell are you using?
    Synchronet Classic

    2. What happens when you type '*' at the menu prompt?
    The screen just blinks real fast and returns to the main menu waiting for my next choice.

    3. Do you have any terminal/screen captures you can share?
    No, I do not have any screen captures of this.


    4. Does the 'J'ump to area command work?
    Yes, the Jump to command works just fine.


    Mojo

    ---
    * Synchronet * Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mojo on Mon Jul 16 20:35:59 2018
    Re: Menu Commands
    By: Mojo to Digital Man on Mon Jul 16 2018 09:52 am

    Re: Menu Commands
    By: Digital Man to Mojo on Sun Jul 15 2018 09:55 pm

    Please the describe with more details:
    1. What command shell are you using?
    Synchronet Classic

    2. What happens when you type '*' at the menu prompt?
    The screen just blinks real fast and returns to the main menu waiting for my next choice.

    What if you disable "Expert Menu Mode" ('X' from the defaults menu)?

    If you view your scrollback (e.g. Alt-B in SyncTERM) what do you see?

    3. Do you have any terminal/screen captures you can share?
    No, I do not have any screen captures of this.

    That would be helpful.

    4. Does the 'J'ump to area command work?
    Yes, the Jump to command works just fine.

    Okay, that's interesting.

    digital man

    Synchronet "Real Fact" #51:
    Rob Swindell was introduced to BBSing in 1982 by his older brother, Dr. Seuss. Norco, CA WX: 74.1oF, 73.0% humidity, 7 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:103/705 to Digital Man on Tue Jul 17 11:10:23 2018
    Re: Menu Commands
    By: Digital Man to Mojo on Mon Jul 16 2018 08:35 pm

    What if you disable "Expert Menu Mode" ('X' from the defaults menu)?


    Expert mode is disabled.




    If you view your scrollback (e.g. Alt-B in SyncTERM) what do you see?

    When I view the scrollback it just gives me a blank screen even after trying the * command before I view the scrollback.



    Mojo

    ---
    * Synchronet * Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:103/705 to Digital Man on Tue Jul 17 14:45:08 2018
    Re: Menu Commands
    By: Digital Man to Mojo on Mon Jul 16 2018 08:35 pm

    An update on this menu command problem. I did a update today from the sbbs_dev.zip and after doing this the * command started to work again. But the /* command still does not work at this time. Just wanted to pass along this info in case it is of any help.


    Thanks
    Mojo

    ---
    * Synchronet * Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mojo on Tue Jul 17 15:34:18 2018
    Re: Menu Commands
    By: Mojo to Digital Man on Tue Jul 17 2018 11:10 am

    Re: Menu Commands
    By: Digital Man to Mojo on Mon Jul 16 2018 08:35 pm

    What if you disable "Expert Menu Mode" ('X' from the defaults menu)?


    Expert mode is disabled.




    If you view your scrollback (e.g. Alt-B in SyncTERM) what do you see?

    When I view the scrollback it just gives me a blank screen even after trying the * command before I view the scrollback.

    Double-check your ctrl/text.dat file. It sounds like it may have been corrupted?

    digital man

    Synchronet "Real Fact" #47:
    The Synchronet Museum is online at http://wiki.synchro.net/history:museum: Norco, CA WX: 89.2oF, 48.0% humidity, 12 mph NE wind, 0.00 inches rain/24hrs --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:103/705 to Digital Man on Tue Jul 17 23:38:10 2018
    Re: Menu Commands
    By: Digital Man to Mojo on Tue Jul 17 2018 03:34 pm

    Double-check your ctrl/text.dat file. It sounds like it may have been corrupted?


    I have a test bbs running on a different machine that everything works as it should on it. So I took the text.dat from there and put it on my rpoduction bbs to see if it would work and I still have the same problem /* does not work.


    Mojo

    ---
    * Synchronet * Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mojo on Tue Jul 17 21:07:58 2018
    Re: Menu Commands
    By: Mojo to Digital Man on Tue Jul 17 2018 11:38 pm

    Re: Menu Commands
    By: Digital Man to Mojo on Tue Jul 17 2018 03:34 pm

    Double-check your ctrl/text.dat file. It sounds like it may have been corrupted?


    I have a test bbs running on a different machine that everything works as it should on it. So I took the text.dat from there and put it on my rpoduction bbs to see if it would work and I still have the same problem /* does not work.

    Are they both running the same build of sbbs?

    Do you have any changes in your default.src/bin file from the stock ones?

    Does '/*' work from the file transfer menu?

    digital man

    Synchronet/BBS Terminology Definition #4:
    BBS = Bulletin Board System
    Norco, CA WX: 71.9oF, 77.0% humidity, 5 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:103/705 to Digital Man on Wed Jul 18 10:20:01 2018
    Re: Menu Commands
    By: Digital Man to Mojo on Tue Jul 17 2018 09:07 pm

    Are they both running the same build of sbbs?


    Yes, they both are the same. When I do updates I do it to both of them. I do the test one first after a backup is made and then I do the production one after a backup is made.



    Do you have any changes in your default.src/bin file from the stock ones?

    As best as I can remember I have not made any changes to either default.src/bin as I am not sure what can be doen with it and do not want to mess them up.



    Does '/*' work from the file transfer menu?

    I go to the transfer menu and both * & /* work just fine.


    Mojo

    ---
    * Synchronet * Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mojo on Wed Jul 18 15:34:09 2018
    Re: Menu Commands
    By: Mojo to Digital Man on Wed Jul 18 2018 10:20 am

    Re: Menu Commands
    By: Digital Man to Mojo on Tue Jul 17 2018 09:07 pm

    Are they both running the same build of sbbs?


    Yes, they both are the same. When I do updates I do it to both of them. I do the test one first after a backup is made and then I do the production one after a backup is made.



    Do you have any changes in your default.src/bin file from the stock ones?

    As best as I can remember I have not made any changes to either default.src/bin as I am not sure what can be doen with it and do not want to mess them up.



    Does '/*' work from the file transfer menu?

    I go to the transfer menu and both * & /* work just fine.

    What I would do is add some "print" lines to the default.src, recompile with Baja (which requires logging out/back-in if you're already logged in to the board) and make sure it's actually executing this portion of the command shell code:

    cmdkey /*
    msg_show_groups
    end_cmd

    Or you could try the Renegade or WWIV clone shells: they both use this same Baja function (it's "/A" for Renegade). If it works in those shells and doesn't for default, then it sounds like a problem with the default.bin file. If it doesn't work for any of them, then it sounds like a text.dat file issue. If the 'J'ump command works, then that means your configuration is okay and the BBS certainly know you have message groups, so it's something else.

    digital man

    This Is Spinal Tap quote #37:
    David St. Hubbins: We are Spinal Tap from the UK - you must be the USA!
    Norco, CA WX: 89.3oF, 49.0% humidity, 11 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:103/705 to Digital Man on Wed Jul 18 20:23:28 2018
    Re: Menu Commands
    By: Digital Man to Mojo on Wed Jul 18 2018 03:34 pm

    What I would do is add some "print" lines to the default.src, recompile with Baja (which requires logging out/back-in if you're already logged in to the board) and make sure it's actually executing this portion of the command shell code:

    cmdkey /*
    msg_show_groups
    end_cmd


    I put a print line in there (not sure I am doing the print line correctly) and it did not make any difference. But I may have done it worng.





    Or you could try the Renegade or WWIV clone shells: they both use this same Baja function (it's "/A" for Renegade). If it works in those shells and doesn't for default, then it sounds like a problem with the default.bin file. If it doesn't work for any of them, then it sounds like a text.dat file issue. If the 'J'ump command works, then that means your configuration is okay and the BBS certainly know you have message groups, so it's something else.


    I also tried both Renegade & WWIV clone shells and the /* or * did not work in either of those shells. So this is where I am at with it at this point.


    Thanks
    Mojo

    ---
    * Synchronet * Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mojo on Wed Jul 18 22:59:37 2018
    Re: Menu Commands
    By: Mojo to Digital Man on Wed Jul 18 2018 08:23 pm

    Re: Menu Commands
    By: Digital Man to Mojo on Wed Jul 18 2018 03:34 pm

    What I would do is add some "print" lines to the default.src, recompile with Baja (which requires logging out/back-in if you're already logged in to the board) and make sure it's actually executing this portion of the command shell code:

    cmdkey /*
    msg_show_groups
    end_cmd


    I put a print line in there (not sure I am doing the print line correctly) and it did not make any difference. But I may have done it worng.

    How did you do it? Did you see the print line output?

    Or you could try the Renegade or WWIV clone shells: they both use this same Baja function (it's "/A" for Renegade). If it works in those shells and doesn't for default, then it sounds like a problem with the default.bin file. If it doesn't work for any of them, then it sounds like a text.dat file issue. If the 'J'ump command works, then that means your configuration is okay and the BBS certainly know you have message groups, so it's something else.


    I also tried both Renegade & WWIV clone shells and the /* or * did not work in either of those shells. So this is where I am at with it at this point.

    Okay, so earlier you said the '*' command wasn't work in the default shell and then you said it was. And now you're saying the '*' command doesn't work in the Renegade and WWIV shells. Definitely sounds like a text.dat issue. If you rename your ctrl/text.dat file to something else (like text.save) and then just create a 0-byte text.dat file, all the default strings built into sbbs.dll will be used. Try that.

    digital man

    Synchronet/BBS Terminology Definition #52:
    Sysop = System Operator
    Norco, CA WX: 69.2oF, 83.0% humidity, 4 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:103/705 to Digital Man on Thu Jul 19 11:06:07 2018
    Re: Menu Commands
    By: Digital Man to Mojo on Wed Jul 18 2018 10:59 pm

    Okay, so earlier you said the '*' command wasn't work in the default shell and then you said it was. And now you're saying the '*' command doesn't work in the Renegade and WWIV shells. Definitely sounds like a text.dat issue. If you rename your ctrl/text.dat file to something else (like text.save) and then just create a 0-byte text.dat file, all the default strings built into sbbs.dll will be used. Try that.


    I did this as you said to renamed the text.dat to text.save. Then I made a new 0 byte file called text.dat. Now the * command works with some of the message areas and there are some it will not work with. As for /* it still does not work at all. I do not know what happened but something has really gotten messed up in here some where that is for sure.


    Thanks
    Mojo

    ---
    * Synchronet * Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mojo on Thu Jul 19 14:04:54 2018
    Re: Menu Commands
    By: Mojo to Digital Man on Thu Jul 19 2018 11:06 am

    Re: Menu Commands
    By: Digital Man to Mojo on Wed Jul 18 2018 10:59 pm

    Okay, so earlier you said the '*' command wasn't work in the default shell and then you said it was. And now you're saying the '*' command doesn't work in the Renegade and WWIV shells. Definitely sounds like a text.dat issue. If you rename your ctrl/text.dat file to something else (like text.save) and then just create a 0-byte text.dat file, all the default strings built into sbbs.dll will be used. Try that.


    I did this as you said to renamed the text.dat to text.save. Then I made a new 0 byte file called text.dat. Now the * command works with some of the message areas and there are some it will not work with. As for /* it still does not work at all. I do not know what happened but something has really gotten messed up in here some where that is for sure.

    Is it possible you created a text/menu/grps.asc file and maybe some text/menu/subs*.asc files? If so, these files would be displayed in place of the internally generated group and sub-board listings.

    digital man

    Synchronet/BBS Terminology Definition #49:
    SpiderMonkey = Mozilla's C/C++ JavaScript Engine (libmozjs)
    Norco, CA WX: 89.3oF, 52.0% humidity, 10 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:103/705 to Digital Man on Thu Jul 19 19:12:24 2018
    Re: Menu Commands
    By: Digital Man to Mojo on Thu Jul 19 2018 02:04 pm

    Is it possible you created a text/menu/grps.asc file and maybe some text/menu/subs*.asc files? If so, these files would be displayed in place of the internally generated group and sub-board listings.


    Yes, i had created grps.asc and subs*.asc files. I never thought these would be a problem. But I went in and removed them all to see what would happen if they were all gone. After removing them I tried those commands and everything worked just fine. So I guess it does not like to work with custom menus in place. So Iguess there never was or at least I think there never was a problem it just did not like having to use the menus I had created when using * & /* command from the main menu. I guess I will have to leave those menu's out of there in order for this to work correctly.


    Thanks for your help Digital Man
    Mojo

    ---
    * Synchronet * Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mojo on Thu Jul 19 22:39:42 2018
    Re: Menu Commands
    By: Mojo to Digital Man on Thu Jul 19 2018 07:12 pm

    Re: Menu Commands
    By: Digital Man to Mojo on Thu Jul 19 2018 02:04 pm

    Is it possible you created a text/menu/grps.asc file and maybe some text/menu/subs*.asc files? If so, these files would be displayed in place of the internally generated group and sub-board listings.


    Yes, i had created grps.asc and subs*.asc files. I never thought these would be a problem. But I went in and removed them all to see what would happen if they were all gone. After removing them I tried those commands and everything worked just fine. So I guess it does not like to work with custom menus in place. So Iguess there never was or at least I think there never was a problem it just did not like having to use the menus I had created when using * & /* command from the main menu. I guess I will have to leave those menu's out of there in order for this to work correctly.

    The menu should've been displayed in place of the built in group/sub-board listings. What did you have in the menu files?

    digital man

    This Is Spinal Tap quote #39:
    Airport Security Officer: Do you have any artificial plates or limbs?
    Norco, CA WX: 71.8oF, 79.0% humidity, 0 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:103/705 to Digital Man on Fri Jul 20 09:26:03 2018
    Re: Menu Commands
    By: Digital Man to Mojo on Thu Jul 19 2018 10:39 pm

    The menu should've been displayed in place of the built in group/sub-board listings. What did you have in the menu files?


    I saved the as subs1.asc subs2.asc and so on. Is this correct or should they have been saved in some other way?



    Mojo

    ---
    * Synchronet * Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mojo on Fri Jul 20 14:39:19 2018
    Re: Menu Commands
    By: Mojo to Digital Man on Fri Jul 20 2018 09:26 am

    Re: Menu Commands
    By: Digital Man to Mojo on Thu Jul 19 2018 10:39 pm

    The menu should've been displayed in place of the built in group/sub-board listings. What did you have in the menu files?


    I saved the as subs1.asc subs2.asc and so on. Is this correct or should they have been saved in some other way?

    The filenames are correct. I was asking about the *content*. How those files subs*.asc files (and grps.asc) files work, is if they exist, there contents will be displayed to the user when they request a list of groups (grps.asc) and sub-boards within a group (subs#.asc).

    I just tested it here and it seems to work as designed (the contents of the files are sent to the user).

    digital man

    Synchronet "Real Fact" #26:
    The Synchronet Web Server was written predominantly by Stephen Hurd (Deuce). Norco, CA WX: 84.0oF, 51.0% humidity, 21 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:103/705 to Digital Man on Fri Jul 20 20:09:56 2018
    Re: Menu Commands
    By: Digital Man to Mojo on Fri Jul 20 2018 02:39 pm

    The filenames are correct. I was asking about the *content*. How those files subs*.asc files (and grps.asc) files work, is if they exist, there contents will be displayed to the user when they request a list of groups (grps.asc) and sub-boards within a group (subs#.asc).


    I did have the files in the menu folder, but I removed them because things were not working as they should. Once I took them out the commands worked just fine. So must be I did something worng with the files and that is what has cause this problem. I thought it should work but for some reason they were not working as they did for you.



    I just tested it here and it seems to work as designed (the contents of the files are sent to the user).


    Well it works for you and this is good now to figure out why it does not do the same here for me.


    Mojo

    ---
    * Synchronet * Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mojo on Mon Jul 23 00:53:26 2018
    Re: Menu Commands
    By: Mojo to Digital Man on Fri Jul 20 2018 08:09 pm

    Re: Menu Commands
    By: Digital Man to Mojo on Fri Jul 20 2018 02:39 pm

    The filenames are correct. I was asking about the *content*. How those files subs*.asc files (and grps.asc) files work, is if they exist, there contents will be displayed to the user when they request a list of groups (grps.asc) and sub-boards within a group (subs#.asc).


    I did have the files in the menu folder, but I removed them because things were not working as they should.

    How did you determine they were not working as they should?

    Once I took them out the commands worked
    just fine. So must be I did something worng with the files and that is what has cause this problem. I thought it should work but for some reason they were not working as they did for you.

    Maybe we have a different definition of "working". When you have those files present, their contents (the text you put in the file) will be shown to the user instead of the normal group or sub-board listing.

    I just tested it here and it seems to work as designed (the contents of the files are sent to the user).


    Well it works for you and this is good now to figure out why it does not do the same here for me.

    I'll ask again: what did you put in the files? Was the content shown to the terminal user when the '/*' command (grps.asc) or '*' (subs*.asc) command was used?

    digital man

    This Is Spinal Tap quote #36:
    Bobbi Flekman: Money talks, and bullshit walks.
    Norco, CA WX: 74.9oF, 61.0% humidity, 2 mph S wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:103/705 to Digital Man on Tue Jul 24 12:04:29 2018
    Re: Menu Commands
    By: Digital Man to Mojo on Mon Jul 23 2018 12:53 am

    Maybe we have a different definition of "working". When you have those files present, their contents (the text you put in the file) will be shown to the user instead of the normal group or sub-board listing.


    I understand that this is whqat is suppose to happen, but for some reason here on my end when I have the menu grps.asc in place and I type /* the screen flashes quick and nothing is displayed. But with the grps.asc in place and I do J it displays the grps.asc file like it should. This is the same thing that happens when I have the subs files in place also I get nothing on the screen when I do * for it to list the current sub I am in.





    I'll ask again: what did you put in the files?

    A listing for that sub and I went right down the line and made one for each sub.


    Was the content shown to
    the terminal user when the '/*' command (grps.asc) or '*' (subs*.asc) command was used?

    No, there was nothing displayed when either command was used while the menu files I created were in place. I remove the menu files I created and then try ti and the information is displayed as it should.



    Mojo

    ---
    * Synchronet * Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mojo on Tue Jul 24 16:12:02 2018
    Re: Menu Commands
    By: Mojo to Digital Man on Tue Jul 24 2018 12:04 pm

    Re: Menu Commands
    By: Digital Man to Mojo on Mon Jul 23 2018 12:53 am

    Maybe we have a different definition of "working". When you have those files present, their contents (the text you put in the file) will be shown to the user instead of the normal group or sub-board listing.


    I understand that this is whqat is suppose to happen, but for some reason here on my end when I have the menu grps.asc in place and I type /* the screen flashes quick and nothing is displayed. But with the grps.asc in place and I do J it displays the grps.asc file like it should. This is the same thing that happens when I have the subs files in place also I get nothing on the screen when I do * for it to list the current sub I am in.





    I'll ask again: what did you put in the files?

    A listing for that sub and I went right down the line and made one for each sub.


    Was the content shown to
    the terminal user when the '/*' command (grps.asc) or '*' (subs*.asc) command was used?

    No, there was nothing displayed when either command was used while the menu files I created were in place. I remove the menu files I created and then try ti and the information is displayed as it should

    Maybe I'm missing something. Here is how I tested this feature:

    \sbbs\text\menu>echo "this is grps.asc" > grps.asc

    \sbbs\text\menu>echo "this is subs1.asc" > subs1.asc

    * Main * 0:20:52 [2] DOVE-Net [17] Synchronet Sysops: /*
    "this is grps.asc"

    * Main * 0:20:53 [2] DOVE-Net [17] Synchronet Sysops: J
    "this is grps.asc"

    Which, Quit, or [2]:

    * Main * 0:22:04 [2] DOVE-Net [17] Synchronet Sysops: /1
    * Main * 0:22:05 [1] Main [1] Notices: *
    "this is subs1.asc"

    * Main * 0:22:06 [1] Main [1] Notices: J
    "this is grps.asc"

    Which, Quit, or [1]:
    "this is subs1.asc"

    Which, Quit, or [1]: Q
    "this is grps.asc"

    Which, Quit, or [1]: Q

    So in all cases, the contents of the .asc files were displayed to me. Is it possible you're using weird attribute codes or something in your files? Perhaps you can try again with a simple plain-text .asc file?

    digital man

    Synchronet "Real Fact" #38:
    Synchronet first supported Windows NT-based operating systems w/v3.00b (2000). Norco, CA WX: 99.4oF, 33.0% humidity, 12 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.05-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mojo@1:103/705 to Digital Man on Tue Jul 24 22:10:38 2018
    Re: Menu Commands
    By: Digital Man to Mojo on Tue Jul 24 2018 04:12 pm

    So in all cases, the contents of the .asc files were displayed to me. Is it possible you're using weird attribute codes or something in your files? Perhaps you can try again with a simple plain-text .asc file?


    Ok, I will try this and see what happens. Maybe it has something to do with the files I have created.


    Thanks Digital Man
    Mojo

    ---
    * Synchronet * Mojo's World BBS - mojo.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)