summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Drougge <bearded@longhaired.org>2023-08-09 23:08:25 +0200
committerAlexander Naumov <alexander_naumov@opensuse.org>2023-08-09 23:08:25 +0200
commitacb21f52692cdb73eba3906343ad1edd21f9af2f (patch)
tree8e1aa36bea3a9e3815c0b8ad167d0eef64a9160c
parentbca16ae1a084d53f9177b1888adb580ba8ca58c8 (diff)
downloadscreen-acb21f52692cdb73eba3906343ad1edd21f9af2f.tar.gz
doc: printing is disabled with \e[4i, not ST
-rw-r--r--src/doc/screen.12
-rw-r--r--src/doc/screen.texinfo2
2 files changed, 2 insertions, 2 deletions
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.