#
74d4b937 |
| 20-Oct-2014 |
nicm <nicm@openbsd.org> |
Better format for printf format attributes.
|
#
c6cf1eff |
| 01-Sep-2014 |
nicm <nicm@openbsd.org> |
Various minor style and spacing nits.
|
#
7f6133c3 |
| 17-Apr-2014 |
nicm <nicm@openbsd.org> |
Remove the "info" message mechanism, this was only used for about five mostly useless and annoying messages. Change those commands to silence on success like all the others. Still accept the -q comma
Remove the "info" message mechanism, this was only used for about five mostly useless and annoying messages. Change those commands to silence on success like all the others. Still accept the -q command line flag and "quiet" server option for now.
show more ...
|
#
3f7fe539 |
| 09-Jan-2014 |
nicm <nicm@openbsd.org> |
Remove unnecessary calls to va_start/va_end, from Tiago Cunha.
|
#
e1803d63 |
| 10-Oct-2013 |
nicm <nicm@openbsd.org> |
Alter how tmux handles the working directory to internally use file descriptors rather than strings.
- Each session still has a current working directory.
- New sessions still get their working dir
Alter how tmux handles the working directory to internally use file descriptors rather than strings.
- Each session still has a current working directory.
- New sessions still get their working directory from the client that created them or its attached session if any.
- New windows are created by default in the session working directory.
- The -c flag to new, neww, splitw allows the working directory to be overridden.
- The -c flag to attach let's the session working directory be changed.
- The default-path option has been removed.
To get the equivalent to default-path '.', do:
bind c neww -c $PWD
To get the equivalent of default-path '~', do:
bind c neww -c ~
This also changes the client identify protocol to be a set of messages rather than one as well as some other changes that should make it easier to make backwards-compatible protocol changes in future.
show more ...
|
#
f6a3ada0 |
| 10-Oct-2013 |
nicm <nicm@openbsd.org> |
retcode -> retval for exit message.
|
#
8a403d25 |
| 10-Oct-2013 |
nicm <nicm@openbsd.org> |
Support -c for new-session, based on code from J Raynor.
|
#
d9ada8a1 |
| 10-Oct-2013 |
nicm <nicm@openbsd.org> |
Make cmdq->client_exit a tristate (-1 means "not set") so that if explicitly set it can be copied from child to parent cmdq by if-shell and source-file. This fixes using attach or new. From Chris Joh
Make cmdq->client_exit a tristate (-1 means "not set") so that if explicitly set it can be copied from child to parent cmdq by if-shell and source-file. This fixes using attach or new. From Chris Johnsen.
show more ...
|
#
5a200e2a |
| 10-Oct-2013 |
nicm <nicm@openbsd.org> |
Pass flags into cmdq_guard as an argument since sometimes cmdq->cmd can be NULL. Avoids crash when a command in a command client can't be parsed.
|
#
55992735 |
| 23-Jun-2013 |
nicm <nicm@openbsd.org> |
Mark control commands specially so the client can identify them, based on a diff from George Nachman a while back.
|
#
1f95c191 |
| 10-Apr-2013 |
nicm <nicm@openbsd.org> |
Fix bug where end guard in control mode was not printed after session destroyed, from George Nachman.
|
#
6ba5a684 |
| 26-Mar-2013 |
nicm <nicm@openbsd.org> |
Fix compiler warnings, missing #include. From Thomas Adam.
|
#
8c483ee7 |
| 25-Mar-2013 |
nicm <nicm@openbsd.org> |
Only send end guard if begin was sent, from George Nachman.
|
#
fd56ded3 |
| 25-Mar-2013 |
nicm <nicm@openbsd.org> |
Fix a warning.
|
#
0ac894c5 |
| 25-Mar-2013 |
nicm <nicm@openbsd.org> |
Add time and a command count to control mode guards, based on code from George Nachman.
|
#
977fb5b4 |
| 25-Mar-2013 |
nicm <nicm@openbsd.org> |
Add some additional debug logging.
|
#
4567b372 |
| 25-Mar-2013 |
nicm <nicm@openbsd.org> |
Print %%error not %%end guard on error, from George Nachman.
|
#
175d36cc |
| 24-Mar-2013 |
nicm <nicm@openbsd.org> |
Add a command queue to standardize and simplify commands that call other commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous w
Add a command queue to standardize and simplify commands that call other commands and allow a command to block execution of subsequent commands. This allows run-shell and if-shell to be synchronous which has been much requested.
Each client has a default command queue and commands are consumed one at a time from it. A command may suspend execution from the queue by returning CMD_RETURN_WAIT and then resume it by calling cmd_continue() - for example run-shell does this from the callback that is fired after the job is freed.
When the command queue becomes empty, command clients are automatically exited (unless attaching). A callback is also fired - this is used for nested commands in, for example, if-shell which can block execution of the client's cmdq until a new cmdq becomes empty.
Also merge all the old error/info/print functions together and lose the old curclient/cmdclient distinction - a cmdq is bound to one client (or none if in the configuration file), this is a command client if c->session is NULL otherwise an attached client.
show more ...
|