Re: Autoview images in the pager - w3m

2002-10-16 Thread PeterKorman

On Sat, Oct 05, 2002 at 03:18:23PM +0200, Sven Guckes wrote:
 * Viktor Lakics [EMAIL PROTECTED] [2002-10-05 12:21]:
  Has anyone ever tried to work out how to autoview graphics inside mutt?
 
  To illustrate the point look at this screenshot:
  http://lakics.homelinux.net/screenshot/shot.jpg
 
  This shows multi-gnome-terminal with a horizontal split,
  the upper part is running mutt, the lower part is running
  w3m, which opened up the horizontal split from inside mutt
  when I right-clicked the appropriate URL. As you can see,
  w3m shows inline graphics, is very fast, and makes easy
  to check html pages or urls in sort of text mode.
 
  As was wondering whether anyone tried to hack the mailcap,
  mutt, w3m trio in a way that html messages could be shown
  in autoview with graphics inside?
 
 well, w3m already does what you want - so please use it.
 
 all you need is this auto_view text/html in your mutt setup
 and the following in your mailcap file:
 
   text/html   ; w3m -dump -force_html %s ; copiousoutput
   text/htm; w3m -dump -force_html %s ; copiousoutput
   message/html; w3m -dump -force_html %s ; copiousoutput
   message/htm ; w3m -dump -force_html %s ; copiousoutput
 
 and you probably need a fairly recent version of w3m for this, too.
 however, w3m's changelog is not very elaborate...
 
 more sreenshots about w3m in action:
 http://www.w3m.org/screenshots.html
 
 Sven
 
 -- 
 Sven Guckes [EMAIL PROTECTED]
 W3M  a text browser for the world wide web
 W3M  http://w3m.org and http://w3m.sf.net
 W3M  http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/eng

This is *really* nice. I saw the page at http://w3m.org a 
few months ago. I wrongly concluded that there was no on-going 
development since the date on w3m.org is:

Tuesday August 01, 2000 02:43 P

Your reference to http://w3m.sf.net cleared my confusion. Thanks.

http://prdownloads.sourceforge.net/w3m/w3m-0.3.1.tar.gz?use_mirror=unc

The July 2002 release leaves links and lynx looking dusty and beaten.


Regards,

JPK



msg31862/pgp0.pgp
Description: PGP signature


Re: Autoview images in the pager - w3m

2002-10-16 Thread Thomas E. Dickey

On Wed, 16 Oct 2002, PeterKorman wrote:

 This is *really* nice. I saw the page at http://w3m.org a
 few months ago. I wrongly concluded that there was no on-going
 development since the date on w3m.org is:

 Tuesday August 01, 2000 02:43 P

 Your reference to http://w3m.sf.net cleared my confusion. Thanks.

 http://prdownloads.sourceforge.net/w3m/w3m-0.3.1.tar.gz?use_mirror=unc

 The July 2002 release leaves links and lynx looking dusty and beaten.

not really.  The inline images are actually windows that overlay the
xterm, and are not event-coordinated.  So what you're seeing is in effect
multiple external viewer windows that are positioned to match the text.
Nice - but doesn't exactly make things obsolete.  It can be annoying to
use w3m in an xterm which is running 'screen'.  As is usual, I find that
between lynx/w3m/opera/netscape, some sites do not work well on one or
more of those.

-- 
T.E.Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net




Re: Autoview images in the pager - w3m

2002-10-05 Thread Sven Guckes

* Viktor Lakics [EMAIL PROTECTED] [2002-10-05 12:21]:
 Has anyone ever tried to work out how to autoview graphics inside mutt?

 To illustrate the point look at this screenshot:
 http://lakics.homelinux.net/screenshot/shot.jpg

 This shows multi-gnome-terminal with a horizontal split,
 the upper part is running mutt, the lower part is running
 w3m, which opened up the horizontal split from inside mutt
 when I right-clicked the appropriate URL. As you can see,
 w3m shows inline graphics, is very fast, and makes easy
 to check html pages or urls in sort of text mode.

 As was wondering whether anyone tried to hack the mailcap,
 mutt, w3m trio in a way that html messages could be shown
 in autoview with graphics inside?

well, w3m already does what you want - so please use it.

all you need is this auto_view text/html in your mutt setup
and the following in your mailcap file:

  text/html   ; w3m -dump -force_html %s ; copiousoutput
  text/htm; w3m -dump -force_html %s ; copiousoutput
  message/html; w3m -dump -force_html %s ; copiousoutput
  message/htm ; w3m -dump -force_html %s ; copiousoutput

and you probably need a fairly recent version of w3m for this, too.
however, w3m's changelog is not very elaborate...

more sreenshots about w3m in action:
http://www.w3m.org/screenshots.html

Sven

-- 
Sven Guckes [EMAIL PROTECTED]
W3M  a text browser for the world wide web
W3M  http://w3m.org and http://w3m.sf.net
W3M  http://ei5nazha.yz.yamagata-u.ac.jp/~aito/w3m/eng



Re: Autoview images in the pager - w3m

2002-10-05 Thread Elimar Riesebieter

On Sat, 05 Oct 2002 the mental interface of 
Sven Guckes told:

 * Viktor Lakics [EMAIL PROTECTED] [2002-10-05 12:21]:
  Has anyone ever tried to work out how to autoview graphics inside mutt?

[...]

  As was wondering whether anyone tried to hack the mailcap,
  mutt, w3m trio in a way that html messages could be shown
  in autoview with graphics inside?
 
 well, w3m already does what you want - so please use it.
 
 all you need is this auto_view text/html in your mutt setup
 and the following in your mailcap file:

AFAIK w3m-img doesn't work for vt's. I use sometimes links combined
with fbi. zgv should work as well.

 
   text/html   ; w3m -dump -force_html %s ; copiousoutput
   text/htm; w3m -dump -force_html %s ; copiousoutput
   message/html; w3m -dump -force_html %s ; copiousoutput
   message/htm ; w3m -dump -force_html %s ; copiousoutput

text/html ; w3m -dump -force_html %s ; copiousoutput ; \
test=test -n $DISPLAY
text/htm ; w3m -dump -force_html %s ; copiousoutput ; \
test=test -n $DISPLAY
text/html ; links -T text/html %s # within links you can link an
  # imageview to i.e fbi 
text/htm ; links -T text/html %s  # within links you can link an
  # imageview to i.e fbi 

image/* ; xv %s ; test=test -n $DISPLAY
image/* ; fbi %s

Same for message/htm* as for text/htm*

Ciao

Elimar


-- 
  Experience is something you don't get until 
  just after you need it!



msg31584/pgp0.pgp
Description: PGP signature


Re: Autoview images in the pager - w3m

2002-10-05 Thread Thomas Dickey

On Sat, Oct 05, 2002 at 03:18:23PM +0200, Sven Guckes wrote:
  mutt, w3m trio in a way that html messages could be shown
  in autoview with graphics inside?
 
 well, w3m already does what you want - so please use it.
...
 and you probably need a fairly recent version of w3m for this, too.
 however, w3m's changelog is not very elaborate...

w3m's changelog is like links' - most of the detail is missing, and of what
remains, some is useless or simply misleading at best.

(however, w3m's graphics are sometimes useful in traversing some sites where
the parasites are too intrusive for Netscape or Opera ;-)

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net



Re: Autoview images in the pager - w3m

2002-10-05 Thread Thomas Dickey

On Sat, Oct 05, 2002 at 04:28:48PM +0200, Elimar Riesebieter wrote:
 AFAIK w3m-img doesn't work for vt's. I use sometimes links combined
 with fbi. zgv should work as well.

is someone working on zgv again?  (the last I looked, it wasn't working
that well)

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net



Re: Autoview images in the pager - w3m

2002-10-05 Thread Elimar Riesebieter

On Sat, 05 Oct 2002 the mental interface of 
Thomas Dickey told:

 On Sat, Oct 05, 2002 at 04:28:48PM +0200, Elimar Riesebieter wrote:
  AFAIK w3m-img doesn't work for vt's. I use sometimes links combined
  with fbi. zgv should work as well.
 
 is someone working on zgv again?  (the last I looked, it wasn't working
 that well)

The latest version from Russell Marks is 5.6. AFAIK released in
july/02.

Ciao

Elimar


-- 
  Do you smell something burning or ist it me?



msg31594/pgp0.pgp
Description: PGP signature


Re: Autoview images in the pager - w3m

2002-10-05 Thread Elimar Riesebieter

On Sat, 05 Oct 2002 the mental interface of 
Elimar Riesebieter told:

 On Sat, 05 Oct 2002 the mental interface of 
 Sven Guckes told:
 
  * Viktor Lakics [EMAIL PROTECTED] [2002-10-05 12:21]:
   Has anyone ever tried to work out how to autoview graphics inside mutt?
 
 [...]
 
   As was wondering whether anyone tried to hack the mailcap,
   mutt, w3m trio in a way that html messages could be shown
   in autoview with graphics inside?
  
  well, w3m already does what you want - so please use it.
  
  all you need is this auto_view text/html in your mutt setup
  and the following in your mailcap file:
 
 AFAIK w3m-img doesn't work for vt's. [...]

Sorry, this was a wrong suggestion! Via ~/.w3m/mailcap or any other
mailcap defined in w3m's configfile you can bind the imageviewer to
fbi when working on a vt! {getting red cheeks ;-)}

Ciao

Elimar


-- 
  The way to source is always uphill!
-unknown-



msg31598/pgp0.pgp
Description: PGP signature


Re: Autoview images in the pager - w3m

2002-10-05 Thread Eugene Lee

On Sat, Oct 05, 2002 at 03:18:23PM +0200, Sven Guckes wrote:
: 
: all you need is this auto_view text/html in your mutt setup
: and the following in your mailcap file:
: 
:   text/html   ; w3m -dump -force_html %s ; copiousoutput
:   text/htm; w3m -dump -force_html %s ; copiousoutput
:   message/html; w3m -dump -force_html %s ; copiousoutput
:   message/htm ; w3m -dump -force_html %s ; copiousoutput

message/html?  Is this an official MIME entry?


-- 
Eugene Lee
[EMAIL PROTECTED]