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 mutt-users@mutt.org
 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: 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 enter.

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.


Links in message body.

2009-12-01 Thread Buzzer
Can I make http and ftp links in plain text message body accessible for
Lynx browser?

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