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:source]

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

source

Default Keybindings

None.

Syntax

  • source file

Description

Read and execute commands from file file. Source commands may be nested to a maximum recursion level of ten. If file is not an absolute path and screen is already processing a source command, the parent directory of the running source command file is used to search for the new command file before screen's current directory.

Note that termcap/terminfo/termcapinfo commands only work at startup and reattach time, so they must be reached via the default screenrc files to have an effect.

Examples

source .screenrc-$HOST

Loads a host-specific .screenrc file. This assumes an environment variable named $HOST, which is not standard on all systems.

bind l source $HOME/layout

Binds the sequence C-a l to load a .screenrc-type file named “layout”. This might set up the display in particular ways. Sourcing a file can be a more convenient way to run several screen commands than using eval.

See Also

 
commands/source.txt · Last modified: 2010/01/26 17:13 by asciiphil
Recent changes RSS feed GNU General Public License Driven by DokuWiki