~ubuntu-branches/ubuntu/trusty/screen/trusty-backports

« back to all changes in this revision

Viewing changes to debian/patches/27doc_sty_noenvpassing.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
## 27doc_sty_noenvpassing.dpatch by <hesso@pool.math.tu-berlin.de>
 
3
##
 
4
## DP: Document the fact that when calling 'env=var screen app arg' from inside
 
5
## DP: screen the environment variable will go up in smoke.
 
6
 
 
7
@DPATCH@
 
8
--- screen-4.0.3.orig/doc/screen.1      2007-09-23 23:09:25.000000000 +0200
 
9
+++ screen-4.0.3/doc/screen.1   2007-09-23 23:19:53.000000000 +0200
 
10
@@ -97,7 +97,9 @@
 
11
 manager (specified in the $STY environment variable) who will use it to
 
12
 create the new window.
 
13
 The above example would start the emacs editor (editing prog.c) and switch
 
14
-to its window.
 
15
+to its window. - Note that you cannot transport environment variables from
 
16
+the invoking shell to the application (emacs in this case), because it is
 
17
+forked from the parent screen process, not from the invoking shell.
 
18
 .PP
 
19
 If \*Q/var/run/utmp\*U is writable by
 
20
 .IR screen ,
 
21
--- screen-4.0.3.orig/doc/screen.texinfo        2007-09-23 23:09:27.000000000 +0200
 
22
+++ screen-4.0.3/doc/screen.texinfo     2007-09-23 23:20:46.000000000 +0200
 
23
@@ -175,6 +175,9 @@
 
24
 name and its arguments to the window manager (specified in the $STY environment
 
25
 variable) who will use it to create the new window.  The above example would 
 
26
 start the @code{emacs} editor (editing @file{prog.c}) and switch to its window.
 
27
+- Note that you cannot transport environment variables from
 
28
+the invoking shell to the application (emacs in this case), because it is
 
29
+forked from the parent screen process, not from the invoking shell.
 
30
 
 
31
 If @file{/var/run/utmp} is writable by @code{screen}, an appropriate record
 
32
 will be written to this file for each window, and removed when the