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 [commands:backtick]

Strict Standards: Declaration of syntax_plugin_graphviz::handle() should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, &$handler) in /home/public/screen/lib/plugins/graphviz/syntax.php on line 20

backtick

Default Keybindings

None.

Syntax

  • backtick id lifespan autorefresh cmd argsā€¦
  • backtick id

Description

Program the backtick command with the numerical id id. The output of such a command is used for substitution of the %` string escape. The specified lifespan is the number of seconds the output is considered valid. After this time, the command is run again if a corresponding string escape is encountered. The autorefresh parameter triggers an automatic refresh for caption and hardstatus strings after the specified number of seconds. Only the last line of output is used for substitution.

If both the lifespan and the autorefresh parameters are zero, the backtick program is expected to stay in the background and generate output once in a while. In this case, the command is executed right away and screen stores the last line of output. If a new line gets printed, screen will automatically refresh the hardstatus or the captions.

The second form of the command deletes the backtick command with the numerical id id.

Examples

  backtick 1 5 5 echo example
  caption always "this is an %1`"

See Also

 
commands/backtick.txt · Last modified: 2014/04/11 22:43 by 66.91.124.95
Recent changes RSS feed GNU General Public License Driven by DokuWiki