tmux/compat
Nicholas Marriott 78352fdd32 Add a small dance to daemon() to reattach tmux to the user's namespace (which
allows access to the clipboard) on OS X 10.10 and above.

Chis Johnsen has done much work on and documentation of this issue, the code is
copied (with some tweaks) from his reattach-to-user-namespace at:

    https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard

Tested by Enrico Ghirardi.

Will see how this goes, if it breaks stuff it might go away again.
2017-06-06 07:59:53 +01:00
..
asprintf.c Update imsg*.[ch] from OpenBSD, add some compat bits it needs and remove some 2017-03-24 10:05:53 +00:00
base64.c
bitstring.h No need for $Id$ now. 2014-11-08 12:27:43 +00:00
cfmakeraw.c
closefrom.c
daemon-darwin.c Add a small dance to daemon() to reattach tmux to the user's namespace (which 2017-06-06 07:59:53 +01:00
daemon.c Add a small dance to daemon() to reattach tmux to the user's namespace (which 2017-06-06 07:59:53 +01:00
err.c
explicit_bzero.c Update imsg*.[ch] from OpenBSD, add some compat bits it needs and remove some 2017-03-24 10:05:53 +00:00
fdforkpty.c getptmfd() and fdforkpty() compat. 2017-04-20 19:09:07 +01:00
fgetln.c compat/* should not include tmux.h. 2017-01-25 13:49:01 +00:00
forkpty-aix.c getptmfd() and fdforkpty() compat. 2017-04-20 19:09:07 +01:00
forkpty-hpux.c
forkpty-sunos.c
fparseln.c compat/* should not include tmux.h. 2017-01-25 13:49:01 +00:00
freezero.c Accept NULL pointer. 2017-04-12 07:41:11 +01:00
getdtablecount.c Update imsg*.[ch] from OpenBSD, add some compat bits it needs and remove some 2017-03-24 10:05:53 +00:00
getopt.c
getprogname.c Do not declare program_invocation_short_name because people can't make up their 2017-02-06 13:34:19 +00:00
imsg-buffer.c Update imsg*.c from OpenBSD. 2017-04-11 11:51:25 +01:00
imsg.c Update imsg*.c from OpenBSD. 2017-04-11 11:51:25 +01:00
imsg.h Update imsg*.[ch] from OpenBSD, add some compat bits it needs and remove some 2017-03-24 10:05:53 +00:00
queue.h
reallocarray.c
recallocarray.c Update imsg*.[ch] from OpenBSD, add some compat bits it needs and remove some 2017-03-24 10:05:53 +00:00
setenv.c getptmfd() and fdforkpty() compat. 2017-04-20 19:09:07 +01:00
setproctitle.c Some __unused. 2017-03-21 19:27:18 +00:00
strcasestr.c
strlcat.c compat/* should not include tmux.h. 2017-01-25 13:49:01 +00:00
strlcpy.c
strndup.c Compat code for strndup and strnlen. 2017-03-09 15:43:08 +00:00
strnlen.c Compat code for strndup and strnlen. 2017-03-09 15:43:08 +00:00
strsep.c
strtonum.c
tree.h
unvis.c
utf8proc.c
vis.c
vis.h