Re: Links in message body.

2009-12-02 Thread Michael Wagner
* Buzzer <4625...@gmail.com> 02.12.2009
> Can I make http and ftp links in plain text message body accessible for
> Lynx browser?

Yes, you can use 'urlview' or 'urlscan'.

Package: urlview
Version: 0.9-18.1
Depends: libc6 (>= 2.3.4), libncurses5 (>= 5.6+20071006-3)
Recommends: elinks | www-browser
Suggests: mutt, ncftp2 | lftp | ncftp, wget | snarf, mimedecode
Description: Extracts URLs from text
 This utility is used to extract URL from text files, especially from mail
 messages in order to launch some browser to view them. This used to be a
 part of mutt but has now become an independent tool.

Package: urlscan
Version: 0.5.6-0.1
Depends: python, python-central (>= 0.6), python-urwid
Suggests: mutt, www-browser
Description: Extract and browse the URLs contained in an email (urlview 
replacement)
 urlscan searches for URLs in email messages, then displays a list of
 them in the current terminal.  It is primarily meant as a replacement
 for urlview, which it improves upon in the following ways:
 .
  * urlscan understands email encodings such as quoted-printable;
urlview does not.
  * urlscan extracts and displays the context surrounding each URL.
Python-Version: current

Hth Michael

-- 
"The road to success is always under construction."


signature.asc
Description: Digital signature


Re: Links in message body.

2009-12-02 Thread Markus Maria Miedaner
> -Ursprüngliche Nachricht-
> Von: "Buzzer" <4625...@gmail.com>
> Gesendet: 02.12.09 07:20:32
> An: 52-mutt-users 
> Betreff: Links in message body.


> Can I make http and ftp links in plain text message body accessible for
> Lynx browser?
> 
> -- 
> /Buzzer () ËÁÍÐÁÎÉÑ ascii ribbon - ÐÒÏÔÉ× ÐÉÓÅÍ × html ÆÏÒÍÁÔÅ
> /\ www.asciiribbon.org   - ÐÒÏÔÉ× ÐÒÏÐÒÉÅÔÁÒÎÙÈ ×ÌÏÖÅÎÉÊ
> 
>

Ciao,
 
install urlview and make it use lynx.

cheers
markus

Sarah Kreuz, die DSDS-Siegerin der Herzen, mit ihrem eindrucksvollen
Debütalbum "One Moment in Time". http://produkte.web.de/go/05/



smime.p7s
Description: S/MIME Cryptographic Signature


Re: send using command-line changes From header

2009-12-02 Thread Monte Stevens
On Tue, Dec 01, 2009 at 04:04:36PM -0600, Wayne Richards wrote:
> I eliminated the spaces, yet still get the same result (the
> command-line method doesn't get the proper "From" value).  Any other
> thoughts?

Well, I've attempted to do what you're doing and I can make it work
here (I guess).  What I'm doing is the following.

1. I used the muttrc file you provided and commented out anything that
didn't seem relevant to a command line send operation.  (This left only
the use_envelope_from line.)

2. I used the command line string you provided and modified it slightly.
This is what it ended up looking like:

echo "message" | mutt -e 'set from="Support Guy "'
-e 'my_hdr Reply-to: supp...@example.com' -F ~/.mutt/plainrc -s
"subject" mo...@downstairs.invalid


The message I received had these headers:

From: Support Guy 
Subject: subject
To: mo...@downstairs.invalid
Reply-To: supp...@example.com
User-Agent: Mutt/1.5.20 (2009-06-14)


So, I guess you could try what I'm doing -- although all I'm doing
differently is simplifying the muttrc and fancying up the from variable.
One thing you could look at is your system muttrc file.  Some trouble
spots might be:

envelope_from_address
use_envelope_from
from
use_from
realname

The system muttrc file can be disabled by using '-n'.  You could try that
first to eliminate it entirely.


-- 
Monte


