Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
man:string_escapes [2009-12-09 18:37] 207.53.192.2 Add link to truncation/padding escapes. |
man:string_escapes [2010-01-22 13:50] asciiphil Pull out link to truncation/padding escapes. |
===== 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: |
| > | 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 |
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 |