summaryrefslogtreecommitdiffstats
path: root/cfg.c
AgeCommit message (Collapse)Author
2010-06-06Sync OpenBSD patchset 704:Tiago Cunha
Fix an out-of-date comment.
2010-02-08Sync OpenBSD patchset 640:Tiago Cunha
Use the array.h code for the causes list.
2010-02-08Sync OpenBSD patchset 635:Tiago Cunha
Instead of bailing out on the first configuration file error, carry on, collecting all the errors, then start with the active window in more mode displaying them.
2009-11-28Sync OpenBSD patchset 567:Tiago Cunha
Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to the rest to reduce lint output.
2009-10-28Sync OpenBSD patchset 467:Tiago Cunha
tabs are better; ok nicm
2009-08-24Sync OpenBSD patchset 290:Tiago Cunha
When using source-file, run the commands in the context of the source-file command rather than with no context. This makes things like attach work from a file.
2009-08-24Sync OpenBSD patchset 289:Tiago Cunha
The cursession member in struct cmd_ctx is always either curclient->session or NULL when curclient is also NULL, so just eliminate it.
2009-08-09Sync OpenBSD patchset 233:Tiago Cunha
Don't leak in the (rare) case of an invalid command at the end of a file not terminated by a \n.
2009-07-30Sync OpenBSD patchset 206:Tiago Cunha
Don't babysit people and let them try to load /dev/zero or (more useful) /dev/null if they want.
2009-06-25Restore $Id$ and add script to do so.Nicholas Marriott
2009-06-25Unused prototypes. Found by lint, no binary change.Nicholas Marriott
2009-05-21stat(2) files before trying to load them to avoid problems, for example with ↵Nicholas Marriott
"source-file /dev/zero". This commit dedicated to Tom: protecting idiots from their own stupidity for more than 20 years.
2009-03-31Close .tmux.conf... DOH.Nicholas Marriott
2009-01-18Support command sequences separated by " ; ". Also clean up command printing.Nicholas Marriott
2008-07-25Environment variables in configuration file.Nicholas Marriott
2008-06-21Lose unnecessary flags on context.Nicholas Marriott
2008-06-19Handle commented lines.Nicholas Marriott
2008-06-19Convert cfg.c to use cmd-string stuff.Nicholas Marriott
2008-06-16Fix some stupid parser bugs, most notably forgetting to allocate space for \0.Nicholas Marriott
2008-06-16Informational messages on window option changes.Nicholas Marriott
2008-06-14Don't die on empty strings.Nicholas Marriott
2008-06-02Allow comments at EOL; count blank lines properly.Nicholas Marriott
2008-06-02Quick man page update, also fix some usages and get rid of some CMD_KEY checks.Nicholas Marriott
2008-06-02Last bits of basic configuration file. By default in ~/.tmux.conf or ↵Nicholas Marriott
specified with -f. Just a list of tmux commands executed when the server is started and before and any session/window is created.
2008-06-02Return error cause properly.Nicholas Marriott
2008-06-02Clear msgdata where it is unavailable.Nicholas Marriott
2008-06-02Move -s and -c down a level so handling them is the responsibility of the ↵Nicholas Marriott
command (with some helper functions), rather than the top-level. This changes the action command syntax so that -s and -c must be after the command rather than before.