nicm
9436a31603
Tweak output of environment logging.
2016-07-15 09:52:34 +00:00
nicm
1718420c48
Log environment to new panes.
2016-07-15 09:28:32 +00:00
nicm
cd14ac0486
Just nuke environ instead of trying to unsetenv everything because that
...
doesn't necessarily work if there is an entry with an empty name.
2016-05-26 12:15:42 +00:00
nicm
995af0e2b7
I no longer use my SourceForge address so replace it.
2016-01-19 15:59:12 +00:00
nicm
d551ab8e5c
Clear the environment properly by looping until it is empty rather than
...
looping over it (which may skip entries), from Brad King.
2016-01-15 11:33:41 +00:00
nicm
62d3af17f9
Make environ_set va_args and use it to tidy up some calls. Also add a
...
missing word in manpage (from jmc).
2015-11-24 23:46:15 +00:00
nicm
bf9c933cae
Like options, move the environ struct into environ.c.
2015-10-28 09:51:55 +00:00
nicm
73c871ba0a
Simplify environ_push so it doesn't need the ARRAY_* functions.
2015-05-07 07:35:31 +00:00
nicm
adcc71d4d5
Don't leak the individual strings when copying environment.
2015-01-25 16:53:46 +00:00
nicm
a5d4b7f3d9
Some more long lines.
2014-04-17 14:45:49 +00:00
Nicholas Marriott
df912e3540
xfree is not particularly helpful, remove it. From Thomas Adam.
2012-07-10 11:53:01 +00:00
Nicholas Marriott
b02cd35354
Run job commands explicitly in the global enviroment (which can be
...
modified with setenv -g) rather than with the environment tmux started
with.
2010-04-04 19:02:09 +00:00
Nicholas Marriott
ad18e45206
Nuke a dead variable found with clang and an unused declaration with lint.
2009-08-09 15:17:50 +00:00
Nicholas Marriott
05f1680efa
Use a temporary variable for strdup of const char *.
2009-08-08 21:54:26 +00:00
Nicholas Marriott
6491274f60
Infrastructure and commands to manage the environment for processes started
...
within tmux.
There is a global environment, copied from the external environment when the
server is started and each sesssion has an (initially empty) session
environment which overrides it.
New commands set-environment and show-environment manipulate or display the
environments.
A new session option, update-environment, is a space-separated list of
variables which are updated from the external environment into the session
environment every time a new session is created - the default is DISPLAY.
2009-08-08 21:52:43 +00:00