diff --git a/src/doc/screen.1 b/src/doc/screen.1 index 56f6340..6654e0f 100644 --- a/src/doc/screen.1 +++ b/src/doc/screen.1 @@ -3024,7 +3024,7 @@ This should normally be a command like \*Qlpr\*U or .B printcmd without a command displays the current setting. The ansi sequence -.B "ESC \e" +.BR "ESC [ 4 i" ends printing and closes the pipe. .PP Warning: Be careful with this command! If other user have write diff --git a/src/doc/screen.texinfo b/src/doc/screen.texinfo index 1fe8054..7e77beb 100644 --- a/src/doc/screen.texinfo +++ b/src/doc/screen.texinfo @@ -5386,7 +5386,7 @@ sequence @code{ESC [ 5 i}, but pipe the output into @var{cmd}. This should normally be a command like @samp{lpr} or @samp{cat > /tmp/scrprint}. @code{Printcmd} without an argument displays the current setting. -The ansi sequence @code{ESC \} ends printing and closes the pipe. +The ansi sequence @code{ESC [ 4 i} 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.