====== printcmd ====== ===== Default Keybindings ===== None. ===== Syntax ===== * ''**printcmd** [//cmd//]'' ===== Description ===== If //cmd// is not an empty string, ''screen'' will not use the terminal capabilities ''po''/''pf'' if it detects an ANSI print sequence ''ESC [ 5 i'', but pipe the output into //cmd//. This should normally be a command like ''lpr'' or "''cat > /tmp/scr-print''". ''printcmd'' without a command displays the current setting. The ANSI sequence ''ESC \'' ends printing and closes the pipe. Warning: Be careful with this command! If other user have write access to your terminal, they will be able to fire off print commands. ===== Examples ===== None yet. ===== See Also ===== * [[:terminal]]