Re: PGP/MIME for Outlook (was: mutt feeds more to gnupg than it

2009-12-02 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Monday, November 30 at 08:04 PM, quoth martin f krafft:
> This is going off-topic, but I'd appreciate a response. GpgOL might 
> be able to decipher PGP/MIME, which would be a grand step,

Apparently it can.

> but last I checked, it couldn't create PGP/MIME, only inline.

I haven't checked recently either; when I get some time, I'll fire up 
the ole XP virtual machine to check it out.

~Kyle
- -- 
It is dangerous to be right when the government is wrong.
-- Voltaire
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iQIcBAEBCAAGBQJLFqzqAAoJECuveozR/AWeXooP/2+ozQhEx3aFpaGoxWA6WN+D
njMmoQZV6FqWRd3iHs4oZJa5ZeFy4KrjS5oUqgZhV5jPrYhRxJyqcQKCp3Yap2Tj
DoO/q6AMuEZiWoe6lTiLXFU299AvIN1P9lf56euzdlZ2a0JVFKdV1vK0La3M+FUh
TZV6B1EdGaFI/qSsygrsO0He4LNUqlWllKAofT7lQkN/gYNA3ahAk7ODK0qfMSuW
elNrRU9JlH2X3mz1W0RkOeVO1JAKQifKmMOgjulAqNL+mURY29xnBmdcFPCcdNeC
BhqtG6yX0xA5e4+Tx3BgoF4MCRhzgBKSe03Sn4zlwBn2cOKe2/PnMM+sxESaVXPn
f1zIjvYWUyAOPu/SDSstUhOg/98O9ePm+4h6e7SBCk3DMsN8sG8GINPj1cEn3ukJ
cN9ij0/5Y4L1jzF0owYKY9gu3lOUEv+q5DFzXUKmrw29RQrUfULCvu/z8BrQ5zJR
CvxMqe4ywNjzQdItH65dlNnVgG4rgpUWTI+Eo7Ywik7/vZ+xLxLsJ/PYQ/RTWywg
/rqPq3I6/tWHmdkdRTs1Pv/+VBo5ilXdN3xS9IBixZrWCDcj7f5dqfR+ALwHb1Rl
CQopq5uXLHkTajgdzwEuDu01njhcmAxuL00YqvbuD7AOEBUTbFNSCn2ojrL9nOKb
Dl6af2WvrkP1C8SBWUQ7
=Rw/8
-END PGP SIGNATURE-


Re: send using command-line changes From header

2009-12-02 Thread Wayne Richards
I'm not sure why, but I finally got the results I wanted by adding
"-e 'set realname=supp...@example.com'" to the mix.  Thanks for the
assistance.

Wayne
On Wed, Dec 02, 2009 at 01:36:54PM -0400, Monte Stevens wrote:
> On Tue, Dec 01, 2009 at 04:04:36PM -0600, Wayne Richards wrote:
> > I eliminated the spaces, yet still get the same result (the
> > command-line method doesn't get the proper "From" value).  Any other
> > thoughts?
> 
> Well, I've attempted to do what you're doing and I can make it work
> here (I guess).  What I'm doing is the following.
> 
> 1. I used the muttrc file you provided and commented out anything that
> didn't seem relevant to a command line send operation.  (This left only
> the use_envelope_from line.)
> 
> 2. I used the command line string you provided and modified it slightly.
> This is what it ended up looking like:
> 
> echo "message" | mutt -e 'set from="Support Guy "'
> -e 'my_hdr Reply-to: supp...@example.com' -F ~/.mutt/plainrc -s
> "subject" mo...@downstairs.invalid
> 
> 
> The message I received had these headers:
> 
> From: Support Guy 
> Subject: subject
> To: mo...@downstairs.invalid
> Reply-To: supp...@example.com
> User-Agent: Mutt/1.5.20 (2009-06-14)
> 
> 
> So, I guess you could try what I'm doing -- although all I'm doing
> differently is simplifying the muttrc and fancying up the from variable.
> One thing you could look at is your system muttrc file.  Some trouble
> spots might be:
> 
> envelope_from_address
> use_envelope_from
> from
> use_from
> realname
> 
> The system muttrc file can be disabled by using '-n'.  You could try that
> first to eliminate it entirely.
> 
> 
> -- 
> Monte


Re: Links in message body.

2009-12-02 Thread Gen-Paul

Buzzer wrote:

Can I make http and ftp links in plain text message body accessible for
Lynx browser?
   

I coded the following macros in my ~/.muttrc:

macro index \cv |elinks\n
macro pager \cv |elinks\n

When I hit Ctrl-V, the message under the cursor is piped to the E Links 
web browser.


I can see all the links in context and navigate them as if the message 
had been html.


Maybe you could convince lynx to display plain text messages as if they 
were html?


Gen-Paul.


Re: Links in message body.

2009-12-02 Thread Buzzer
 2-Dec-2009 числа в 17:01 часов, Gen-Paul написал(а) следующее:

>> Can I make http and ftp links in plain text message body accessible
>> for Lynx browser?
>>
> macro index \cv |elinks\n
> macro pager \cv |elinks\n
>
> When I hit Ctrl-V, the message under the cursor is piped to the E
> Links web browser.
>
> Maybe you could convince lynx to display plain text messages as if
> they were html?
By pressing hot key? Then tell me more about it, please.

-- 
/Buzzer () кампания ascii ribbon - против писем в html формате
/\ www.asciiribbon.org   - против проприетарных вложений



Re: Links in message body.

2009-12-02 Thread Gen-Paul

Buzzer wrote:

  2-Dec-2009 числа в 17:01 часов, Gen-Paul написал(а) следующее:

   

Can I make http and ftp links in plain text message body accessible
for Lynx browser?

   

macro index \cv |elinks\n
macro pager \cv |elinks\n

When I hit Ctrl-V, the message under the cursor is piped to the ELinks
web browser.

Maybe you could convince lynx to display plain text messages as if
they were html?
 

By pressing hot key? Then tell me more about it, please.

   
For some reason the bit where wrote that I have coded the following in 
my .muttrc

seems to have disappeared.

Here's a more detailed description:

macro   : tell mutt that the rest of the line is a macro, that you are 
going to

  associate a key combo to an action

index   : tell mutt where you want the function enabled, the index 
screen - that's
  the one that displays the message list, the pager screen that 
displays
  one particular message, or 'generic - ie. all screens. 
Because you are
  feeding a message as input to another program, this 
particular action

  only makes sense for the index and the pager.

\cv : Ctrl + v (the key combo that will execute the macro). You can 
change
  that to anything that's not already doing something else in 
the index

  and the pager.

|   : the pipe-message function - invokes an external program that will
  receive the current message as input

elinks  : the program that will process the message. I use ELinks because it
  renders web pages a lot closer to the graphical browsers _and_ it
  recognizes http://www.example.com or em...@example.com even 
in the
  middle of an ASCII text file. I don't know if you can just 
substitute
  lynx for elinks and if you will be able use the tab key or 
the arrow
  keys to move between links and hit enter follow links. I 
don't use lynx.


\n  : if you don't code this, mutt will prompt you for a 
confirmation each

  time you hit the key combo - it's equivalent to .

I prefer this solution to urlview/urlscan because it directly switches me to
a web browser where I can see the links in the context of the message. I am
subscribed to a newsletter that can have some 50-60 links easily, and maybe
I have not configured it optimally, but all I get with urlview is two 
screens'
worth of links with numbers and cryptic URI names, and I'm left to guess 
what

they correspond to.

Gen-Paul.


Re: mutt feeds more to gnupg than it needs, causes invisible/lost

2009-12-02 Thread Michael Wagner
* martin f krafft  29.11.2009
> also sprach David J. Weller-Fahy  
> [2009.11.29.1631 +0100]:
 
> ro this means that your mutt 1.5.20 on Darwin correctly splits the
> message and only passes to gnupg what it must, while "our" 1.5.20 on
> Debian sid does not. Very strange indeed.

Hello Martin,

JFTR: Today was an upgrade of the 'mutt' package in Debian unstable and 
now it works very well.

Michael

-- 
Death is just God's way of dropping carrier.


signature.asc
Description: Digital signature