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
Last revision Both sides next revision
commands:start [2010-01-22 16:23]
asciiphil
commands:start [2018-11-10 07:30]
203.86.207.53
Line 1: Line 1:
 ====== screen Commands ====== ====== screen Commands ======
 +
 +Commands may be placed in your .screenrc file, run from ''screen'''s [[commands:colon|command line]], [[commands:bindkey|bound]] to keypresses, or triggered by other commands (e.g. ''[[commands:at]]'' or ''[[commands:eval]]'').  Some are used to configure ''screen'''s behavior, while others cause ''screen'' to take various actions.
  
 The following commands are available: The following commands are available:
  
-  * ''[[commands:acladd]]'' +  * ''[[commands:acladd]]'' - Adds users with full permission to all windows. 
-  * ''[[commands:addacl]]'' +  * ''[[commands:aclchg]]'' - Adds users with more flexible permissions or changes the permissions on an existing user. 
-  * ''[[commands:aclchg]]'' +  * ''[[commands:acldel]]'' - Removes a user from ''screen'''s knowledge. 
-  * ''[[commands:chacl]]'' +  * ''[[commands:aclgrp]]'' - Adds a user to a group or just describes user's group membership. 
-  * ''[[commands:acldel]]'' +  * ''[[commands:aclumask]]'' - Sets default permissions for windows not yet created. 
-  * ''[[commands:aclgrp]]'' +  * ''[[commands:activity]]'' - Set message displayed by screen when a monitored window shows activity. 
-  * ''[[commands:aclumask]]'' +  * ''[[commands:addacl]]'' - Synonym for ''[[commands:acladd]]''. 
-  * ''[[commands:umask]]'' +  * ''[[commands:allpartial]]'' - Global command equivalent to setting ''[[commands:partial]]'' for all current windows. 
-  * ''[[commands:activity]]'' +  * ''[[commands:altscreen]]'' - Enables “alternate screen” support (''ti'' and ''te'' termcap settings) for ''screen'' windows.
-  * ''[[commands:allpartial]]'' +
-  * ''[[commands:altscreen]]''+
   * ''[[commands:at]]''   * ''[[commands:at]]''
-  * ''[[commands:attrcolor]]''+  * ''[[commands:attrcolor]]'' - Remaps the effect of text attributes.
   * ''[[commands:autodetach]]''   * ''[[commands:autodetach]]''
-  * ''[[commands:autonuke]]''+  * ''[[commands:autonuke]]'' - Determines whether a given window will attempt to display buffered text after a clear command is received.
   * ''[[commands:backtick]]''   * ''[[commands:backtick]]''
-  * ''[[commands:bce]]'' +  * ''[[commands:bce]]'' - Sets or toggle background-color-erase setting. 
-  * ''[[commands:bell_msg]]'' +  * ''[[commands:bell_msg]]'' - Changes the message printed when a bell character is received in another window. 
-  * ''[[commands:bind]]'' +  * ''[[commands:bind]]'' - Binds a command to a key as a standard ''screen'' command. 
-  * ''[[commands:bindkey]]'' +  * ''[[commands:bindkey]]'' - Binds a command to an arbitrary keypress in any of ''screen'''s input translation tables.
-  * ''[[commands:break]]''+
   * ''[[commands:blanker]]''   * ''[[commands:blanker]]''
   * ''[[commands:blankerprg]]''   * ''[[commands:blankerprg]]''
-  * ''[[commands:breaktype]]''+  * ''[[commands:break]]'' 
 +  * ''[[commands:breaktype]]'' - Currently a synonym for ''[[commands:defbreaktype]]''
   * ''[[commands:bufferfile]]''   * ''[[commands:bufferfile]]''
-  * ''[[commands:c1]]'' +  * ''[[commands:c1]]'' - Sets or toggles c1 code processing. 
-  * ''[[commands:caption]]'' +  * ''[[commands:caption]]'' - Controls the display of the caption line at the bottom of screen windows. 
-  * ''[[commands:charset]]''+  * ''[[commands:chacl]]'' - Synonym for ''[[commands:aclchg]]''. 
 +  * ''[[commands:charset]]'' - Changes the current character set slot designation and charset mapping.
   * ''[[commands:chdir]]''   * ''[[commands:chdir]]''
