Nicholas Marriott
a3011be0d2
Look for libevent2 differently from libevent for platforms with both.
2021-01-17 17:21:51 +00:00
Nicholas Marriott
b3ca410bc3
Use KERN_PROC_CWD on NetBSD, from Leonardo Taccari.
2019-06-20 06:57:37 +01:00
Nicholas Marriott
6cf2f74fe9
osdep_get_cwd for NetBSD, from Leonardo Taccari.
2018-11-29 10:37:27 +00:00
Nicholas Marriott
55e76edd3c
Improve NetBSD KERN_PROC2 bit, mostly from Kamil Rytarowski.
2017-02-19 08:31:05 +00:00
Nicholas Marriott
ca29dc9abc
Update my email address.
2016-01-19 18:07:25 +00:00
Nicholas Marriott
747cab4281
No need for $Id$ now.
2014-11-08 12:27:43 +00:00
Nicholas Marriott
5d60bc7f7c
Use pgrp of pty fd not pid of immediate child when recovering current working
...
directory (like current process). From Marcel Partap.
2012-09-24 14:05:38 +01:00
Nicholas Marriott
c1b9948525
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 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.
2011-12-09 16:37:29 +00:00
Tiago Cunha
391f1f08c0
Expand the Id keyword.
2011-07-09 09:42:33 +00:00
Nicholas Marriott
436f3b357e
epoll on Linux is broken with /dev/null so it needs to be disabled.
...
Instead of adding another BROKEN_* define, move event_init into
osdep-*.c.
2010-12-30 20:41:08 +00:00
Nicholas Marriott
c190a65c69
Should be bestp now.
2009-09-24 12:30:22 +00:00
Tiago Cunha
6297285527
Nuke dead variable here as well, in accordance to OpenBSD patchset 235.
2009-08-09 18:00:45 +00:00
Tiago Cunha
c9f55c1063
Make similar (untested) changes to the OS-dependent code for FreeBSD, and
...
NetBSD in accordance to OpenBSD patchset 214.
2009-08-09 16:37:05 +00:00
Tiago Cunha
2dda197980
Make similar changes to the OS-dependent code for FreeBSD, and NetBSD in
...
accordance to OpenBSD patchset 182.
2009-07-28 22:28:11 +00:00
Nicholas Marriott
6fe25a08d7
Improved NetBSD current-process detection from Roy Marples.
2009-07-15 17:53:15 +00:00
Nicholas Marriott
1aaf47e698
Apparently NetBSD's tcgetpgrp is good enough to use, so don't need to play
...
complicated games, from Roy Marples.
2009-06-26 15:54:52 +00:00
Nicholas Marriott
81b4aca934
#ifndef nitems.
2009-06-26 15:31:15 +00:00
Nicholas Marriott
91241f1457
Apply the make magic wand to pick an osdep-*.c file rather than using ifdefs.
2009-04-29 23:07:35 +00:00
Nicholas Marriott
761db94050
Exclude NetBSD.
2009-02-18 08:41:46 +00:00