Re: urlview regexp

2007-05-24 Thread Andre Berger
* Andrei Popescu (2007-05-23):
 On Wed, May 23, 2007 at 02:16:31PM +0200, Andre Berger wrote:
  My etch urlview doesn't resolve URLs like
  
http://forum.linkstationwiki.net/viewtopic.php?f=15t=3075p=31281e=31281
  
  as expected, they work when copied and pasted into my browser. 
 
 Set pipe_decode in mutt. (See README.Debian for more info)

Excellent, thank you! 

-André

-- 
May as well be hung for a sheep as a lamb
Linux Kernel 2.6/PPC for Linkstation/KuroBox/HG/HS from http://hvkls.dyndns.org


pgpBRDvgYuRJT.pgp
Description: PGP signature


Re: urlview regexp

2007-05-23 Thread Gregory Seidman
On Wed, May 23, 2007 at 02:16:31PM +0200, Andre Berger wrote:
 My etch urlview doesn't resolve URLs like
 
   http://forum.linkstationwiki.net/viewtopic.php?f=15t=3075p=31281e=31281
 
 as expected, they work when copied and pasted into my browser. 
 
 The regexp used (etch's /etc/urlview/system.urlview):
 
   REGEXP (((http|https|ftp|gopher)|mailto):(//)?[^ 
 \t]*|(www|ftp)[0-9]?\.[-a-z0-9.]+)[^ .,;\t\n\r\):]?[^, \t]*[^ 
 .,;\t\n\r\):]

I've just always had my own ~/.urlview:

REGEXP ht|f)tp)|https|file|mailto):(//)?[^ ]*|www.[-a-z0-9.]+)[^ .,;']

I'll grant you that it doesn't handle gopher (do I care?) and that it's
very accepting, but it does handle the URL you gave above.

 -Andr??
--Greg


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: urlview regexp

2007-05-23 Thread Andre Berger
* Gregory Seidman (2007-05-23):
 On Wed, May 23, 2007 at 02:16:31PM +0200, Andre Berger wrote:
  My etch urlview doesn't resolve URLs like
  
http://forum.linkstationwiki.net/viewtopic.php?f=15t=3075p=31281e=31281
  
  as expected, they work when copied and pasted into my browser. 
  
  The regexp used (etch's /etc/urlview/system.urlview):
  
REGEXP (((http|https|ftp|gopher)|mailto):(//)?[^ 
  \t]*|(www|ftp)[0-9]?\.[-a-z0-9.]+)[^ .,;\t\n\r\):]?[^, \t]*[^ 
  .,;\t\n\r\):]
 
 I've just always had my own ~/.urlview:
 
 REGEXP ht|f)tp)|https|file|mailto):(//)?[^ ]*|www.[-a-z0-9.]+)[^ .,;']
 
 I'll grant you that it doesn't handle gopher (do I care?) and that it's
 very accepting, but it does handle the URL you gave above.

Thanks Greg, much appreciated. --

As your regexp led to the same poor result here, I investigated
further. It turned out to be a UTF-8 encoding problem: = came out
as =3D. I'll use sed to sanitize the output until I'll find a
better solution. 

-André

-- 
May as well be hung for a sheep as a lamb
Linux Kernel 2.6/PPC for Linkstation/KuroBox/HG/HS from http://hvkls.dyndns.org



Re: urlview regexp

2007-05-23 Thread Andrei Popescu
On Wed, May 23, 2007 at 02:16:31PM +0200, Andre Berger wrote:
 My etch urlview doesn't resolve URLs like
 
   http://forum.linkstationwiki.net/viewtopic.php?f=15t=3075p=31281e=31281
 
 as expected, they work when copied and pasted into my browser. 

Set pipe_decode in mutt. (See README.Debian for more info)

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature