User Tools

Site Tools


unix:256colours

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
unix:256colours [2009/08/21 13:17]
robm
unix:256colours [2017/06/22 09:35]
robm Fix link to 256colors.pl
Line 13: Line 13:
  
 ===== So, does terminal <insert name here> do 256 colours? ===== ===== So, does terminal <insert name here> do 256 colours? =====
-See [[http://www.frexx.de/xterm-256-notes/]] for some scripts which produce test patterns. Just in case that site disappears, I'll reproduce the script and screen shot here:+See [[https://gist.github.com/hSATAC/1095100]] for a script which produce test patterns. Just in case it disappears, I'll reproduce the script and screen shot here:
  
 The Perl script: {{:unix:256colors2.pl|256colors2.pl}} The Perl script: {{:unix:256colors2.pl|256colors2.pl}}
Line 63: Line 63:
  
 ===== Setting TERM=xterm-256color by default ===== ===== Setting TERM=xterm-256color by default =====
-For PuTTY, you can change what ''TERM'' name it sends under Settings -> Connection -> Data -> "Terminal-type string". Change it to ''xterm-256colors'', done!+For PuTTY, you can change what ''TERM'' name it sends under Settings -> Connection -> Data -> "Terminal-type string". Change it to ''xterm-256color'', done!
  
 For gnome-terminal, the default Ubuntu terminal if you didn't customise your install, you can't change what it reports itself as: ''xterm''. My work around for this was to add the following snippet to my ''~/.bashrc'': For gnome-terminal, the default Ubuntu terminal if you didn't customise your install, you can't change what it reports itself as: ''xterm''. My work around for this was to add the following snippet to my ''~/.bashrc'':
unix/256colours.txt · Last modified: 2018/07/30 15:10 by robm