Skip to content

Tmux-MacOSX-pasteboard

Notes and workarounds for accessing the Mac OS X pasteboard in tmux sessions. Note: The pu branch (“Proposed Updates”) may be rewound without notice.

Quick Summary

  • Using the Mac OS X programs pbpaste and pbcopy under tmux does not work. Other services and unpatched builds of screen are also affected.
  • Certain undocumented, private API functions can fix the problem.
  • Because the functions are private, undocumented, and unstable (one acquired an extra argument in 10.6), I think using a small wrapper program might be better than patching tmux.

See also

Favorite site