~ubuntu-branches/ubuntu/trusty/screen/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/patches/17manpage_sessionname_warning.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Jan Christoph Nordholz
  • Date: 2008-06-12 19:33:30 UTC
  • mfrom: (1.1.13 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080612193330-1tt3qhpxonbgdmq2
Tags: 4.0.3-11
* Unbreak <End> and <^A Bksp> using a patch from Loïc Minier
  (thanks!) - introduced as new 45suppress_remap.dpatch.
  Closes: #484647.
* Bump Standards version to 3.8.0. No changes necessary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 17manpage_sessionname_warning.dpatch by  <hesso@pool.math.tu-berlin.de>
 
3
##
 
4
## DP: Discourage the use of 'sessionname' (see #103771).
 
5
 
 
6
@DPATCH@
 
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 @@
 
11
 .PP
 
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 
 
16
-confusion. 
 
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.
 
22
 .sp
 
23
 .ne 3
 
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
 
37
+need this feature.
 
38
+The default is constructed from the tty and host names.
 
39
 @end deffn
 
40
 
 
41
 @node Suspend, Quit, Session Name, Session Management