![]() ![]() Like this can be a headache as there is no feedback from the Linux console or Scheme like this: Color scheme of an Xubuntu Linux consoleįor the programmer that chooses color combinations for readability, a theme One could reasonably expect a color scheme like thisįrom Debian’s Linux console: Color scheme of a Debian Linux consoleīut then your program is run on Xubuntu‘s Linux console with a The environment variables in ~/.bashrc used in the PS1 prompt and less The eight common colors are black, red, green, yellow, blue, magenta, cyan,Īnd white and are numbered from 0 through 7, respectively. Modern POSIX terminals don’t suffer from this limitation and many supportĢ56 colors or even more! To keep things simple this post will consider theĬommon case of eight foreground and eight background colors. That it is possible that on some ancient terminals only eight colors areĪvailable or none other than gray scale (or green or amber). The Linux console and XTerm terminals traditionally have eight colorsĪvailable for foreground (text color) and the same eight for background. To back up a bit, in the previous post it was left unstated but implied that Theme authors desire to extend their creativity to the Linux console and that They help to give a desktop a cohesive look across applications. Magenta not be magenta? In a word, themes. A legitimate question is why would red not be red or Utility, what I did not mention is that even though a given color such asīlue or cyan is requested, it is beyond the program’s control the actual color ![]() In the previous post about ANSI escape sequences, terminfo, and the tput
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |