summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Christoph Nordholz <hesso@pool.math.tu-berlin.de>2009-12-18 16:26:41 -0500
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>2009-12-18 16:26:41 -0500
commit855b8e7b98894e8f94033945720714c235911262 (patch)
treef530ff09eb2d78dd8520b0f9bda7f3ff3a1e4cee
parentcb86fbaf2557c64acba71425920f14d3993fa5dd (diff)
downloadscreen-855b8e7b98894e8f94033945720714c235911262.tar.gz
Discourage the use of 'sessionname' (see debian bug #103771).
-rw-r--r--src/doc/screen.15
-rw-r--r--src/doc/screen.texinfo4
2 files changed, 6 insertions, 3 deletions
diff --git a/src/doc/screen.1 b/src/doc/screen.1
index a811379..965567e 100644
--- a/src/doc/screen.1
+++ b/src/doc/screen.1
@@ -2636,8 +2636,9 @@ Rename the current session. Note, that for \*Qscreen -list\*U the
name shows up with the process-id prepended. If the argument \*Qname\*U
is omitted, the name of this session is displayed. Caution: The $STY
environment variables will still reflect the old name in pre-existing
-shells. This may result in
-confusion.
+shells. This may result in confusion. Use of this command is generally
+discouraged. Use the \*Q-S\*U command-line option if you want to
+name a new session.
The default is constructed from the tty and host names.
.sp
.ne 3
diff --git a/src/doc/screen.texinfo b/src/doc/screen.texinfo
index 10ac31f..43a7a55 100644
--- a/src/doc/screen.texinfo
+++ b/src/doc/screen.texinfo
@@ -1847,7 +1847,9 @@ omitted, the name of this session is displayed.@*
@emph{Caution}: The @code{$STY}
environment variable will still reflect the old name in pre-existing
shells. This may result in
-confusion. The default is constructed from the tty and host names.
+confusion. Use of this command is generally
+discouraged. Use the @code{-S} command-line option if you want to
+name a new session.The default is constructed from the tty and host names.
@end deffn
@node Suspend, Quit, Session Name, Session Management