Re: Mutt's URL support
At 04:49 PM 9/11/00 -0500, David McNett wrote: > >-r-xr-xr-x 1 root wheel 1047184 Sep 11 11:31 /usr/local/bin/lynx >-r-xr-xr-x 1 root wheel 321608 Jun 4 19:06 /usr/local/bin/links >-r-xr-xr-x 1 root wheel 261132 May 22 08:10 /usr/local/bin/w3m > >This is reason enough for me to prefer w3m for the specific case we're >discussing. Table support or no, it's hard to justify the size of lynx >for what the original poster wants to do. The byte size of the executable is only peripherally related to the running size of a process. There might well be symbol tables included in some of those but not others, for example. "size" will give a better estimate of what memory will be used when the process is launched. However, since memory may be dynamically allocated, you need to do something like "ps -el" on a running process to see what the actual memory footprint is. I have to say, I'll be permanently against "links" because of the choice of name obviously designed to cause confusion with "lynx". (If size matters so much, I wonder why so many people write perl scripts when (g)awk and/or sed would do the same jobs in a much smaller way.) Stan
Re: Mutt's URL support
On Tue, Sep 12, 2000 at 09:52:52AM +0100, Telsa Gwynne wrote: > On Tue, Sep 12, 2000 at 10:34:26AM +1100 or thereabouts, Rob Watkin wrote: > > On Sun, Sep 10, 2000 at 11:19:19PM -0700, Gary Johnson wrote: > > > > > > I use the w3m browser instead of urlview for this. It works great. > > > Simply pipe your message from slashdot to w3m, which displays the full > > > text of the message, then type a colon (:). This will cause w3m to > > > > I don't have w3c so I tried "|lynx" this opend lynx fine but it doesn't > > show that page? > > I think this is because w3m is both a browser and a pager (a la 'more' > or 'less'). Lynx is a browser only (well, for the purposes of that well, not exactly. w3m is (like Netscape) interpreting backspace-sequences in its input as underline/bold, but that makes it not a browser since it's not the defined behavior for html. As I noted, equally-current versions of lynx can read stdin. I use it in another program for instance: edit-file &cat "!cat " &cat $cfilname &cat " | lynx -stdin -with_backspaces -dump | " %filter -- Thomas E. Dickey <[EMAIL PROTECTED]> http://dickey.his.com ftp://dickey.his.com
Re: Mutt's URL support
On Tue, Sep 12, 2000 at 10:34:26AM +1100 or thereabouts, Rob Watkin wrote: > On Sun, Sep 10, 2000 at 11:19:19PM -0700, Gary Johnson wrote: > > > > I use the w3m browser instead of urlview for this. It works great. > > Simply pipe your message from slashdot to w3m, which displays the full > > text of the message, then type a colon (:). This will cause w3m to > > I don't have w3c so I tried "|lynx" this opend lynx fine but it doesn't > show that page? I think this is because w3m is both a browser and a pager (a la 'more' or 'less'). Lynx is a browser only (well, for the purposes of that that suggestion: I know it will do ftp and other stuff, yes :)) and not a pager. So you can use w3m for this with mutt. I think :) Telsa
Re: Mutt's URL support
On Mon, Sep 11, 2000 at 06:55:55PM -0500, David McNett wrote: > If you're not sure yet if I've realized that you are uncomfortable with > others disagreeing with you, please reply in private email and I'd be > more than happy to continue listening to you tell me that you think > lynx is better. I disagree with people all the time - if they can't make any points other that by attempting to sound knowledgeable when they're not. (no point in agreeing with someone on that basis ;-) -- Thomas E. Dickey <[EMAIL PROTECTED]> http://dickey.his.com ftp://dickey.his.com
Re: Mutt's URL support
On Mon, Sep 11, 2000 at 06:55:55PM -0500, David McNett wrote: > On 11-Sep-2000, Thomas Dickey wrote: > > let's see - odds are you use vim (or emacs). > > vim's 3-4 times larger than the original vi. > > > > (or are you consistent and use 'ed'?) > > Thomas -- it's quite clear you're more concerned with defending your > preference than in finding the optimal solution. I'm afraid you're just > going to have to learn to live with the fact that many of us don't share > your emotional commitment to lynx. > > Your analogy is strained because vim provides features well in excess of > vi, justifying the increase in size. The only "benefits" that lynx nope - I'm being reasonable, and you're not. (I made a valid comparison & you can't find a response to it) -- Thomas E. Dickey <[EMAIL PROTECTED]> http://dickey.his.com ftp://dickey.his.com
Re: Mutt's URL support
On Tue, Sep 12, 2000 at 10:34:26AM +1100, Rob Watkin wrote: > On Sun, Sep 10, 2000 at 11:19:19PM -0700, Gary Johnson wrote: > > On Sun, Sep 10, 2000 at 09:29:09PM -0700, Shane Wegner wrote: > > > > > I am wondering if there is any more information on viewing URLs in mutt then > > > is contained in the manual. The problem I have quite often is that spawning > > > urlview is not neirly as flexable as I'd like it to be. > > > > [...] > > > > I use the w3m browser instead of urlview for this. It works great. > > Simply pipe your message from slashdot to w3m, which displays the full > > text of the message, then type a colon (:). This will cause w3m to > > I don't have w3c so I tried "|lynx" this opend lynx fine but it doesn't > show that page? Through 2.8.3, lynx doesn't read stdin in the way you are asking. I added a -stdin option (to merge this with existing functions), so that is in the current development version (2.8.4dev.9): The current version of lynx is 2.8.3 It's available at http://lynx.browser.org http://sol.slcc.edu/lynx/release ftp://lynx.isc.org/lynx-2.8.3 2.8.4 Development & patches: http://lynx.isc.org/current/index.html (does 'links' read from stdin? - I tried that today and it blew SIGHUP'd my xterm ;-) -- Thomas E. Dickey <[EMAIL PROTECTED]> http://dickey.his.com ftp://dickey.his.com
Re: Mutt's URL support
On 11-Sep-2000, Thomas Dickey wrote: > let's see - odds are you use vim (or emacs). > vim's 3-4 times larger than the original vi. > > (or are you consistent and use 'ed'?) Thomas -- it's quite clear you're more concerned with defending your preference than in finding the optimal solution. I'm afraid you're just going to have to learn to live with the fact that many of us don't share your emotional commitment to lynx. Your analogy is strained because vim provides features well in excess of vi, justifying the increase in size. The only "benefits" that lynx seems to have are that it doesn't do as good a job at displaying tables as the alternatives and that you prefer it. Whether or not you come to grips with the fact that I find w3m and links superior to lynx, we're now safely into off-topic land for this list. If you're not sure yet if I've realized that you are uncomfortable with others disagreeing with you, please reply in private email and I'd be more than happy to continue listening to you tell me that you think lynx is better. -- |David McNett |To ensure privacy and data integrity this message has| |[EMAIL PROTECTED]|been encrypted using dual rounds of ROT-13 encryption| |Birmingham, AL USA|Please encrypt all important correspondence with PGP!| PGP signature
Re: Mutt's URL support
On Sun, Sep 10, 2000 at 11:19:19PM -0700, Gary Johnson wrote: > On Sun, Sep 10, 2000 at 09:29:09PM -0700, Shane Wegner wrote: > > > I am wondering if there is any more information on viewing URLs in mutt then > > is contained in the manual. The problem I have quite often is that spawning > > urlview is not neirly as flexable as I'd like it to be. > > [...] > > I use the w3m browser instead of urlview for this. It works great. > Simply pipe your message from slashdot to w3m, which displays the full > text of the message, then type a colon (:). This will cause w3m to I don't have w3c so I tried "|lynx" this opend lynx fine but it doesn't show that page? Rob
Re: Mutt's URL support
On Mon, Sep 11, 2000 at 04:49:18PM -0500, David McNett wrote: > On 11-Sep-2000, Thomas E. Dickey wrote: > > perhaps I came on the thread late - I saw that it had nothing to do with > > table support, but mailcap and related issues. > > -r-xr-xr-x 1 root wheel 1047184 Sep 11 11:31 /usr/local/bin/lynx > -r-xr-xr-x 1 root wheel 321608 Jun 4 19:06 /usr/local/bin/links > -r-xr-xr-x 1 root wheel 261132 May 22 08:10 /usr/local/bin/w3m > > This is reason enough for me to prefer w3m for the specific case we're > discussing. Table support or no, it's hard to justify the size of lynx let's see - odds are you use vim (or emacs). vim's 3-4 times larger than the original vi. (or are you consistent and use 'ed'?) -- Thomas E. Dickey <[EMAIL PROTECTED]> http://dickey.his.com ftp://dickey.his.com
Re: Mutt's URL support
On 11-Sep-2000, Thomas E. Dickey wrote: > perhaps I came on the thread late - I saw that it had nothing to do with > table support, but mailcap and related issues. -r-xr-xr-x 1 root wheel 1047184 Sep 11 11:31 /usr/local/bin/lynx -r-xr-xr-x 1 root wheel 321608 Jun 4 19:06 /usr/local/bin/links -r-xr-xr-x 1 root wheel 261132 May 22 08:10 /usr/local/bin/w3m This is reason enough for me to prefer w3m for the specific case we're discussing. Table support or no, it's hard to justify the size of lynx for what the original poster wants to do. In addition to having worthwhile tables support, w3m is about a quarter the size of lynx. Since tables are commonly used for page layout in html, this is a concern, even when dealing with text/html mail viewing. I can appreciate Thomas' desire to defend his preference, and in reality any one of the three makes a suitable solution to the original poster's question. -- |David McNett |To ensure privacy and data integrity this message has| |[EMAIL PROTECTED]|been encrypted using dual rounds of ROT-13 encryption| |Birmingham, AL USA|Please encrypt all important correspondence with PGP!| PGP signature
Re: Mutt's URL support
On Mon, Sep 11, 2000 at 04:50:22PM +0100, Lars Hecking wrote: > > > > Aha -- you want more than just the URL, then, because of "deficiencies" in > > > the /. mail message, right? In that case, you'll want to just pump your > > > message through a browser that can pick up the plaintext URLs (though, > > > since you're in a tough boat anyway, you might see if /. offers an HTML > > > mail version and get it instead). Try w3m and links, two text-mode > > > browsers that seem to be fairly capable. > > > > BTW, it's lynx, not links. Sounds like a nitpick, but if the poor guy was > > going to do a search on 'links', it wouldn't get him very far. > > $ man links > > NAME > links - lynx-like alternative character mode WWW browser Well, poo on me. That's what I get for shooting my big mouth off. =) - Myrddin
Re: Mutt's URL support
On Mon, 11 Sep 2000, Brian Foley wrote: > As far as I am aware, one of the main advantages of links or w3m over > lynx is the superior handling of tables, which you find on a lot of > web-sites these days (including slashdot, the original ref for this > thread). As far as I know lynx doesnt have table support (feel free perhaps I came on the thread late - I saw that it had nothing to do with table support, but mailcap and related issues. > to correct me if I am wrong). > Regards > Brian. -- T.E.Dickey <[EMAIL PROTECTED]> http://dickey.his.com ftp://dickey.his.com
Re: Mutt's URL support
On Mon, 11 Sep 2000, Brian Foley wrote: > * Thomas E. Dickey [[EMAIL PROTECTED]] on [11-09-00] wrote: > > > to migrate to w3m or links which appear to be more secure and are > > > functionally superior to lynx in nearly all regards. > > > > ( your opinion ;-) > > > As far as I am aware, one of the main advantages of links or w3m over > lynx is the superior handling of tables, which you find on a lot of > web-sites these days (including slashdot, the original ref for this > thread). As far as I know lynx doesnt have table support (feel free > to correct me if I am wrong). lynx recognizes tables and renders them according to its own tradeoffs. (ditto for frames). (otoh, links' _navigation_ of tables needs a lot of work ;-) -- T.E.Dickey <[EMAIL PROTECTED]> http://dickey.his.com ftp://dickey.his.com
Re: Mutt's URL support
* Thomas E. Dickey [[EMAIL PROTECTED]] on [11-09-00] wrote: > > to migrate to w3m or links which appear to be more secure and are > > functionally superior to lynx in nearly all regards. > > ( your opinion ;-) > As far as I am aware, one of the main advantages of links or w3m over lynx is the superior handling of tables, which you find on a lot of web-sites these days (including slashdot, the original ref for this thread). As far as I know lynx doesnt have table support (feel free to correct me if I am wrong). Regards Brian. -- Brian Foley -- [EMAIL PROTECTED] -- www.maths.tcd.ie/~brianf
Re: Mutt's URL support
At 12:29 AM EDT on September 11 Shane Wegner sent off: > Hi, > > I am wondering if there is any more information on viewing URLs in mutt then > is contained in the manual. As you've seen, there's a lot. Quite an educational thread. > If I hit ctrl+b (spawn urlview) on a post like this, it gives me a nice yet > utterly meaningless set of URLs. Is there any feature which allows > pine-like url viewing? Moving around in the message itself and spawning a > browser. If not, is there a better way to get an URL with some context. My favorite way is to use mutt in a URL aware terminal, so I can just right click on any URL to have netscape load it up. I use dingus, a modified rxvt 2.4.5 that you can get at http://astro.utoronto.ca/~reid/software/ but you might already be able to do it in gnome-terminal. gnome-terminal manages backgrounds better, but its magic clicking isn't as flexible or convienient. And now for a purely speculative method: it mmiigghhtt* be possible to run mutt inside emacs, and use emacs to middle click on URLs like in gnus. I doubt it, though. ;-) It'd probably be easier just to use a webcam to see which URLs you're looking at. * IIRC, it's been mathematically proven that emacs can do anything. -- Now I'm being INVOLUNTARILY shuffled closer to the CLAM DIP with the BROKEN PLASTIC FORKS in it!! - Yow! Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/ PGP Key: http://astro.utoronto.ca/~reid/pgp.html PGP signature
Re: Mutt's URL support
On Mon, 11 Sep 2000, David McNett wrote: > On 11-Sep-2000, Myrddin wrote: > >BTW, it's lynx, not links. Sounds like a nitpick, but if the poor guy > >was going to do a search on 'links', it wouldn't get him very far. > > Actually, it is links. lynx seems to have fallen into disfavor lately > in reaction to several recent security issues. Many people have chosen ..which were fixed months ago. Same bugs apply to links and w3m, btw. > to migrate to w3m or links which appear to be more secure and are > functionally superior to lynx in nearly all regards. ( your opinion ;-) -- T.E.Dickey <[EMAIL PROTECTED]> http://dickey.his.com ftp://dickey.his.com
Re: Mutt's URL support
On Mon, Sep 11, 2000 at 08:26:51AM -0700, Myrddin wrote: > > BTW, it's lynx, not links. Sounds like a nitpick, but if the poor guy was > going to do a search on 'links', it wouldn't get him very far. > > - Myrddin Well, just for the record, 'links' is also a text based web browser, as 'lynx'. -- Pedro Miguel Gameiro Alves THINK - Tecnologias de Informação Tel: +351 21 3590285 Email: [EMAIL PROTECTED]
Re: Mutt's URL support
On 11-Sep-2000, Myrddin wrote: >BTW, it's lynx, not links. Sounds like a nitpick, but if the poor guy >was going to do a search on 'links', it wouldn't get him very far. Actually, it is links. lynx seems to have fallen into disfavor lately in reaction to several recent security issues. Many people have chosen to migrate to w3m or links which appear to be more secure and are functionally superior to lynx in nearly all regards. http://artax.karlin.mff.cuni.cz/~mikulas/vyplody/links/ http://www.instinct.org/w3m/ David T-G's suggestion is a good one, btw. Very nice idea. -- |David McNett |To ensure privacy and data integrity this message has| |[EMAIL PROTECTED]|been encrypted using dual rounds of ROT-13 encryption| |Birmingham, AL USA|Please encrypt all important correspondence with PGP!| PGP signature
Re: Mutt's URL support
On Mon, 11 Sep 2000, Myrddin wrote: > On Mon, Sep 11, 2000 at 07:56:56AM -0400, David T-G wrote: > > % pine-like url viewing? Moving around in the message itself and spawning a > > % browser. If not, is there a better way to get an URL with some context. > > > > Aha -- you want more than just the URL, then, because of "deficiencies" in > > the /. mail message, right? In that case, you'll want to just pump your > > message through a browser that can pick up the plaintext URLs (though, > > since you're in a tough boat anyway, you might see if /. offers an HTML > > mail version and get it instead). Try w3m and links, two text-mode > > browsers that seem to be fairly capable. > > BTW, it's lynx, not links. Sounds like a nitpick, but if the poor guy was > going to do a search on 'links', it wouldn't get him very far. well, there is a browser named 'links' (which in this instance doesn't appear to offer any advantage over 'lynx'). It's a badly chosen name, agreed. -- T.E.Dickey <[EMAIL PROTECTED]> http://dickey.his.com ftp://dickey.his.com
Re: Mutt's URL support
> > Aha -- you want more than just the URL, then, because of "deficiencies" in > > the /. mail message, right? In that case, you'll want to just pump your > > message through a browser that can pick up the plaintext URLs (though, > > since you're in a tough boat anyway, you might see if /. offers an HTML > > mail version and get it instead). Try w3m and links, two text-mode > > browsers that seem to be fairly capable. > > BTW, it's lynx, not links. Sounds like a nitpick, but if the poor guy was > going to do a search on 'links', it wouldn't get him very far. $ man links NAME links - lynx-like alternative character mode WWW browser [...] HTH. HAND.
Re: Mutt's URL support
On Mon, Sep 11, 2000 at 07:56:56AM -0400, David T-G wrote: > % pine-like url viewing? Moving around in the message itself and spawning a > % browser. If not, is there a better way to get an URL with some context. > > Aha -- you want more than just the URL, then, because of "deficiencies" in > the /. mail message, right? In that case, you'll want to just pump your > message through a browser that can pick up the plaintext URLs (though, > since you're in a tough boat anyway, you might see if /. offers an HTML > mail version and get it instead). Try w3m and links, two text-mode > browsers that seem to be fairly capable. BTW, it's lynx, not links. Sounds like a nitpick, but if the poor guy was going to do a search on 'links', it wouldn't get him very far. - Myrddin
Re: Mutt's URL support
Shane -- ...and then Shane Wegner said... % Hi, % % Take a site like slashdot for example. They send me an email every night Very cool :-) % with a list of today's articles. The format is as follows. % DeCSS Source Mass-Posted to Usenet % from the cat-out-of-the-barrel dept. % posted by CmdrTaco on Sunday September 10, @10:23PM (movies) % http://slashdot.org/article.pl?sid=00/09/10/2225214 % Western Union Cracked, Credit Cards Stolen % from the time-to-start-canceling dept. % posted by CmdrTaco on Sunday September 10, @06:07PM (internet) % http://slashdot.org/article.pl?sid=00/09/10/189251 % Are We Ready For Broadband Internet Access? % from the for-that-matter-is-the-internet-ready-for-us? dept. % posted by Cliff on Sunday September 10, @05:11PM (tech) % http://slashdot.org/article.pl?sid=00/09/09/1818217 % etc. Sure; it looks readable enough... % % If I hit ctrl+b (spawn urlview) on a post like this, it gives me a nice yet % utterly meaningless set of URLs. Is there any feature which allows I don't get it... I ran urlview against this message and I got a nice UrlView 0.9: (5 matches) Press Q or Ctrl-C to Quit! ->1 http://slashdot.org/article.pl?sid=3D00/09/10/2225214 2 http://slashdot.org/article.pl?sid=3D00/09/10/189251 3 http://slashdot.org/article.pl?sid=3D00/09/09/1818217 4 http://www.cm.nu/~shane/ 5 http://www.gnupg.org It looks exactly like what's posted in the message... % pine-like url viewing? Moving around in the message itself and spawning a % browser. If not, is there a better way to get an URL with some context. Aha -- you want more than just the URL, then, because of "deficiencies" in the /. mail message, right? In that case, you'll want to just pump your message through a browser that can pick up the plaintext URLs (though, since you're in a tough boat anyway, you might see if /. offers an HTML mail version and get it instead). Try w3m and links, two text-mode browsers that seem to be fairly capable. % % Cheers, % Shane HTH & HAND % % -- % Shane Wegner: [EMAIL PROTECTED] % Personal website: http://www.cm.nu/~shane/ :-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! The "new millennium" starts at the beginning of 2001. There was no year 0. Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh* PGP signature
Re: Mutt's URL support
On Sun, Sep 10, 2000 at 09:29:09PM -0700, Shane Wegner wrote: > [...] Is there any feature which allows > pine-like url viewing? Moving around in the message itself and spawning a > browser. If not, is there a better way to get an URL with some context. I you are using mutt in an xterm, you could set up a keybinding like this: bind pager \cb "!$BROWSER `xcut -p` &" That would spawn a browser on the selected url. (xcut is a little utility for manipulating the clipboard. You'll find it on freshmeat: http://freshmeat.net/search/?q=xcut) -Jens
Re: Mutt's URL support
On Sun, Sep 10, 2000 at 09:29:09PM -0700, Shane Wegner wrote: > I am wondering if there is any more information on viewing URLs in mutt then > is contained in the manual. The problem I have quite often is that spawning > urlview is not neirly as flexable as I'd like it to be. [...] > If I hit ctrl+b (spawn urlview) on a post like this, it gives me a nice yet > utterly meaningless set of URLs. Is there any feature which allows > pine-like url viewing? Moving around in the message itself and spawning a > browser. If not, is there a better way to get an URL with some context. I use the w3m browser instead of urlview for this. It works great. Simply pipe your message from slashdot to w3m, which displays the full text of the message, then type a colon (:). This will cause w3m to search the text for strings that look like URLs and treat them as anchors. Move the cursor to the anchor/link of interest and hit Enter, which will cause w3m to open that URL. If you don't like using w3m as a browser, you can configure it to use a different browser to open URLs. I regularly receive a list of articles from The Register as you do from slashdot, so I use display-hooks to automatically set the pager to w3m for these messages: display-hook ~A 'set pager="less -rf"' display-hook '~s "the register update"' 'set pager="w3m"' I think display-hooks are only available as a patch to 1.2. The patch was posted to this list (or the mutt-dev list) earlier this year. How did you get slashdot to send you a list of articles? I've searched the site for such a feature but couldn't find it. Regards, Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | RF Communications Product Generation Unit | Spokane, Washington, USA
Mutt's URL support
Hi, I am wondering if there is any more information on viewing URLs in mutt then is contained in the manual. The problem I have quite often is that spawning urlview is not neirly as flexable as I'd like it to be. Take a site like slashdot for example. They send me an email every night with a list of today's articles. The format is as follows. DeCSS Source Mass-Posted to Usenet from the cat-out-of-the-barrel dept. posted by CmdrTaco on Sunday September 10, @10:23PM (movies) http://slashdot.org/article.pl?sid=00/09/10/2225214 Western Union Cracked, Credit Cards Stolen from the time-to-start-canceling dept. posted by CmdrTaco on Sunday September 10, @06:07PM (internet) http://slashdot.org/article.pl?sid=00/09/10/189251 Are We Ready For Broadband Internet Access? from the for-that-matter-is-the-internet-ready-for-us? dept. posted by Cliff on Sunday September 10, @05:11PM (tech) http://slashdot.org/article.pl?sid=00/09/09/1818217 etc. If I hit ctrl+b (spawn urlview) on a post like this, it gives me a nice yet utterly meaningless set of URLs. Is there any feature which allows pine-like url viewing? Moving around in the message itself and spawning a browser. If not, is there a better way to get an URL with some context. Cheers, Shane -- Shane Wegner: [EMAIL PROTECTED] Personal website: http://www.cm.nu/~shane/ PGP signature