Re: solved: viewing in-line text/html with mutt and lynx

2002-06-12 Thread Chuck O'Donnell

On Mon, Jun 10, 2002 at 07:16:14PM -0600, Dave Price wrote:
 ok,
 
 I finally got it working right.  I am using mutt and 
 lynx Version 2.8.1rel.2 
 
 In ~/.muttrc I put:
 
 auto_view text/html text/enriched
 
 and I made a ~/.mailcap with:
 
 text/html;/usr/bin/lynx -dump -force_html %s ;copiousoutput
 
 My lynx likes -dump, not --dump and the -force_html deals with the case
 where the attachment filename is not .html, without it I got raw
 (uninterpreted) html.
 

My version of lynx indents the text output, which is no big deal, but
can be fixed pretty easily by piping through sed and stripping the
leading 3 space characters:

text/html;/usr/local/bin/lynx -localhost -force_html -nolist -dump %s | sed 's/^   
//'; copiousoutput;


Cheers,

Chuck



solved: viewing in-line text/html with mutt and lynx

2002-06-10 Thread Dave Price

ok,

I finally got it working right.  I am using mutt and 
lynx Version 2.8.1rel.2 

In ~/.muttrc I put:

auto_view text/html text/enriched

and I made a ~/.mailcap with:

text/html;/usr/bin/lynx -dump -force_html %s ;copiousoutput

My lynx likes -dump, not --dump and the -force_html deals with the case
where the attachment filename is not .html, without it I got raw
(uninterpreted) html.

Now I get the attachments all nicely laid out with bold lines in between
indicating the command line used to view them - sweet.

(I like mutt _even_more_ now)

aloha,
dave





Re: solved: viewing in-line text/html with mutt and lynx

2002-06-10 Thread David T-G

Dave --

...and then Dave Price said...
% 
% ok,
% 
% I finally got it working right.  I am using mutt and 
% lynx Version 2.8.1rel.2 

Yay!  Glad to hear it.


% 
% In ~/.muttrc I put:
% 
% auto_view text/html text/enriched
% 
% and I made a ~/.mailcap with:
% 
% text/html;/usr/bin/lynx -dump -force_html %s ;copiousoutput
% 
% My lynx likes -dump, not --dump and the -force_html deals with the case
% where the attachment filename is not .html, without it I got raw
% (uninterpreted) html.

In case it's helpful another time, the template option will let you
specify how %s should be written (in this case %s.html) so that you don't
have to get mean to your browser :-)


% 
% Now I get the attachments all nicely laid out with bold lines in between
% indicating the command line used to view them - sweet.
% 
% (I like mutt _even_more_ now)

Ain't it great? :-)


% 
% aloha,
% dave
% 


HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28863/pgp0.pgp
Description: PGP signature


Re: Mutt and Lynx

2002-05-14 Thread Matthias Kirschner

Hi

 You should probably look into how lynx works, since it's all going to be
 handled from that side.  It's not really a mutt question.
ok!

 You might also search the archives, which you can find noted on mutt.org,
 for mention of muttzilla, which configures Netscape/Mozilla to use mutt
 as its email client.
Ok i will do that. Other question, why ist muttzilla not in woody? ;)

thanks
Matze



Re: Mutt and Lynx - use links!

2002-05-14 Thread Sven Guckes

* Matthias Kirschner [EMAIL PROTECTED] [2002-05-13 20:08]:
 I want to use Mutt with Lynx.  I want that mutt start whenever
 i click on a emailadress in lynx. How can i do that?

the text browser links allows you to simply
set mutt %s to use with mailto links. easy!
lynx may allow it, too, but i only have
lynx 2.8.4dev10 here right now...

Sven

-- 
Sven  Guckes [EMAIL PROTECTED]
LINKS http://links.browser.org - text web browser
LINKS http://www.math.fu-berlin.de/~guckes/links/  links-0.96 [010703]
LINKS http://www.math.fu-berlin.de/~guckes/setup/links.cfg (sample config)



Re: Mutt and Lynx

2002-05-13 Thread David T-G

Matze --

...and then Matthias Kirschner said...
% 
% Hi

Hello!


% I want to use Mutt with Lynx. 

Sounds good.


% I want that mutt start whenever i click on a emailadress in lynx. How can i do that?

You should probably look into how lynx works, since it's all going to be
handled from that side.  It's not really a mutt question.

You might also search the archives, which you can find noted on mutt.org,
for mention of muttzilla, which configures Netscape/Mozilla to use mutt
as its email client.


