This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 
                    unix:256colours [2009/06/16 15:47] robm  | 
                
                    unix:256colours [2018/07/30 15:10] (current) robm [So, does terminal <insert name here> do 256 colours?]  | 
            ||
|---|---|---|---|
| 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  | + | See [[https://gist.github.com/hSATAC/1095100]] for a script  | 
| The Perl script: {{: | The Perl script: {{: | ||
| Line 33: | Line 33: | ||
| </ | </ | ||
| + | ==== Gnome Terminal ==== | ||
| + | |||
| + | Gnome Terminal //does// support 256 colour mode, but doesn' | ||
| + | |||
| + | Profile Preferences → Title and Command → Run a custom command instead of my shell → '' | ||
| + | |||
| + | Credit to https:// | ||
| ===== OK, it does. Now how about Vim? ===== | ===== OK, it does. Now how about Vim? ===== | ||
| See '': | See '': | ||
| Line 63: | Line 70: | ||
| ===== Setting TERM=xterm-256color by default ===== | ===== Setting TERM=xterm-256color by default ===== | ||
| - | For PuTTY, you can change what '' | + | For PuTTY, you can change what '' | 
| For gnome-terminal, | For gnome-terminal, | ||
| Line 111: | Line 118: | ||
| <code bash> | <code bash> | ||
| - | sudo apt-get build-dep screen  | + | sudo apt-get build-dep screen  | 
| - | apt-get source screen  | + | apt-get source screen  | 
| cd ./ | cd ./ | ||
| - | ./configure --help | grep 256    | + | ./configure --help | grep 256                  | 
| - | vim debian/ | + | vim debian/ | 
| - | # --enable-colors256 to the ./configure command line | + | # --enable-colors256 to the ./configure command line | 
| - | dpkg-buildpackage -uc -b # Create a *.deb package file in the directory above current | + | fakeroot  | 
| cd .. | cd .. | ||
| - | dpkg -i screen_4.0.3-7ubuntu1_i386.deb  | + | sudo dpkg -i screen_4.0.3-7ubuntu1_i386.deb  | 
| </ | </ | ||