Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

//COLORS command does not work on linux #1630

Open
robbiew opened this issue Aug 28, 2024 · 2 comments
Open

//COLORS command does not work on linux #1630

robbiew opened this issue Aug 28, 2024 · 2 comments

Comments

@robbiew
Copy link

robbiew commented Aug 28, 2024

Typing //COLORS does not allow the user to edit the color set, per the slash menu.
Ubuntu 24.04

@ericpareja
Copy link
Contributor

ericpareja commented Dec 15, 2024

Can you try editing gfiles/menus/wwiv/main.mnu.json and look for this block of code:

                "item_key": "COLORS",
                "item_text": "ColorConfig",
                "visible": true,
                "help_text": "Configure Colors",
                "log_text": "COLORS",
                "instance_message": "",
                "acs": "",
                "password": "",
                "actions": [
                    {
                        "cmd": "colorconfig",
                        "data": "",
                        "acs": ""
                    }
                ]
            },

Then edit the line that says: "cmd": "colorconfig", and change it to "cmd": "user:colors",. Save the file, then test if it does what you expect.

@the-godfather-007
Copy link

the-godfather-007 commented Dec 23, 2024

I tested this and a couple of things that I had to do before it worked:

  1. The .json is in menus/wwiv/ not /gfiles/menus/wwiv/
  2. Changing the above to "cmd": "user:colors", did not work.
  3. I loaded ./wwivconfig - menu editor - main menu - menu items - COLORS.
  4. The security level is set as something along the lines of user.sysop==true which when arrowed over states "The expression is invalid". I removed the statement and left the ACS field blank for now.
  5. [ESC] back to COLORS menu option, arrow to Actions, press enter to modify the command and from the menu editor select user:colors
  6. [ESC] back to COLORS - Actions - and select I to insert an action below (after) user:colors, and select from system actions "pause."
  7. Lastly change the last option to Visible.

Test and then begin possibly removing non essentials. I have not had time to do that, but at the moment it now works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants