* Sean Faber on Friday, January 09, 2009 at 21:01:54 -0800
>  I have
> 
> bind ^b eval "hardcopy /tmp/screendump" "exec urlview /tmp/screendump"

Ah, nice. Immediately adapted/stolen ;-)

> in my .screenrc  It works as I intend except that I have to wait for 1 sec
> while screen waits for me to read the message
> 
> "Screen image written to hardcopy.0"

Doesn't happen here, response is instant. Maybe because I'm using
the most recent screen version? Or because I don't use urlview,
but my urlpager python script from
<http://www.blacktrash.org/hg/muttils/>.

> Is there a way to make a hardcopy silently so I don't have to wait for the
> message?

Perhaps the following works better, it opens a new screen for the
choice (I have to redraw otherwise):

bind ^b eval "hardcopy /tmp/screendump" "exec screen -X screen urlview 
/tmp/screendump"

> While I'm at it, is there a way to do this without a temp file?

I don't think there's a way that something like
"hardcopy /dev/stdout" would work, plus forcing the output
thereof into a pipe. But I'd be happy to be proven wrong.

c
-- 
\black\trash movie    _C O W B O Y_  _C A N O E_  _C O M A_
Ein deutscher Western/A German Western
-->> http://www.blacktrash.org/underdogma/ccc.html
-->> http://www.blacktrash.org/underdogma/ccc-en.html


_______________________________________________
screen-users mailing list
screen-users@gnu.org
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to