Talk:Man page

From ArchWiki
(Redirected from Talk:Man Page)
Jump to: navigation, search

Colour Chart for Colourised Output with less

The sample code for Bash in Man_page#Using_less_.28Recommended.29 uses a 256 colour palette on some lines. I followed the existing link to Wikipedia: ANSI escape codes and, though a very good reference, did not suit my needs at the time because there is too much detail.
For someone such as myself who is basically happy with the sample code and wishes only to tweak the colours a little, a simple colour chart would offer a speedier route to gain the knowledge required. I used this colour chart to achieve what I needed: Wkipedia: Xterm 256-color chart.svg
I do not know enough about the various different terminals to know if this is a good enough reference for broader use, however it worked for me using PuTTY to connect to a RaspberryPi.
I would appreciate some instruction if this chart is suitable for broader use. If it is suitable, I would add a link and text along the lines of:
"If you simply wish to change the colours given in the sample code, edit the lines containing ;38;5 and change the number right before m, referring to the xterm 256-colour chart: Wikipedia: Xterm 256-color chart". --Crumeniferus (talk) 15:40, 5 January 2015 (UTC)