• Custom Menus with Custom Commands ?

    From Ebojager@1:103/705 to All on Sat Jun 17 21:57:04 2023
    So just started a SBBS after many many years of running a Dialup Telegard BBS. Im not seeing a traditional menu editor where you can select the command key and access for that command key etc. So you can make a completly new menu. Is that posisble and are there any tutorials? Sofar Ive been usin Linux VIM editor to edit the look of the default renegade menus and also some of the other .asc or .msg files. I would appreciate any direction on where to begin. Thank you

    Ebojager

    ---
    þ Synchronet þ Sent from OUTLAND BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From MRO@1:103/705 to Ebojager on Sun Jun 18 12:13:58 2023
    Re: Custom Menus with Custom Commands ?
    By: Ebojager to All on Sat Jun 17 2023 09:57 pm

    So just started a SBBS after many many years of running a Dialup Telegard BBS. Im not seeing a traditional menu editor where you can select the command key and access for that command key etc. So you can make a completly new menu. Is that posisble and are there any tutorials? Sofar Ive been usin Linux VIM editor to edit the look of the default renegade menus and also some of the other .asc or .msg files. I would appreciate any direction on where to begin. Thank you

    there's no real good menu editor. your menu editor is yoru text editor.

    so take the renegade shell and copy it over to a new one. change any commands and then modify your text files.

    also you can run your telegard bbs as a door on synchronet.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Ebojager on Sun Jun 18 11:53:38 2023
    Re: Custom Menus with Custom Commands ?
    By: Ebojager to All on Sat Jun 17 2023 09:57 pm

    So just started a SBBS after many many years of running a Dialup Telegard BBS. Im not seeing a traditional menu editor where you can select the command key and access for that command key etc. So you can make a completly new menu. Is that posisble and are there any tutorials? Sofar Ive been usin Linux VIM editor to edit the look of the default renegade menus and also some of the other .asc or .msg files. I would appreciate any direction on where to begin. Thank you

    Menu files and displayed and command keys are accepted/parsed by command shells https://wiki.synchro.net/custom:command_shell

    If you're using Synchronet v3.20, the default command shell is now written in JavaScript (default.js), not Baja (default.src). The other stock shells will be converted to JS in due time.

    The difference between .asc and .msg display files is explained here: https://wiki.synchro.net/custom:menu_files
    --
    digital man (rob)

    This Is Spinal Tap quote #26:
    David St. Hubbins: They were still booing him when we came on stage.
    Norco, CA WX: 70.8øF, 73.0% humidity, 5 mph SE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Tracker1@1:103/705 to Ebojager on Wed Jun 21 23:26:16 2023
    Re: Custom Menus with Custom Commands ?
    By: Ebojager to All on Sat Jun 17 2023 21:57:05

    So just started a SBBS after many many years of running a Dialup Telegard BBS. Im not seeing a traditional menu editor where you can select the command key and access for that command key etc. So you can make a completly new menu. Is that posisble and are there any tutorials? Sofar Ive been usin Linux VIM editor to edit the look of the default renegade menus and also some of the other .asc or .msg files. I would appreciate any direction on where to begin. Thank you

    I know you probably have a *lot* of responses at this point...

    I use Visual Studio Code to edit on the BBS, I usually open the editor in the sbbs/ directory with the following in sbbs/.vscode/settings.json

    https://gist.github.com/tracker1/8840a61470063705d37aaf00019c9d16

    I can edit most of the files without issue this way. Your best bet will be to look at one of the existing command shells, I find the JavaScript ones are easier, but you may well find the .src (baja) based ones easier to work with. Copy one from sbbs/exec/shellname.(js|src) into sbbs/mods/shellname.(js|src) and edit it how you like. This assumes you want new or changed menus. You can then add your new command shell in scfg. You might want to remove shells you don't want to offer if you only want a particular one for your BBS.

    Most of what you need can be found in the synchronet wiki.


    --
    Michael J. Ryan
    +o roughneckbbs.com
    tracker1@roughneckbbs.com

    ---
    þ Synchronet þ Roughneck BBS - roughneckbbs.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Ebojager@1:103/705 to Tracker1 on Wed Jun 21 22:45:02 2023
    Re: Custom Menus with Custom Commands ?
    By: Tracker1 to Ebojager on Wed Jun 21 2023 11:26 pm

    thank you. thats very helpful. i do want custom commands and now i hqve a better IDEA howto go qbout it. i think i used security levels TO limit THE other shells. using a gui would be helpul :)

    ---
    þ Synchronet þ Sent from OUTLAND BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From MRO@1:103/705 to Ebojager on Thu Jun 22 08:53:06 2023
    Re: Custom Menus with Custom Commands ?
    By: Ebojager to Tracker1 on Wed Jun 21 2023 10:45 pm

    Re: Custom Menus with Custom Commands ?
    By: Tracker1 to Ebojager on Wed Jun 21 2023 11:26 pm

    thank you. thats very helpful. i do want custom commands and now i hqve a better IDEA howto go qbout it. i think i used security levels TO limit THE other shells. using a gui would be helpul :)

    no, you go into scfg and just remove them
    and then set the correct shell for the default user.
    if some users arent set to the correct shell after being users for a while, you can put a script in the login to check their shell and then switch it.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)