This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
bash:tip_colors_and_formatting [2011/06/13 11:22] flozz [Terminals compatibility] |
bash:tip_colors_and_formatting [2017/09/07 06:51] flozz [Set] |
||
---|---|---|---|
Line 37: | Line 37: | ||
| 5 | Blink ((Does not work with most of the terminal emulators, works in the tty and XTerm.)) | <code bash>echo -e "Normal \e[5mBlink"</code> | {{:bash:colors_format:vt100_format_05_blink.gif?nolink|Normal Blink}} | | | 5 | Blink ((Does not work with most of the terminal emulators, works in the tty and XTerm.)) | <code bash>echo -e "Normal \e[5mBlink"</code> | {{:bash:colors_format:vt100_format_05_blink.gif?nolink|Normal Blink}} | | ||
| 7 | Reverse (invert the foreground and background colors) | <code bash>echo -e "Normal \e[7minverted"</code> | {{:bash:colors_format:vt100_format_07_inverted.png?nolink|Normal inverted}} | | | 7 | Reverse (invert the foreground and background colors) | <code bash>echo -e "Normal \e[7minverted"</code> | {{:bash:colors_format:vt100_format_07_inverted.png?nolink|Normal inverted}} | | ||
- | | 8 | Hidden (usefull for passwords) | <code bash>echo -e "Normal \e[8mHidden"</code> | {{:bash:colors_format:vt100_format_08_hidden.png?nolink|Normal Hidden}} | | + | | 8 | Hidden (useful for passwords) | <code bash>echo -e "Normal \e[8mHidden"</code> | {{:bash:colors_format:vt100_format_08_hidden.png?nolink|Normal Hidden}} | |
==== Reset ==== | ==== Reset ==== | ||
Line 154: | Line 154: | ||
^ ::: ^ Bold ^ Dim ^ Underlined ^ Blink ^ invert ^ Hidden ^ 8 ^ 16 ^ 88 ^ 256 ^ ::: ^ | ^ ::: ^ Bold ^ Dim ^ Underlined ^ Blink ^ invert ^ Hidden ^ 8 ^ 16 ^ 88 ^ 256 ^ ::: ^ | ||
| [[http://www.afterstep.org/aterm.php|aTerm]] | ok | - | ok | - | ok | - | ok | ~ | - | - | Lighter background instead of blink. | | | [[http://www.afterstep.org/aterm.php|aTerm]] | ok | - | ok | - | ok | - | ok | ~ | - | - | Lighter background instead of blink. | | ||
- | | [[http://www.eterm.org/|Eterm]] | ~ | - | ok | - | ok | - | ok | ~ | ok | ok | Lighter color instead of Bold. Lighter background instead of blink. Can overline a text with the "''^[''''[6m''" sequence. | | + | | [[http://www.eterm.org/|Eterm]] | ~ | - | ok | - | ok | - | ok | ~ | - | ok | Lighter color instead of Bold. Lighter background instead of blink. Can overline a text with the "''^[''''[6m''" sequence. | |
- | | [[http://library.gnome.org/users/gnome-terminal/|GNOME Terminal]] | ok | ok | ok | - | ok | ok | ok | ok | ok | ok | Strikeout with the "''^[''''[9m''" sequence. | | + | | [[http://library.gnome.org/users/gnome-terminal/|GNOME Terminal]] | ok | ok | ok | - | ok | ok | ok | ok | - | ok | Strikeout with the "''^[''''[9m''" sequence. | |
- | | [[http://guake.org/|Guake]] | ok | ok | ok | - | ok | ok | ok | ok | ok | ok | Strikeout with the "''^[''''[9m''" sequence. | | + | | [[http://guake.org/|Guake]] | ok | ok | ok | - | ok | ok | ok | ok | - | ok | Strikeout with the "''^[''''[9m''" sequence. | |
- | | [[http://konsole.kde.org/|Konsole]] | ok | - | ok | ok | ok | - | ok | ok | ok | ok | | | + | | [[http://konsole.kde.org/|Konsole]] | ok | - | ok | ok | ok | - | ok | ok | - | ok | | |
- | | [[http://software.flogisoft.com/nautilus-terminal/|Nautilus Terminal]] | ok | ok | ok | - | ok | ok | ok | ok | ok | ok | Strikeout with the "''^[''''[9m''" sequence. | | + | | [[http://software.flogisoft.com/nautilus-terminal/|Nautilus Terminal]] | ok | ok | ok | - | ok | ok | ok | ok | - | ok | Strikeout with the "''^[''''[9m''" sequence. | |
| [[http://rxvt.sourceforge.net/|rxvt]] | ok | - | ok | ~ | ok | - | ok | ok | ok | - | If the background is not set to the default color, Blink make it lighter instead of blinking. Support of italic text with the "''^[''''[3m''" sequence. | | | [[http://rxvt.sourceforge.net/|rxvt]] | ok | - | ok | ~ | ok | - | ok | ok | ok | - | If the background is not set to the default color, Blink make it lighter instead of blinking. Support of italic text with the "''^[''''[3m''" sequence. | | ||
- | | [[http://www.tenshu.net/terminator/|Terminator]] | ok | ok | ok | - | ok | ok | ok | ok | ok | ok | Strikeout with the "''^[''''[9m''" sequence. | | + | | [[http://www.tenshu.net/terminator/|Terminator]] | ok | ok | ok | - | ok | ok | ok | ok | - | ok | Strikeout with the "''^[''''[9m''" sequence. | |
| [[http://tilda.sourceforge.net/tildaabout.php|Tilda]] | ok | - | ok | - | ok | - | ok | ok | - | - | Underline instead of Dim. Convert 256-colors in 16-colors. | | | [[http://tilda.sourceforge.net/tildaabout.php|Tilda]] | ok | - | ok | - | ok | - | ok | ok | - | - | Underline instead of Dim. Convert 256-colors in 16-colors. | | ||
- | | [[http://www.xfce.org/projects/terminal|XFCE4 Terminal]] | ok | ok | ok | - | ok | ok | ok | ok | ok | ok | Strikeout with the "''^[''''[9m''" sequence. | | + | | [[http://www.xfce.org/projects/terminal|XFCE4 Terminal]] | ok | ok | ok | - | ok | ok | ok | ok | - | ok | Strikeout with the "''^[''''[9m''" sequence. | |
- | | [[http://invisible-island.net/xterm/xterm.html|XTerm]] | ok | - | ok | ok | ok | ok | ok | ok | ok | ok | | | + | | [[http://invisible-island.net/xterm/xterm.html|XTerm]] | ok | - | ok | ok | ok | ok | ok | ok | - | ok | | |
| xvt | ok | - | ok | - | ok | - | - | - | - | - | | | | xvt | ok | - | ok | - | ok | - | - | - | - | - | | | ||
| Linux TTY | ok | - | - | - | ok | - | ok | ~ | - | - | Specials colors instead of Dim and Underlined. Lighter background instead of Blink, Bug with 88/256 colors. | | | Linux TTY | ok | - | - | - | ok | - | ok | ~ | - | - | Specials colors instead of Dim and Underlined. Lighter background instead of Blink, Bug with 88/256 colors. | | ||
- | | [[http://developer.gnome.org/vte/|VTE Terminal]] ((GTK Widget used in GNOME Terminal, Nautilus Terminal, XFCE4 Terminal...)) | ok | ok | ok | - | ok | ok | ok | ok | ok | ok | Strikeout with the "''^[''''[9m''" sequence. | | + | | [[http://developer.gnome.org/vte/|VTE Terminal]] ((GTK Widget used in GNOME Terminal, Nautilus Terminal, XFCE4 Terminal...)) | ok | ok | ok | - | ok | ok | ok | ok | - | ok | Strikeout with the "''^[''''[9m''" sequence. | |
__Notations used in the table:__ | __Notations used in the table:__ |