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

2002-10-06 Thread Mike Leone

* Rob Reid ([EMAIL PROTECTED]) wrote this on 10 06, 02 at 02:00: 
 Hi,
 
 At 11:58 PM EDT on October  5 Mike Leone sent off:
  * Rob Reid ([EMAIL PROTECTED]) wrote this on 10 05, 02 at 22:35: 
   Danger, Will Robinson! ;-)
   
   At  8:21 AM EDT on October  5 Viktor Lakics sent off:
I have a crazy idea, I wanted to ask you about: Has anyone ever
tried to work out how to autoview graphics inside mutt? 
   
   You might know this already, but a common spammer tactic is to include images
   in their html mails like img
   src=http://spam.server.com/Viktor_actually_read_this_spam.gif; that let
   them know that you actually read their spam, *if* you read the message in a
   graphical browser.  From then on you can count on that address receiving the
   GSSSP (Gross Solar System Spam Product).
  
  Most times, yes. But the majority of people actually don't use console based
  mailers, but graphical ones. And the graphical ones usually show the HTML
  directly, that is, they don't spawn a browser. Think of Outlook or Eudora. 
 
 Why does that matter?  Each web bug is unique, so any request for it, from
 anywhere, anything, or anyone, still dooms the address the bug refers to.

Because browser programs can (usually) be told to not load images in web
pages; embedded browser windows, such as in Outlook and Eudora, don't have
such options  (I think - I haven't tested to see whether they would honor
the full browser config).

  More annoying are the 1x1 pixel images that you can't even see, that do the
  same thing. I believe the term is web bug.
 
 I wasn't excluding them.  Personally, I like the 1x1s better than the garish,
 bandwidth hogging, CPU killing, animated gifs.
 
 ObMutt: Would a macro that 
 1. autoviews/mailcap displays stuff from trusted senders*
 or
 2. defangs (temporarily, in a display filter way, since untrusted innocents
 are included) stuff from everyone else
 
 necessarily require mutt to understand if statements?
 
 * possibly approximated by the aliases file, although you can't trust anyone
 using untrusted software, no matter how nice they are.
 

-- 
PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
Member, LEAF Project http://leaf.sourceforge.netAIM: MikeLeone
Public Key - http://www.mike-leone.com/~turgon/turgon-public-key.asc
Registered Linux user# 201348




msg31623/pgp0.pgp
Description: PGP signature


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]



Re: Autoview images in the pager

2002-10-05 Thread Eugene Lee

On Sat, Oct 05, 2002 at 10:35:00PM -0400, Rob Reid wrote:
: 
: At  8:21 AM EDT on October  5 Viktor Lakics sent off:
:  
:  I have a crazy idea, I wanted to ask you about: Has anyone ever
:  tried to work out how to autoview graphics inside mutt? 
: 
: You might know this already, but a common spammer tactic is to include images
: in their html mails like img
: src=http://spam.server.com/Viktor_actually_read_this_spam.gif; that let
: them know that you actually read their spam, *if* you read the message in a
: graphical browser.  From then on you can count on that address receiving the
: GSSSP (Gross Solar System Spam Product).

If you open an HTML email with a web browser with ad-blocking features,
you should be okay.  Also, you can set your browser to not load images
automatically.


-- 
Eugene Lee
[EMAIL PROTECTED]



Re: Autoview images in the pager

2002-10-05 Thread Mike Leone

* Rob Reid ([EMAIL PROTECTED]) wrote this on 10 05, 02 at 22:35: 
 Danger, Will Robinson! ;-)
 
 At  8:21 AM EDT on October  5 Viktor Lakics sent off:
  I have a crazy idea, I wanted to ask you about: Has anyone ever
  tried to work out how to autoview graphics inside mutt? 
 
 You might know this already, but a common spammer tactic is to include images
 in their html mails like img
 src=http://spam.server.com/Viktor_actually_read_this_spam.gif; that let
 them know that you actually read their spam, *if* you read the message in a
 graphical browser.  From then on you can count on that address receiving the
 GSSSP (Gross Solar System Spam Product).

Most times, yes. But the majority of people actually don't use console based
mailers, but graphical ones. And the graphical ones usually show the HTML
directly, that is, they don't spawn a browser. Think of Outlook or Eudora. 

On Linux, at least, some graphical mailers - for example, Evolution - can be
configured not to get images in HTML email at all, or only if the sender is
in the address book.

This is probably a more pervasive problem on Windows than Linux.

 Yes, I know there are countermeasures like proxies, defangers, and filtering
 spam away first, but I thought everyone should know that this path is
 perilous. 

More annoying are the 1x1 pixel images that you can't even see, that do the
same thing. I believe the term is web bug.

-- 
PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
Member, LEAF Project http://leaf.sourceforge.netAIM: MikeLeone
Public Key - http://www.mike-leone.com/~turgon/turgon-public-key.asc
Registered Linux user# 201348




msg31614/pgp0.pgp
Description: PGP signature


Re: Autoview images in the pager

2002-10-05 Thread Rob Reid

Hi,

At 11:58 PM EDT on October  5 Mike Leone sent off:
 * Rob Reid ([EMAIL PROTECTED]) wrote this on 10 05, 02 at 22:35: 
  Danger, Will Robinson! ;-)
  
  At  8:21 AM EDT on October  5 Viktor Lakics sent off:
   I have a crazy idea, I wanted to ask you about: Has anyone ever
   tried to work out how to autoview graphics inside mutt? 
  
  You might know this already, but a common spammer tactic is to include images
  in their html mails like img
  src=http://spam.server.com/Viktor_actually_read_this_spam.gif; that let
  them know that you actually read their spam, *if* you read the message in a
  graphical browser.  From then on you can count on that address receiving the
  GSSSP (Gross Solar System Spam Product).
 
 Most times, yes. But the majority of people actually don't use console based
 mailers, but graphical ones. And the graphical ones usually show the HTML
 directly, that is, they don't spawn a browser. Think of Outlook or Eudora. 

Why does that matter?  Each web bug is unique, so any request for it, from
anywhere, anything, or anyone, still dooms the address the bug refers to.

 
 On Linux, at least, some graphical mailers - for example, Evolution - can be
 configured not to get images in HTML email at all,

As I'd expect...

 or only if the sender is in the address book.

That's pretty clever.  Evolution would be tempting if it weren't so...gooey.

 This is probably a more pervasive problem on Windows than Linux.

Definitely, because the average Windows luser is doomed by not bothering to
figure out what's going on, but I'm sure that M$ will add a similar image
blocking feature if it's not already there.  Of course, they'd put themselves
and sufficiently high payers on the whitelist.

 More annoying are the 1x1 pixel images that you can't even see, that do the
 same thing. I believe the term is web bug.

I wasn't excluding them.  Personally, I like the 1x1s better than the garish,
bandwidth hogging, CPU killing, animated gifs.

ObMutt: Would a macro that 
1. autoviews/mailcap displays stuff from trusted senders*
or
2. defangs (temporarily, in a display filter way, since untrusted innocents
are included) stuff from everyone else

necessarily require mutt to understand if statements?

* possibly approximated by the aliases file, although you can't trust anyone
using untrusted software, no matter how nice they are.

-- 
Why don't sheep shrink when it rains?  - Jack Handey
Robert I. Reid [EMAIL PROTECTED] http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html