On 2009-09-03, brownh <bro...@historicalmaterialism.info> wrote:
> I'm running a rxvt-unicode terminal. In it (and in mutt), text
> selected with the mouse (and pointer location) shows up in reverse
> color. However, the only way I know how to mark, copy and paste is
> with the use of the mouse. Much of my work is with emacs, where
> selecting text, copying and pasting from the keyboard is no problem.
> 
> My addresses are not in a database, although a simple little one would
> make sense (a lot of categories for groups of addresses). I think
> I'll try to identify a simple database that I can run in
> console/emacs, but then the issue remains the same (I do run bbdb in
> emacs, but have never tried to develop its use for multiple address
> books).

Just to clarify, I was not suggesting that you use a database; I was
suggesting that you hijack that mutt function to access the xclip
command, which prints the clipboard contents to stdout.  Then, when
you are at the To: prompt, typing Ctrl-T will insert the contents of
the clipboard into the To: line.

> But the answer would seem to be the screen utility. I was not aware of
> it, and thank you for pointing it out. By spawning a terminal
> with it, I gain access to mark, copy and paste, and so this should
> work in any terminal application, including mutt.

That's true, and I use it frequently, but it will only copy and
paste among windows running in that terminal.  You can't, for
example, use it to copy from Firefox and paste into mutt.

Regards,
Gary


Reply via email to