aboutsummaryrefslogtreecommitdiff
path: root/cmd-string.c
Commit message (Collapse)AuthorAge
* Expand the Id keyword. Tiago Cunha2011-07-09
|
* Read ${X} environment variables in strings and $HOME from the globalNicholas Marriott2010-12-13
| | | | | | environment rather than getenv, this allows them to be updated during the configuration file.
* Sync OpenBSD patchset 649:Tiago Cunha2010-02-26
| | | | | | have_arg matches buf so it is no longer necessary, spotted by Tim van der Molen.
* Sync OpenBSD patchset 628:Tiago Cunha2010-02-02
| | | | | Remove unnecessary comparison, pointed out by Tiago Cunha.
* Sync OpenBSD patchset 581:Tiago Cunha2009-12-04
| | | | | | | 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...
* Sync OpenBSD patchset 565:Tiago Cunha2009-11-28
| | | | | | | | 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.
* Sync OpenBSD patchset 559:Tiago Cunha2009-11-22
| | | | | | 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.
* Sync OpenBSD patchset 541:Tiago Cunha2009-11-18
| | | | | | 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.
* Sync OpenBSD patchset 530:Tiago Cunha2009-11-13
| | | | | | | | | 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").
* Sync OpenBSD patchset 467:Tiago Cunha2009-10-28
| | | | | tabs are better; ok nicm
* Sync OpenBSD patchset 231:Tiago Cunha2009-08-09
| | | | | | | | | | | | | | | | | 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.
* Sync OpenBSD patchset 211:Tiago Cunha2009-08-09
| | | | | | | | | | 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).
* Whoops, chose the wrong one in a conflict. Revert.Nicholas Marriott2009-07-14
|
* If it exist, load a system-wide configuration file /etc/tmux.conf before anyNicholas Marriott2009-07-14
| | | | | user-specified one.
* Expand leading tilde on commands which expect a filename.Tiago Cunha2009-07-13
|
* Fix two memory leaks when assigning shell variables in configurationNicholas Marriott2009-07-09
| | | | | file/command prompt. From Tiago Cunha.
* Restore $Id$ and add script to do so.Nicholas Marriott2009-06-25
|
* strdup the input to putenv to avoid in one case passing a string that is laterNicholas Marriott2009-06-25
| | | | | freed and in the other const strings.
* putenv can be char *.Nicholas Marriott2009-05-15
|
* Spacing.Nicholas Marriott2009-05-04
|
* Don't leak string arguments and options.Nicholas Marriott2009-02-16
|
* Handle "" properly.Nicholas Marriott2009-02-08
|
* Support command sequences separated by " ; ". Also clean up command printing.Nicholas Marriott2009-01-18
|
* Trim spaces.Nicholas Marriott2009-01-10
|
* Even better, use cause.Nicholas Marriott2008-12-10
|
* Make window options work the same was as session options, add ↵Nicholas Marriott2008-12-08
| | | | mode-fg/mode-bg options, force -g for global on set/show/setw/showw/
* Trim.Nicholas Marriott2008-09-26
|
* Comment tweak.Nicholas Marriott2008-08-01
|
* == 0 not == NULLNicholas Marriott2008-07-25
|
* Environment variables in configuration file.Nicholas Marriott2008-07-25
|
* Handle commented lines.Nicholas Marriott2008-06-19
|
* Convert cfg.c to use cmd-string stuff.Nicholas Marriott2008-06-19
|
* Command prompt for interactive commands.Nicholas Marriott2008-06-19