Site Tools


Differences

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

Link to this comparison view

commands:attrcolor [2010-01-23 18:12] (current)
207.53.192.2 created
Line 1: Line 1:
 +====== attrcolor ======
 +
 +===== Default Keybindings =====
 +
 +None.
 +
 +===== Syntax =====
 +
 +  * ''**attrcolor** //attrib// [//attribute/color-modifier//]''
 +
 +===== Description =====
 +
 +This  command can be used to highlight attributes by changing the color of
 +the text.  If the attribute //attrib// is in use, the specified attribute/color
 +modifier  is  also  applied.  If  no modifier is given, the current one is
 +deleted.  See the [[man:String Escapes]] chapter for the syntax of the  modifier.
 +''screen''  understands  two  pseudo-attributes: "''i''" stands for high-intensity
 +foreground color and "''I''" for high-intensity background color.
 +
 +===== Examples =====
 +
 +<code>
 +attrcolor b "R"
 +</code>
 +
 +Change the color to bright red if bold text is to be printed.
 +
 +<code>
 +attrcolor u "-u b"
 +</code>
 +
 +Use blue text instead of underline.
 +
 +<code>
 +attrcolor b ".I"
 +</code>
 +
 +Use bright colors for bold text. Most terminal emulators do this  already.
 +
 +<code>
 +attrcolor i "+b"
 +</code>
 +
 +Make bright colored text also bold.
 +
 +===== See Also =====
 +
 +  * [[:appearance]]
  

User Tools