| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
environment rather than getenv, this allows them to be updated during
the configuration file.
|
|
|
|
|
|
| |
have_arg matches buf so it is no longer necessary, spotted by Tim van der
Molen.
|
|
|
|
|
| |
Remove unnecessary comparison, pointed out by Tiago Cunha.
|
|
|
|
|
|
|
| |
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...
|
|
|
|
|
|
|
|
| |
Get a u_char from the string, otherwise it isn't possible to enter \0377 as it
is mistaken for EOF (doh).
Also drop an unused argument.
|
|
|
|
|
|
| |
Use home from struct passwd if HOME is empty as well as if it is NULL, and fix
a style nit. Both from Tiago Cunha.
|
|
|
|
|
|
| |
I made a complete horlicks of the last change, fix it so it doesn't either lead
to a double free or free the item after the end of the array.
|
|
|
|
|
|
|
|
|
| |
Rewrite a confusing loop when freeing the arg array on exit and move the check
for argv being NULL, prompted by parfait via deraadt.
Also fix some definite brokenness when assigning multiple environment variables
in arguments (such as "X=1 Y=2").
|
|
|
|
|
| |
tabs are better; ok nicm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 session 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.
|
|
|
|
|
|
|
|
|
|
| |
Add a terminal-overrides session option allowing individual terminfo(5) entries
to be overridden. The 88col/256col checks are now moved into the default
setting and out of the code.
Also remove a couple of old workarounds for xterm and rxvt which are no longer
necessary (tmux can emulate them if missing).
|
| |
|
|
|
|
|
| |
user-specified one.
|
| |
|
|
|
|
|
| |
file/command prompt. From Tiago Cunha.
|
| |
|
|
|
|
|
| |
freed and in the other const strings.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
mode-fg/mode-bg options, force -g for global on set/show/setw/showw/
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|