Site Tools


Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
man:string_escapes [2006-10-19 19:57]
127.0.0.1 external edit
man:string_escapes [2010-01-22 13:50]
asciiphil Pull out link to truncation/padding escapes.
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'hardstatus '^%' ('^E') is used instead.
  
 Here is the full list of supported escapes: Here is the full list of supported escapes:
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 44: Line 42:
 qualifier (e.g. '%3n'), 'D' and 'M' can be prefixed with 'L' to generate qualifier (e.g. '%3n'), 'D' and 'M' can be prefixed with 'L' to generate
 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.
 +
 +<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

User Tools