Re: Extract URL's from message

2007-05-11 Thread Taleb Hakim
Hello Trey,

* Quoting Trey Sizemore [00:44 Thu 10 May]:

 Thanks.  Does anyone happen to know what the correct syntax is in
 url_handler.sh to get the URL's opened in new tabs in Firefox?  I've
 gotten as close as getting the first URL to open, but selecting a
 second results in:
 
 Error: Failed to send command: 500 command not parseable

In my url_handler.sh I have this :

[..]
case $method in
http|https|gopher)
if test x$DISPLAY = x; then
( netscape -remote openURL\($url\) || netscape $url ) 
|| exit 1
else
lynx $url || exit 1
fi
;;
[..]


Re: Extract URL's from message

2007-05-10 Thread Patrick Shanahan
* Trey Sizemore [EMAIL PROTECTED] [05-10-07 00:46]:
 Does anyone happen to know what the correct syntax is in
 url_handler.sh to get the URL's opened in new tabs in Firefox?  I've
 gotten as close as getting the first URL to open, but selecting a
 second results in:

my ~/.urlview works:

###
# Urlview configuration file.
# man urlview  Man page
#
# The defaults are shown here:
#
# REGEXP  (((https?|ftp|gopher)://|(mailto|file|news):)[^' 
\t]+|(www|web|w3)\.[-a-z0-9.]+)[^' \t.,;\):]
# COMMAND url_handler.sh %s
#
COMMAND firefox -new-window %s



-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
OpenSUSE Linux   http://en.opensuse.org/
Registered Linux User #207535@ http://counter.li.org


Re: Extract URL's from message

2007-05-09 Thread Eyolf Oestrem




On 09.05.2007 (19:42), Joel Esler wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



OOOhh.. and if you find it, let me know too!



It sounds like you're talking about urlview.


Eyolf


joel esler | security consultant | Sourcefire | 
http://demo.sourcefire.com/jesler.pgp.key





On May 9, 2007, at 7:38 PM, Trey Sizemore wrote:



I remember a while back I had a setup with mutt that allowed me to
extract all URL's from a message and display them (numbered) in a
separate window.  I could then choose a URL to open by selecting its
number and it would open in my browser of choice.



I've been googling to find the proper 'recipe' for my .muttrc.  Anyone
have what I'm talking about?



--
Cheers,
Trey




Hell hath no fury like a bureaucrat scorned.
-- Milton Friedman



Linux valkyrie 2.6.16.46-0.7-bigsmp i686 GNU/Linux
 7:32pm  up   4:26,  4 users,  load average: 0.27, 0.24, 0.15




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)



iD8DBQFGQlx0KbCSyXHckt4RAhxqAJ45WKWv6QBDRCOePbeSvPLwigiHTwCfaeIe
giS8+eOVbEr81S6vOwWmCys=
=6RtX
-END PGP SIGNATURE-



--
It is your concern when your neighbor's wall is on fire.
-- Quintus Horatius Flaccus (Horace)


Re: Extract URL's from message

2007-05-09 Thread Wilkinson, Alex
0n Wed, May 09, 2007 at 07:38:39PM -0400, Trey Sizemore wrote: 

I remember a while back I had a setup with mutt that allowed me to
extract all URL's from a message and display them (numbered) in a
separate window.  I could then choose a URL to open by selecting its
number and it would open in my browser of choice.

I've been googling to find the proper 'recipe' for my .muttrc.  Anyone
have what I'm talking about?

urlview is a screen oriented program for extracting URLs from
 text files and displaying a menu from which you may launch a
 command to view a specific item.
 
 urlview uses a regular expression to extract URLs from the
 specified text files.

$HOME/.mutt/keybindings

macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'

 -aW

IMPORTANT: This email remains the property of the Australian Defence 
Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 
1914.  If you have received this email in error, you are requested to contact 
the sender and delete the email.



Re: Extract URL's from message

2007-05-09 Thread Trey Sizemore
On Thu May 10, 2007 11:51AM, Wilkinson, Alex wrote:
 0n Wed, May 09, 2007 at 07:38:39PM -0400, Trey Sizemore wrote: 
 
 I remember a while back I had a setup with mutt that allowed me to
 extract all URL's from a message and display them (numbered) in a
 separate window.  I could then choose a URL to open by selecting its
 number and it would open in my browser of choice.
 
 I've been googling to find the proper 'recipe' for my .muttrc.  Anyone
 have what I'm talking about?
 
 urlview is a screen oriented program for extracting URLs from
  text files and displaying a menu from which you may launch a
  command to view a specific item.
  
  urlview uses a regular expression to extract URLs from the
  specified text files.
 
 $HOME/.mutt/keybindings
 
 macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
 macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
 
  -aW
 

Thanks.  Does anyone happen to know what the correct syntax is in
url_handler.sh to get the URL's opened in new tabs in Firefox?  I've
gotten as close as getting the first URL to open, but selecting a
second results in:

Error: Failed to send command: 500 command not parseable

-- 
Cheers,
Trey

 
When I heated my home with oil, I used an average of 800 gallons a
year.  I have found that I can keep comfortably warm for an entire
winter with slightly over half that quantity of beer.
-- Dave Barry, Postpetroleum Guzzler
 
Linux valkyrie 2.6.16.46-0.7-bigsmp i686 GNU/Linux
 12:39am  up   1:08,  5 users,  load average: 0.00, 0.03, 0.06