1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 17manpage_sessionname_warning.dpatch by <hesso@pool.math.tu-berlin.de>
4
## DP: Discourage the use of 'sessionname' (see #103771).
7
diff -Naur screen-4.0.3.orig/doc/screen.1 screen-4.0.3/doc/screen.1
8
--- screen-4.0.3.orig/doc/screen.1 2008-06-01 23:40:56.000000000 +0200
9
+++ screen-4.0.3/doc/screen.1 2008-06-01 23:44:56.000000000 +0200
10
@@ -2603,9 +2603,10 @@
12
Rename the current session. Note, that for \*Qscreen -list\*U the
13
name shows up with the process-id prepended. If the argument \*Qname\*U
14
-is omitted, the name of this session is displayed. Caution: The $STY
15
-environment variables still reflects the old name. This may result in
17
+is omitted, the name of this session is displayed. Caution: Among other
18
+problems, the $STY environment variable still reflects the old name.
19
+Use of this command is strongly discouraged. Use the \*Q-S\*U commandline
20
+option if you need this feature.
21
The default is constructed from the tty and host names.
24
diff -Naur screen-4.0.3.orig/doc/screen.texinfo screen-4.0.3/doc/screen.texinfo
25
--- screen-4.0.3.orig/doc/screen.texinfo 2008-06-01 23:40:31.000000000 +0200
26
+++ screen-4.0.3/doc/screen.texinfo 2008-06-01 23:44:56.000000000 +0200
27
@@ -1757,9 +1757,11 @@
28
Rename the current session. Note that for @code{screen -list} the name
29
shows up with the process-id prepended. If the argument @var{name} is
30
omitted, the name of this session is displayed.@*
31
-@emph{Caution}: The @code{$STY}
32
-environment variable still reflects the old name. This may result in
33
-confusion. The default is constructed from the tty and host names.
34
+@emph{Caution}: Among other problems, the @code{$STY}
35
+environment variable still reflects the old name. Use of this command
36
+is strongly discouraged. Use the @code{-S} commandline option if you
38
+The default is constructed from the tty and host names.
41
@node Suspend, Quit, Session Name, Session Management