summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/names.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* If multiple arguments are given to new-session, new-window,nicm2014-05-131-4/+10
| | | | | | split-window, respawn-window or respawn-pane, pass them directly to execvp() to help avoid quoting problems. One argument still goes to "sh -c" like before. Requested by many over the years. Patch from J Raynor.
* Add automatic-rename-format option allowing automatic rename to usenicm2013-10-101-36/+24
| | | | something other than pane_current_command.
* Revert the command-prefix change which breaks sequences of commands.nicm2013-03-251-15/+11
|
* Add option command-prefix which is automatically prepended to anynicm2013-03-241-11/+15
| | | | command (apart from a naked default-shell). The default is "exec ".
* No more lint means no more ARGSUSED.nicm2013-03-221-2/+1
|
* Fix session choice so that preferring unattached sessions actuallynicm2012-11-271-2/+2
| | | | works, reported by Drew Frank.
* Fix up window reference counting and don't crash if the rename timernicm2012-08-211-1/+4
| | | | | fires while the window is dead but still referenced. Fixes problem reported by Michael Scholz.
* xfree is not particularly helpful, remove it. From Thomas Adam.nicm2012-07-101-5/+6
|
* Turn automatic-rename off properly if turned off by renaming anicm2012-04-111-2/+7
| | | | window. Reported by Romain Francoise.
* Do not fire name timer when automatic-rename is off, from Tim Ruehsen anicm2012-04-081-4/+2
| | | | while ago.
* Check event_initialized before event_del if event may not have been setnicm2012-03-171-2/+3
| | | | up; libevent2 complains about this. Reported by Moriyoshi Koizumi.
* Add a missing call to window_set_name, from George Nachman.nicm2012-03-091-6/+4
|
* Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastnicm2009-12-031-4/+4
| | | | | time now I've configured emacs to make them displayed in really annoying colours...
* Remove a couple of unused arguments where possible, and add /* ARGSUSED */ tonicm2009-11-261-1/+2
| | | | the rest to reduce lint output.
* Change window name change to use a timer event rather than a gettimeofday()nicm2009-11-041-51/+48
| | | | check every loop.
* When a window is zombified and automatic-rename is on, append [dead] to thenicm2009-10-101-1/+7
| | | | name.
* Regularise some fatal messages.nicm2009-09-201-2/+2
|
* When using tmux as a login shell, there is currently no way to specify a shellnicm2009-09-011-2/+2
| | | | | | | | | | | | to be used as a login shell inside tmux, so add a default-shell session option. This sets the shell invoked as a login shell when the default-command option is empty. The default option value is whichever of $SHELL, getpwuid(getuid())'s pw_shell or /bin/sh is valid first. Based on a diff from martynas@, changed by me to be a session option rather than a window option.
* Move another expensive options test to after a cheaper timer check/update.nicm2009-08-181-3/+4
|
* Just appending -l to $SHELL to create a login shell is wrong: -l is not POSIX,nicm2009-07-081-3/+14
| | | | | | | | | and some people may use shells which do not support it. Instead, make an empty default-command option mean a login shell, and fork it with a - in argv[0] which is the method used by login(1). Also fix the automatic-rename code to handle this correctly and to strip a leading - if present.
* Remove trailing newlines, spaces, and tabs.ray2009-06-051-2/+1
| | | | No binary change.
* Cast char to u_char before passing to isalnum().ray2009-06-031-2/+2
| | | | OK nicm@
* Import tmux, a terminal multiplexor allowing (among other things) a singlenicm2009-06-011-0/+110
terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti