~dannf/ubuntu/saucy/screen/lp1213278-from-debian

« back to all changes in this revision

Viewing changes to debian/patches/17manpage_sessionname_warning.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-10-23 17:36:30 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20071023173630-6q4agogsxuzujhwd
Tags: 4.0.3-7ubuntu1
* Merge with Debian; remaining Ubuntu changes:
  - 07_norootpassword.dpatch: When locking a root-owned screen, check that
    root has a password set. If not, ask for an unlocking key. (LP#6760)
  - debian/preinst: Remove obsolete init script 'screen' on
    upgrades. The script is called 'screen-cleanup' in Debian and thus
    should be called the same in Ubuntu to avoid a permanent and pointless
    delta. This needs to be kept until after the next LTS.

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
--- screen-4.0.3.orig/doc/screen.1      2007-07-31 17:17:00.000000000 +0200
 
8
+++ screen-4.0.3/doc/screen.1   2007-07-31 17:19:11.000000000 +0200
 
9
@@ -2595,9 +2595,10 @@
 
10
 .PP
 
11
 Rename the current session. Note, that for \*Qscreen -list\*U the
 
12
 name shows up with the process-id prepended. If the argument \*Qname\*U
 
13
-is omitted, the name of this session is displayed. Caution: The $STY 
 
14
-environment variables still reflects the old name. This may result in 
 
15
-confusion. 
 
16
+is omitted, the name of this session is displayed. Caution: Among other
 
17
+problems, the $STY environment variable still reflects the old name.
 
18
+Use of this command is strongly discouraged. Use the \*Q-S\*U commandline
 
19
+option if you need this feature.
 
20
 The default is constructed from the tty and host names.
 
21
 .sp
 
22
 .ne 3
 
23
--- screen-4.0.3.orig/doc/screen.texinfo        2007-08-01 20:11:43.000000000 +0200
 
24
+++ screen-4.0.3/doc/screen.texinfo     2007-08-01 20:13:19.000000000 +0200
 
25
@@ -1754,9 +1754,11 @@
 
26
 Rename the current session. Note that for @code{screen -list} the name
 
27
 shows up with the process-id prepended. If the argument @var{name} is
 
28
 omitted, the name of this session is displayed.@*
 
29
-@emph{Caution}: The @code{$STY}
 
30
-environment variable still reflects the old name. This may result in
 
31
-confusion.  The default is constructed from the tty and host names.
 
32
+@emph{Caution}: Among other problems, the @code{$STY}
 
33
+environment variable still reflects the old name. Use of this command
 
34
+is strongly discouraged. Use the @code{-S} commandline option if you
 
35
+need this feature.
 
36
+The default is constructed from the tty and host names.
 
37
 @end deffn
 
38
 
 
39
 @node Suspend, Quit, Session Name, Session Management