Reading clipboard contents with a bash script
Zoran
zoki.news
Mon May 17 11:28:27 PDT 2004
On Mar 13 Joel Hammer was heard saying:
->I use mutt, linux, and kde.
<snip>
->I just highlight the link, switch to an xterm, type n <three mouse click>
-> and the link opens very nicely.
->
->Is there a way to run a shell script which would automatically read in
->the current contents of the clipboard, thus avoiding the need for the
->mouse click?
->
->I can imagine a mapped key in mutt which would do all of those things
->with one key stroke. The main problem is getting the script to see the
->clipboard contents.
*** Joel,
have you read the man and the doc pages for mutt carefully? I use pine so
in that effect I will not be able to help you but I am sure mutt allows to
pipe the link to a script. Which means that you just need a script to
launch the link in Netscape.
I do not know the solution to your mutt problem but I can mail you a
script which was especially made to launch a browser from within a client
with a TUI interface. Tell me if you need it.
Cheers,
Zoran.
--
If you find me, please return me to my $HOME: my address is 'cd'.
More information about the Linux-users
mailing list