Strict Standards: Declaration of action_plugin_loglog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/public/screen/lib/plugins/loglog/action.php on line 15

Strict Standards: Declaration of action_plugin_captcha::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/public/screen/lib/plugins/captcha/action.php on line 0
GNU screen [man:string_escapes]

Differences

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

man:string_escapes [2009/12/09 18:37]
207.53.192.2 Add link to truncation/padding escapes.
man:string_escapes [2010/01/25 13:48] (current)
asciiphil
Line 1: Line 1:
===== String Escapes ===== ===== String Escapes =====
- 
-[//Copied pretty much verbatim from the man page.//] 
Screen provides an escape mechanism to insert information like the current Screen provides an escape mechanism to insert information like the current
time into messages or file names.  The escape character is '%' with one time into messages or file names.  The escape character is '%' with one
-exception: inside of a windows hardstatus '^%' ('^E') is used instead.+exception: inside of a window's hardstatus '^%' ('^E') is used instead.
Here is the full list of supported escapes: Here is the full list of supported escapes:
Line 16: Line 14:
| d | day number | | d | day number |
| D | weekday name | | D | weekday name |
-| f | flags of the window |+| f | flags of the window (see [[:Window Flags]]) |
| F | sets %? to true if the window has the focus | | F | sets %? to true if the window has the focus |
| h | hardstatus of the window | | h | hardstatus of the window |
Line 37: Line 35:
| > | mark the current text position for the next truncation.  When screen needs to do truncation, it tries to do it in a way that the marked position gets moved to the specified percentage of the output area.  (The area starts from the last absolute pad position and ends with the position specified by the truncation operator.)  The 'L' qualifier tells screen to mark the truncated parts with '...'. | | > | mark the current text position for the next truncation.  When screen needs to do truncation, it tries to do it in a way that the marked position gets moved to the specified percentage of the output area.  (The area starts from the last absolute pad position and ends with the position specified by the truncation operator.)  The 'L' qualifier tells screen to mark the truncated parts with '...'. |
| { | attribute/color modifier string terminated by the next '}' | | { | attribute/color modifier string terminated by the next '}' |
-| ` | Substitute  with the output of a 'backtick' command.  The length qualifier is misused to identify one of the commands. |+| ` | Substitute  with the output of a '[[commands:backtick]]' command.  The length qualifier is misused to identify one of the commands. |
The 'c' and 'C' escape may be qualified with a '0' to make screen use zero The 'c' and 'C' escape may be qualified with a '0' to make screen use zero
Line 45: Line 43:
long names, 'w' and 'W' also show the window flags if 'L' is given. long names, 'w' and 'W' also show the window flags if 'L' is given.
-For more information about the '=', '<', and '>' escapes, please see [[truncation/padding escapes]].+<box 80% blue | :!: See also> 
 +[[:Truncation/padding escapes]] has more information about the '=', '<', and '>' escapes. 
 +</box>
An attribute/color modifier is is used to change the attributes or the An attribute/color modifier is is used to change the attributes or the
 
man/string_escapes.1260383822.txt.gz · Last modified: 2009/12/09 18:37 by 207.53.192.2
Recent changes RSS feed GNU General Public License Driven by DokuWiki