Welcome to Centmin Mod Community
Register Now

Beta Branch fix tools/nano-syntax.sh choose text color at runtime in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 25, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    55,811
    12,273
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,859
    Local Time:
    3:04 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    fix tools/nano-syntax.sh choose text color at runtime in 123.09beta01


    fix extended nano syntax highlighting to prompt for user choice of color of text for syntax highlighting at run time

    So if my ssh client is configured for white text on black background, I'd choose to use white text
    Code (Text):
    tools/nano-syntax.sh
    
    Setup Extended Syntax Highlighting for nano editor
    
    To properly configure the right colors for your SSH client,
    script needs to know your configured text color in your SSH
    client. If your SSH client configured text color is other
    than black text, you need to specify what color text you want
    
    Choose your desired text color from the following options
    black, red, green, yellow, blue, magenta, cyan or white
    i.e. if you have white text on black background, choose
    white text below
    
    Which color do you want to set for text in syntax highlighting ? white
    


    Continue reading...

    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    55,811
    12,273
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,859
    Local Time:
    3:04 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    fixed syntax highlighting for nginx with properly displayed curly {} braces

    nano-nginx-fixed.png