1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 27doc_sty_noenvpassing.dpatch by <hesso@pool.math.tu-berlin.de>
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.
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
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
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.
19
If \*Q/var/run/utmp\*U is writable by
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
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.
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