Opened 14 years ago

Closed 14 years ago

#27870 closed defect (duplicate)

Wrong tmux daemonization breaks commandline vim

Reported by: merijn (Merijn Verstraaten) Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: tmux

Description

The most recent versions of tmux use daemon() to daemonize the server instead of the proper OSX function (_vprocmgr_detach_from_console) this causes tmux and (more importantly) all processes running within tmux to lose their association with the user's session.

In the case of commandline vim this means that vim is no longer capable of accessing the OS' clipboard meaning it becomes impossible to yank/paste from/to the OS clipboard when running vim within tmux.

This used to be fixed in an older version of tmux and was backed out for some odd reason. The latest revision I could find containing the necessary patch is: root/trunk/dports/sysutils/tmux/files/server.c.diff@60347

Change History (2)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to toby@…

Please remember to cc the maintainer.

comment:2 Changed 14 years ago by tobypeterson

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.