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
cfmakeraw.c
closefrom.c compat/* should not include tmux.h. 2017-01-25 13:49:01 +00:00
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
forkpty-aix.c getptmfd() and fdforkpty() compat. 2017-04-20 19:09:07 +01:00
forkpty-hpux.c
forkpty-sunos.c
fparseln.c
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
strcasestr.c
strlcat.c
strlcpy.c
strndup.c
strnlen.c
strsep.c
strtonum.c compat/* should not include tmux.h. 2017-01-25 13:49:01 +00:00
tree.h
unvis.c compat/* should not include tmux.h. 2017-01-25 13:49:01 +00:00
utf8proc.c
vis.c
vis.h