On 9/27/05, Peder Stray <[EMAIL PROTECTED]> wrote: > > is it possible to bind somthing like > > 'screen url "<contents of paste buffer>"' > > to a key in screen? possibly with a combination of screen, stuff and paste > if thats necessary.
Well, you can use writebuf/readbuf. In my screen setup, I bound C-b (b for browser) to something like: eval "stuff ' '" "writebuf" "exec $HOME/.screen/openurl" NOTE: the first stuff ' ' I use to end my copy selection... I begin highlighting, move to the end and hit C-b with openurl being something like (because the exec command doesn't do backticks and such): screen -t url elinks `cat /tmp/screen-exchange` Now, that's off the cuff, as I don't have access to my screenrc right now, but you could probably just bind a key to: eval "writebuf" "exec myurlscript" with myurlscript being: screen -t url elinks `cat /tmp/screen-exchange` or even: mozilla-firefox `cat /tmp/screen-exchange` Enjoy. _______________________________________________ screen-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/screen-users