-  * ''[[commands:clear]]''+  * ''[[commands:clear]]'' - Clears the current window, but puts its text into the scrollback buffer.
   * ''[[commands:colon]]''   * ''[[commands:colon]]''
-  * ''[[commands:command]]''+  * ''[[commands:command]]'' - Activates a command class.
   * ''[[commands:compacthist]]''   * ''[[commands:compacthist]]''
   * ''[[commands:console]]''   * ''[[commands:console]]''
Line 40: Line 41:
   * ''[[commands:copy_reg]]''   * ''[[commands:copy_reg]]''
   * ''[[commands:debug]]''   * ''[[commands:debug]]''
 +  * ''[[commands:defautonuke]]'' - Changes the default ''[[commands:autonuke]]'' setting for new windows.
 +  * ''[[commands:defbce]]'' - Same as ''[[commands:bce]]'', but sets the default setting for new windows.
 +  * ''[[commands:defbreaktype]]'' - Sets the type of break signal sent via the ''[[commands:break]]'' or ''[[commands:pow_break]]'' command.
   * ''[[commands:defc1]]''   * ''[[commands:defc1]]''
-  * ''[[commands:defautonuke]]'' +  * ''[[commands:defc1]]'' - Same as ''[[commands:c1]]'', but sets the default setting for new windows. 
-  * ''[[commands:defbce]]'' +  * ''[[commands:defcharset]]'' - Same as ''[[commands:charset]]'', but sets the default setting for new windows. 
-  * ''[[commands:defbreaktype]]'' +  * ''[[commands:defencoding]]'' - Same as ''[[commands:encoding]]'', but sets the default setting for new windows.
-  * ''[[commands:defcharset]]''+
   * ''[[commands:defescape]]''   * ''[[commands:defescape]]''
-  * ''[[commands:defflow]]'' +  * ''[[commands:defflow]]'' - Same as ''[[commands:flow]]'', but sets the default setting for new windows. 
-  * ''[[commands:defgr]]'' +  * ''[[commands:defgr]]'' - Same as ''[[commands:gr]]'', but sets the default setting for new windows. 
-  * ''[[commands:defhstatus]]'' +  * ''[[commands:defhstatus]]'' - Sets the default hardstatus line for new windows.
-  * ''[[commands:defencoding]]''+
   * ''[[commands:deflog]]''   * ''[[commands:deflog]]''
   * ''[[commands:deflogin]]''   * ''[[commands:deflogin]]''
   * ''[[commands:defmode]]''   * ''[[commands:defmode]]''
-  * ''[[commands:defmonitor]]'' +  * ''[[commands:defmonitor]]'' - Set the default monitoring status for new windows. 
-  * ''[[commands:defnonblock]]''+  * ''[[commands:defnonblock]]'' - Same as ''[[commands:nonblock]]'', but sets the default setting for new displays.
   * ''[[commands:defobuflimit]]''   * ''[[commands:defobuflimit]]''
   * ''[[commands:defscrollback]]''   * ''[[commands:defscrollback]]''
   * ''[[commands:defshell]]''   * ''[[commands:defshell]]''
-  * ''[[commands:defsilence]]''+  * ''[[commands:defsilence]]'' - Set the default silence monitoring status for new windows.
   * ''[[commands:defslowpaste]]''   * ''[[commands:defslowpaste]]''
-  * ''[[commands:defutf8]]'' +  * ''[[commands:defutf8]]'' - Same as ''[[commands:utf8]]'', but sets the default setting for new windows. 
-  * ''[[commands:defwrap]]'' +  * ''[[commands:defwrap]]'' - Same as ''[[commands:wrap]]'', but sets the default setting for new windows. 
-  * ''[[commands:defwritelock]]''+  * ''[[commands:defwritelock]]'' - Sets the default writelock setting for new windows.
   * ''[[commands:defzombie]]''   * ''[[commands:defzombie]]''
   * ''[[commands:detach]]''   * ''[[commands:detach]]''
