1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00
Nicholas Marriott f308ba93aa Change the way the working directory for new processes is discovered. If
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.
2011-12-09 16:28:18 +00:00
2010-06-05 16:32:22 +00:00
2011-01-15 20:14:41 +00:00
2011-09-23 12:23:24 +00:00
2011-12-01 23:47:08 +00:00
2009-10-26 21:42:04 +00:00
Description
No description provided
17 MiB
Languages
C 90.8%
Roff 6.9%
M4 0.9%
Awk 0.6%
Makefile 0.4%
Other 0.3%