History log of /openbsd-src/usr.bin/tmux/tmux.c (Results 76 – 100 of 214)
Revision Date Author Comments
# 7b560ed5 30-Aug-2015 nicm <nicm@openbsd.org>

Event base does not need to be global.


# 82bdfec0 30-Aug-2015 nicm <nicm@openbsd.org>

Some style nits and dead assignments.


# 179ef399 20-Jul-2015 nicm <nicm@openbsd.org>

Add an option (history-file) for a file to save/restore command prompt
history, from Olof-Joachim Frahm.


# 3da585bc 04-Jun-2015 jmc <jmc@openbsd.org>

tweak SYNOPSIS and usage();


# cb12d36b 19-Jan-2015 nicm <nicm@openbsd.org>

Make a tmux-%u directory under TMUX_TMPDIR, like TMPDIR.


# 9945ad17 19-Jan-2015 nicm <nicm@openbsd.org>

Only care about other permissions, allow group to be set.


# ec58ad29 19-Jan-2015 nicm <nicm@openbsd.org>

Remove unnecessary duplicate S_ISDIR check, from Dmitri Paduchikh.


# 26529d6f 20-Oct-2014 nicm <nicm@openbsd.org>

Tidy up some includes.


# 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 ...


# 46b1c757 31-Mar-2014 nicm <nicm@openbsd.org>

Remove log_debug2 as well and simplify log.c.


# 6a025645 16-Feb-2014 nicm <nicm@openbsd.org>

Leftovers from removing 88 colour support, from Theo Buehler.


# b533f7ee 15-Jan-2014 nicm <nicm@openbsd.org>

Do not attempt to read .tmux.conf if we can't figure out a home
directory, from Tiago Cunha.


# 6f631021 09-Jan-2014 nicm <nicm@openbsd.org>

Three small changes from Tiago Cunha:

- Check for truncation when copying path.
- Don't need to use a temporary buffer in screen_set_title.
- Include strerror in output when connecting to server fai

Three small changes from Tiago Cunha:

- Check for truncation when copying path.
- Don't need to use a temporary buffer in screen_set_title.
- Include strerror in output when connecting to server fails.

show more ...


# d87b01fb 10-Oct-2013 nicm <nicm@openbsd.org>

We accidentally haven't been using $TMUX to work out the session for a
while and in fact it is less useful that using the client ttyname. So
don't bother and don't pass it from the client. If we need

We accidentally haven't been using $TMUX to work out the session for a
while and in fact it is less useful that using the client ttyname. So
don't bother and don't pass it from the client. If we need it in future
it is in c->environ.

show more ...


# 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 ...


# cafa7ad7 10-Oct-2013 nicm <nicm@openbsd.org>

Merge IDENTIFY_* flags with CLIENT_* flags.


# 2b80f9f7 10-Oct-2013 nicm <nicm@openbsd.org>

Don't treat TMUX_TMPDIR as a potential file

The point of setting TMUX_TMPDIR is to then make any labels from -L go
to that directory. In the case of makesocketpath() with no TMUX_TMPDIR
set, would

Don't treat TMUX_TMPDIR as a potential file

The point of setting TMUX_TMPDIR is to then make any labels from -L go
to that directory. In the case of makesocketpath() with no TMUX_TMPDIR
set, would set both the path and the default socket to a file. The
checking of the permissions on the file worked fine in that case, but
when TMUX_TMPDIR is set, won't work on a directory.

This fixes the problem by ensuring the check on the permissions is
performed on directories only.

By Thomas Adam.

show more ...


# 41c58c32 05-Oct-2013 nicm <nicm@openbsd.org>

Fix previous not to leak fd on failure, whoops.


# c4a631fa 05-Oct-2013 nicm <nicm@openbsd.org>

Use open(".")/fchdir() to save and restore current directory rather than
getcwd()/chdir().


# ebf82b56 24-Apr-2013 nicm <nicm@openbsd.org>

Rename global configuration define.


# 622ef518 11-Apr-2013 nicm <nicm@openbsd.org>

Call setlocale(LC_TIME) at startup.


# 40b64c41 27-Mar-2013 nicm <nicm@openbsd.org>

Add TMUX_TMPDIR variable to put the socket directory outside
TMPDIR. From Ben Boeckel.


# 0e3eb495 27-Mar-2013 nicm <nicm@openbsd.org>

Remove tmux's (already minimal) 88 colour support. Such terminals are
few and unnecessary.


# 0a539d5d 25-Mar-2013 nicm <nicm@openbsd.org>

Rename session idx to session id throughout and add $ prefix to targets
to use it, extended from a diff 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 ...


123456789