-  * ''[[commands:dinfo]]'' 
-  * ''[[commands:displays]]'' 
   * ''[[commands:digraph]]''   * ''[[commands:digraph]]''
-  * ''[[commands:dumptermcap]]'' +  * ''[[commands:dinfo]]'' - Shows what settings ''screen'' is using for the current display. 
-  * ''[[commands:echo]]'' +  * ''[[commands:displays]]'' 
-  * ''[[commands:encoding]]'' +  * ''[[commands:dumptermcap]]'' - Tells ''screen'' to create a .termcap file in its socket directory. 
-  * ''[[commands:escape]]''+  * ''[[commands:echo]]'' - Displays a message on the current display as if it were a screen message. 
 +  * ''[[commands:encoding]]'' - Sets the character encoding for the current window. 
 +  * ''[[commands:escape]]'' - Changes ''screen'''s command prefix character.
   * ''[[commands:eval]]''   * ''[[commands:eval]]''
   * ''[[commands:exec]]''   * ''[[commands:exec]]''
-  * ''[[commands:fit]]'' +  * ''[[commands:fit]]'' - Resizes the window to fit the current display region. 
-  * ''[[commands:flow]]'' +  * ''[[commands:flow]]'' - Sets the current window's flow control mode. 
-  * ''[[commands:focus]]'' +  * ''[[commands:focus]]'' - Moves input focus between regions. 
-  * ''[[commands:gr]]''+  * ''[[commands:gr]]'' - Sets or toggles GR charset switching.
   * ''[[commands:hardcopy]]''   * ''[[commands:hardcopy]]''
   * ''[[commands:hardcopy_append]]''   * ''[[commands:hardcopy_append]]''
   * ''[[commands:hardcopydir]]''   * ''[[commands:hardcopydir]]''
-  * ''[[commands:hardstatus]]'' +  * ''[[commands:hardstatus]]'' - Controls use of the terminal's hardstatus line (if any) for displaying screen messages. 
-  * ''[[commands:height]]'' +  * ''[[commands:height]]'' - Changes the dimensions of the window or the display. 
-  * ''[[commands:help]]''+  * ''[[commands:help]]'' - Displays the current keybindings.
   * ''[[commands:history]]''   * ''[[commands:history]]''
-  * ''[[commands:hstatus]]''+  * ''[[commands:hstatus]]'' - Synonym for "''hardstatus string //status//''".
   * ''[[commands:idle]]''   * ''[[commands:idle]]''
   * ''[[commands:ignorecase]]''   * ''[[commands:ignorecase]]''
-  * ''[[commands:info]]''+  * ''[[commands:info]]'' - Displays information about screen and the current window in the message area.
   * ''[[commands:ins_reg]]''   * ''[[commands:ins_reg]]''
   * ''[[commands:kill]]''   * ''[[commands:kill]]''
-  * ''[[commands:lastmsg]]'' +  * ''[[commands:lastmsg]]'' - Redisplays the last message that screen showed on the current display. 
-  * ''[[commands:license]]''+  * ''[[commands:license]]'' - Displays screen's license, as happens when screen starts up.
   * ''[[commands:lockscreen]]''   * ''[[commands:lockscreen]]''
   * ''[[commands:log]]''   * ''[[commands:log]]''
Line 98: Line 100:
   * ''[[commands:login]]''   * ''[[commands:login]]''
   * ''[[commands:logtstamp]]''   * ''[[commands:logtstamp]]''
-  * ''[[commands:mapdefault]]'' +  * ''[[commands:mapdefault]]'' - Prevents the next keypress from being looked up in the user input translation table. 
-  * ''[[commands:mapnotnext]]'' +  * ''[[commands:mapnotnext]]'' - Prevents the next keypress from being looked up in any input translation table. 
-  * ''[[commands:maptimeout]]'' +  * ''[[commands:maptimeout]]'' - Sets the inter-character timeout for multi-character keybindings. 
-  * ''[[commands:markkeys]]''+  * ''[[commands:markkeys]]'' - Changes the keybindings for [[commands:copy]] mode.
   * ''[[commands:maxwin]]''   * ''[[commands:maxwin]]''
-  * ''[[commands:meta]]'' +  * ''[[commands:meta]]'' - Sends the ''screen'' command prefix character to the current window. 
-  * ''[[commands:monitor]]'' +  * ''[[commands:monitor]]'' - Set the monitoring status for the current window. 
-  * ''[[commands:msgminwait]]'' +  * ''[[commands:msgminwait]]'' - Sets the minimum length of time that a screen message will be visible even if the user interacts with screen. 
-  * ''[[commands:msgwait]]'' +  * ''[[commands:msgwait]]'' - Sets the length of time that a message will remain visible if the user does not interact with screen during the lifetime of the message. 
-  * ''[[commands:multiuser]]'' +  * ''[[commands:multiuser]]'' - Enables or disables multiuser mode. 
-  * ''[[commands:nethack]]''+  * ''[[commands:nethack]]'' - Controls the use of nethack-themed messages from ''screen''.
   * ''[[commands:next]]''   * ''[[commands:next]]''
-  * ''[[commands:nonblock]]''+  * ''[[commands:nonblock]]'' - Sets or toggles ''screen'''s behavior when a display stops receiving characters.
   * ''[[commands:number]]''   * ''[[commands:number]]''
   * ''[[commands:obuflimit]]''   * ''[[commands:obuflimit]]''
