Age | Commit message (Collapse) | Author |
|
is no direct need for sys/proc.h or sys/resource.h. Some consumers
of kinfo_proc need these for the proc flags and rlimit defines like
RLIM_INF so add the appropriate includes to them.
OK deraadt@ sthen@
|
|
working directory (like current process). From Marcel Partap.
|
|
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 sysctl KERN_PROC_CWD is used 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.
Support code by Romain Francois, OpenBSD specific bits by me.
Note this requires a recent userland and kernel with KERN_PROC_CWD.
|
|
that we've got name we want for the API we want
"ZAP!" deraadt@
|
|
is sensitive to changes in struct proc.
fixes for warnings and ok nicm@
|
|
|
|
understandable.
|
|
with itself. Also fix process name comparison.
|
|
|
|
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
|