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