-  * ''[[commands:only]]''+  * ''[[commands:only]]'' - Removes all regions except the current one.
   * ''[[commands:other]]''   * ''[[commands:other]]''
-  * ''[[commands:partial]]''+  * ''[[commands:partial]]'' - Sets whether ''screen'' should draw the entire window when switching windows.
   * ''[[commands:password]]''   * ''[[commands:password]]''
   * ''[[commands:paste]]''   * ''[[commands:paste]]''
Line 123: Line 125:
   * ''[[commands:pow_detach_msg]]''   * ''[[commands:pow_detach_msg]]''
   * ''[[commands:prev]]''   * ''[[commands:prev]]''
-  * ''[[commands:printcmd]]''+  * ''[[commands:printcmd]]'' - Shows or sets the command used for handling the ANSI print sequence ''ESC [ 5 i''.
   * ''[[commands:process]]''   * ''[[commands:process]]''
   * ''[[commands:quit]]''   * ''[[commands:quit]]''
Line 130: Line 132:
   * ''[[commands:redisplay]]''   * ''[[commands:redisplay]]''
   * ''[[commands:register]]''   * ''[[commands:register]]''
-  * ''[[commands:remove]]''+  * ''[[commands:remove]]'' - Removes the current region.
   * ''[[commands:removebuf]]''   * ''[[commands:removebuf]]''
-  * ''[[commands:reset]]'' +  * ''[[commands:reset]]'' - Resets the current window's virtual terminal settings to their default settings. 
-  * ''[[commands:resize]]''+  * ''[[commands:resize]]'' - Resizes the current region.
   * ''[[commands:screen]]''   * ''[[commands:screen]]''
   * ''[[commands:scrollback]]''   * ''[[commands:scrollback]]''
Line 142: Line 144:
   * ''[[commands:shell]]''   * ''[[commands:shell]]''
   * ''[[commands:shelltitle]]''   * ''[[commands:shelltitle]]''
-  * ''[[commands:silence]]'' +  * ''[[commands:silence]]'' - Set the silence monitoring status for the current window. 
-  * ''[[commands:silencewait]]''+  * ''[[commands:silencewait]]'' - Set the silence timeout for all windows.
   * ''[[commands:sleep]]''   * ''[[commands:sleep]]''
   * ''[[commands:slowpaste]]''   * ''[[commands:slowpaste]]''
 +  * ''[[commands:sorendition]]'' - Defines the visual appearance of screen's messages.
   * ''[[commands:source]]''   * ''[[commands:source]]''
-  * ''[[commands:sorendition]]'' +  * ''[[commands:split]]'' - Splits the current region into two new regions. 
-  * ''[[commands:split]]'' +  * ''[[commands:startup_message]]'' - Enables or disables the display of screen's license information when screen starts up. 
-  * ''[[commands:startup_message]]'' +  * ''[[commands:stuff]]'' - Sends a string to the current window.
-  * ''[[commands:stuff]]''+
   * ''[[commands:su]]''   * ''[[commands:su]]''
   * ''[[commands:suspend]]''   * ''[[commands:suspend]]''
-  * ''[[commands:term]]'' +  * ''[[commands:term]]'' - Changes the value of $TERM that ''screen'' passes to its windows' child processes. 
-  * ''[[commands:termcap]]'' +  * ''[[commands:termcap]]'' - Tweaks termcap entries for either ''screen'''s interaction with the display terminal or for the virtual terminal presented to child programs. 
-  * ''[[commands:terminfo]]'' +  * ''[[commands:termcapinfo]]'' - Tweaks termcap and terminfo entries for either ''screen'''s interaction with the display terminal or for the virtual terminal presented to child programs. 
-  * ''[[commands:termcapinfo]]'' +  * ''[[commands:terminfo]]'' - Tweaks terminfo entries for either ''screen'''s interaction with the display terminal or for the virtual terminal presented to child programs. 
-  * ''[[commands:time]]''+  * ''[[commands:time]]'' - Displays (or controls the display of) system information.
   * ''[[commands:title]]''   * ''[[commands:title]]''
 +  * ''[[commands:umask]]'' - Synonym for ''[[commands:aclumask]]''.
   * ''[[commands:unsetenv]]''   * ''[[commands:unsetenv]]''
-  * ''[[commands:utf8]]'' +  * ''[[commands:utf8]]'' - Changes or toggles the encoding on the current window. 
-  * ''[[commands:vbell]]'' +  * ''[[commands:vbell]]'' - Sets or toggles the visual bell. 
-  * ''[[commands:vbell_msg]]'' +  * ''[[commands:vbell_msg]]'' - Sets or displays the message displayed for visual bells. 
-  * ''[[commands:vbellwait]]''+  * ''[[commands:vbellwait]]'' - Defines a hysteresis for visual bells.
   * ''[[commands:verbose]]''   * ''[[commands:verbose]]''
-  * ''[[commands:version]]'' +  * ''[[commands:version]]'' - Uses the message area to display screen's version and compile date. 
-  * ''[[commands:wall]]'' +  * ''[[commands:wall]]'' - Like ''[[commands:echo]]'', but sends the message to all displays, with the name of the current user prepended. 
-  * ''[[commands:width]]''+  * ''[[commands:width]]'' - Like ''[[commands:height]]'', but with the order of arguments reversed.
   * ''[[commands:windowlist]]''   * ''[[commands:windowlist]]''
   * ''[[commands:windows]]''   * ''[[commands:windows]]''
-  * ''[[commands:wrap]]''+  * ''[[commands:wrap]]'' - Sets or toggles the current window's line wrap setting.
   * ''[[commands:writebuf]]''   * ''[[commands:writebuf]]''
-  * ''[[commands:writelock]]'' +  * ''[[commands:writelock]]'' - Sets writelock mode for current window. 
-  * ''[[commands:xoff]]'' +  * ''[[commands:xoff]]'' - Sends an XOFF (''^S'') to the current window. 
-  * ''[[commands:xon]]'' +  * ''[[commands:xon]]'' - Sends an XON (''^Q'') to the current window. 
-  * ''[[commands:zmodem]]''+  * ''[[commands:zmodem]]'' - Sets ''screen'''s handling of zmodem communcations.
   * ''[[commands:zombie]]''   * ''[[commands:zombie]]''
-  * ''[[commands:defzombie]]'' 
  

User Tools