screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Not having to wait for a message after hardcopy.


From: Christian Ebert
Subject: Re: Not having to wait for a message after hardcopy.
Date: Sat, 10 Jan 2009 13:22:11 +0100
User-agent: Mutt/1.5.19 (2009-01-05)

* 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]