| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
default-path isn't empty, it is used. Otherwise:
1) If tmux neww is run from the command line, the working directory of the
client is used.
2) Otherwise use some platform specific code to retrieve the current working
directory of the process in the active pane.
3) If that fails, the directory where the session was created is used.
Idea and support code, Linux, Solaris, FreeBSD bits by Romain Francoise,
OpenBSD bits by me.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Date: 2011/04/10 04:20:59
Author: guenther
Branch: HEAD
Tag: (none)
Log:
Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc now
that we've got name we want for the API we want
|
| |
|
|
|
|
|
|
| |
Instead of adding another BROKEN_* define, move event_init into
osdep-*.c.
|
|
|
|
|
|
|
|
| |
Use sysctl() KERN_PROC2 instead of KERN_PROC, as the latter's ABI
is sensitive to changes in struct proc.
fixes for warnings and ok nicm@
|
|
|
|
|
| |
Nuke a dead variable found with clang and an unused declaration with lint.
|
|
|
|
|
|
| |
Split the comparison into a function to make this code smaller and more
understandable.
|
|
|
|
|
|
| |
Go to the next if the current best process is replaced, don't keep comparing
it with itself. Also fix process name comparison.
|
| |
|
| |
|
| |
|
|
|
|
| |
which is good enough. Also increase name update time to 500 ms.
|
|
|
|
|
|
|
| |
changed. Reduces CPU use.
osdep-* stuff is a bit horrible now but there we go :-/.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
by reading argv[0] from the process group leader of the group that owns the tty
(tcgetpgrp()). This can't be done portably so some OS-dependent code is
introduced (ugh); OpenBSD, FreeBSD and Linux are supported at the moment.
A new window flag, automatic-rename, is available: if this is set to off, the
window name is not changed. Specifying a name with the new-window, new-session
or rename-window commands will automatically set this flag to off for the
window in question. To disable it entirely set the option to off globally (setw
-g automatic-rename off).
|