Nicholas Marriott
a3011be0d2
Look for libevent2 differently from libevent for platforms with both.
2021-01-17 17:21:51 +00:00
Nicholas Marriott
cd7550cdf1
Some __unused.
2017-03-21 19:27:18 +00:00
Nicholas Marriott
3ed0973493
Solaris build fixes from Rob Paisley.
2016-09-08 15:32:15 +01:00
Nicholas Marriott
747cab4281
No need for $Id$ now.
2014-11-08 12:27:43 +00:00
Nicholas Marriott
24d9dc518d
Fix osdep_get_cwd on Solaris 11, from J Raynor.
2014-10-02 09:25:15 +01: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
Tiago Cunha
513bd8f62d
Remove remaining xfree calls from the portable version.
2012-07-11 19:50:46 +00: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
Nicholas Marriott
99f78340af
Use %u for process group on Sun OS.
2011-09-11 23:54:32 +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
0614ca434a
Fill in the tty name in SunOS's forkpty compat, and use it in osdep_getname.
...
From Todd Carson.
Tweaked by me to nuke (void) casts. Say no to lint appeasement! ;-)
2009-10-15 07:11:25 +00:00
Nicholas Marriott
9e6d1b24c8
Support for automatic-rename for Solaris thanks to Todd Carson.
2009-10-14 10:14:21 +00:00