% 
% thank you

HTH  HAND


% Matze


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28063/pgp0.pgp
Description: PGP signature


Re: mutt and lynx

2000-01-14 Thread Kim DeVaughn

On Wed, Jan 12, 2000, Martin Keseg ([EMAIL PROTECTED]) said:
|
| Is here a way to set mutt as mailer in lynx ?

This is more of a lynx question, than a mutt one, but since I recently
detailed the current method on the lynx-dev list, I'll post it here as
well, since it may be of some general interest.

This applies to any lynx version that supports the EXTERNAL lynx.cfg
directive (and was compiled with with it enabled).  I'm not too sure
when EXTERNAL was added, but 2.8.2rel.1 or newer is highly desirable.

As may be, here's what needs to be done:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

From: Kim DeVaughn [EMAIL PROTECTED]
To: Lynx Developers [EMAIL PROTECTED]
Subject: Re: Setting mailer in Lynx
Date: Fri, 24 Dec 1999 00:21:52 -0700
Message-ID: [EMAIL PROTECTED]
Organization: Kim's Home for Wayward Cocktail Waitresses  Hors d'oeuvre Girls

On Thu, Dec 23, 1999, Robert Dansereau ([EMAIL PROTECTED]) said:
|
| I believe I have the current version of Lynx, and was wondering if it is
| possible to use another mailing program other than the built-in one?  I
| can't seem to find the configuration, or is it at all possible?

It is for mailto: url's, though not in a completely transparent way.

You need to be observant enough to actually notice that the url you
want to "activate", *is* a mailto: url (eg, mailto:[EMAIL PROTECTED]),
and "activate" it using the EXTERN command (bound to "." by default),
rather than the normal right-arrow key.

You also need to have made an EXTERNAL definition of the form:

 EXTERNAL:mailto:mutt.mailto %s:TRUE

in your lynx.cfg file.

I use the above to invoke a small shell-script, which then invokes the
mutt mailer.  Reason for the shell-script is to "prune" the address that
lynx passes to the external program (mutt, here) in the %s arg, to strip
off the "mailto:" string, per se.  I use:

 #!/bin/sh
 #
 # mutt.mailto ... trims the "mailto:" string off the address passed from
 # lynx
 #
 addr=`echo $1 | cut -f2 -d:`

 mutt -s "" "$addr"

 exit
 #
 #--end--#

which will start mutt, with a blank Subject: header field.

YMMV, depending on the mailer you want to use.

/kim



mutt and lynx

2000-01-12 Thread Martin Keseg - Sun Slovakia - SE

Hi,

Is here a way to set mutt as mailer in lynx ?


-- 
 The messenger is not important!



Re: Mutt and Lynx squabbling in a window.

1999-12-14 Thread Marius Gedminas

On Tue, Dec 14, 1999 at 01:42:00PM +, Telsa Gwynne wrote:
 On Tue, Dec 14, 1999 at 12:56:31PM + or thereabouts, John P . Looney wrote:
  On Tue, Dec 14, 1999 at 11:37:07AM +, Telsa Gwynne mentioned:
   or xterms. Sorry. However, I can imagine the effects as I once managed 
   to get both lynx and mutt apparently attempting to run in the same 
   gnome-terminal. I think I may still have a screenshot of the resulting 
  
   I've done this loads of times. It's really wierd. I think I tryed to quit
  out of lynx, but hit the wrong key, and then, depending on how many times I
  pressed Ctrl-L, it looked like lynx or mutt. Must try track down what's
  happening the next time I get a HTML mail..
 
[...]
 I think I either:
   messed up with urlview
   shelled out of lynx into mutt
   shelled out of mutt into lynx

When I try to run lynx from inside Midnight Commander (the tty version,
not gmc) from inside Gnome Terminal, I often get this weird behavior.
If I just type lynx foobar from the command line it works nicely,
however if I hit Enter on a .html file (and thus run... hey, why does it
say `(lynx %f )' in the mc.ext file?), both programs try to update the
screen simultaneously and both struggle for keystrokes.

The ampersand sure looks suspicious.  (Note, that both lynx and mc are
compiled with slang.  But vim uses ncurses, so perhaps that's not
relevant.)  I also tried the same trick in plain console, and lynx was
then properly `stopped (tty input)'.

Mutt seems to be innocent.  Its more likely a problem in xterm (not
suspending background tasks).

Best Regards,
Marius Gedminas
-- 
MCSE == Must Consult Someone Experienced