I want to use part of the output of a command run from the command line in another xterm, or as part of a different command. For instance:
> grep error err
You could also use tmux which has similar capabilities to screen. Once you're in tmux and you have the output you want to copy, you can do the following to copy and then paste it:
tmux only) using Ctrl + B, ]These instructiuons assume emacs key bindings are enabled. For the vi bindings see this comparison or just follow this step-by-step guide.