On 07Dec2009 16:57, Ionel Mugurel Ciobica <tga...@chem.tue.nl> wrote:
| On  7-12-2009, at 13h 51'48", Cameron Simpson wrote about "Re: mutt on remote 
host"
| > I tackle the viewing part by connecting to the main machine with "ssh
| > -Y" to forward my X11 connection, and run the viewer on the main
| > machine, _displayed_ on the local machine.
| 
| That takes long time. It is (maybe 10 or more times) faster to
| manually save the file, transfer it to the localhost and view it.

Ah, so you're really remote rather than on a LAN. Me too sometimes.

Then I recommend writing a wrapper for use in your mailcap file as
follows. Where you may now have:

  image/jpeg; xv %s; gui
  image/jpeg; env DISPLAY= iminfo %s; copiousoutput

you would use something like this:

  image/jpeg; with-REMOTEHOST %s env DISPLAY=:0 xv; gui
  image/jpeg; env DISPLAY= iminfo %s; copiousoutput

where with-REMOTEHOST might be this script:

  http://www.cskk.ezoshosting.com/cs/css/bin/with-REMOTEHOST

It's not fast either, but it is faster than a remote X11 app.

Cheers,
-- 
Cameron Simpson <c...@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

The govt MUST regulate the Net NOW! We can't have average people saying
what's on their minds!  - ezwri...@netcom.com

Reply via email to