1

Copying man pages from tmux copy mode

view story
linux-howto

http://unix.stackexchange.com – I am in xterm on Pangolin, inside a tmux session, in copy mode. I am trying to copy the text of a man page but what I yank into the clipboard by using the simple vi bindings of spacebar/enter is text full full of whitespace which I can't just paste into vim. How can I view a man page as "plain text", perhaps even outside of the man program? Alternatively, how can I use the tmux copy mode to properly copy the text as it appears on the screen so that CTRL+] pasting it elsewhere will be faithful to the formatting I intended to reproduce? EDIT: I should mention that the command capture-pane, (HowTos)