CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2009/08/08 15:52:43
Modified files:
usr.bin/tmux : Makefile client.c cmd-attach-session.c
cmd-new-session.c cmd-respawn-window.c
cmd-set-option.c cmd-split-window.c
cmd-string.c cmd.c server-fn.c server-msg.c
session.c tmux.1 tmux.c tmux.h window.c
Added files:
usr.bin/tmux : cmd-set-environment.c cmd-show-environment.c
environ.c
Log message:
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.