Warning: Undefined array key 5 in
/home/public/screen/inc/changelog.php on line
27
Warning: Undefined array key 6 in
/home/public/screen/inc/changelog.php on line
28
Warning: Undefined array key 3 in
/home/public/screen/inc/changelog.php on line
25
Warning: Undefined array key 4 in
/home/public/screen/inc/changelog.php on line
26
Warning: Undefined array key 5 in
/home/public/screen/inc/changelog.php on line
27
Warning: Undefined array key 6 in
/home/public/screen/inc/changelog.php on line
28
Warning: Undefined array key 5 in
/home/public/screen/inc/changelog.php on line
27
Warning: Undefined array key 6 in
/home/public/screen/inc/changelog.php on line
28
Warning: Undefined array key 3 in
/home/public/screen/inc/changelog.php on line
25
Warning: Undefined array key 4 in
/home/public/screen/inc/changelog.php on line
26
Warning: Undefined array key 5 in
/home/public/screen/inc/changelog.php on line
27
Warning: Undefined array key 6 in
/home/public/screen/inc/changelog.php on line
28
Warning: Undefined array key "userinfo" in
/home/public/screen/inc/common.php on line
1795
Warning: Trying to access array offset on value of type null in
/home/public/screen/inc/common.php on line
1795
Warning: Undefined array key "userinfo" in
/home/public/screen/inc/common.php on line
1795
Warning: Trying to access array offset on value of type null in
/home/public/screen/inc/common.php on line
1795
Warning: Undefined array key "userinfo" in
/home/public/screen/inc/common.php on line
1795
Warning: Trying to access array offset on value of type null in
/home/public/screen/inc/common.php on line
1795
Warning: Undefined array key "userinfo" in
/home/public/screen/inc/common.php on line
1795
Warning: Trying to access array offset on value of type null in
/home/public/screen/inc/common.php on line
1795
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
man:string_escapes [2010-01-21 23:35] asciiphil Page moved from string_escapes to man:string_escapes |
man:string_escapes [2021-02-19 20:07] (current) asciiphil old revision restored (2010-01-25 13:48) |
| ===== 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: |
| | 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 | |
| | > | 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 |