Learn about Centmin Mod LEMP Stack today
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

    31,011
    6,922
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,428
    Local Time:
    7:29 AM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    31,011
    6,922
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,428
    Local Time:
    7:29 AM
    Nginx 1.13.x
    MariaDB 5.5
    fixed syntax highlighting for nginx with properly displayed curly {} braces

    nano-nginx-fixed.png
     
    • Like Like x 1