[MacPorts] #27870: Wrong tmux daemonization breaks commandline vim

MacPorts noreply at macports.org
Wed Jan 5 05:53:46 PST 2011


#27870: Wrong tmux daemonization breaks commandline vim
------------------------------------+---------------------------------------
 Reporter:  merijn@…                |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  1.9.2                                
 Keywords:                          |        Port:  tmux                                 
------------------------------------+---------------------------------------
 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 at 60347

-- 
Ticket URL: <https://trac.macports.org/ticket/27870>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list