Thread View: news.software.readers
4 messages
4 total messages
Started by Steve Ackman
Mon, 01 Mar 2010 20:33
[slrn] enable URL angle bracket support?
Author: Steve Ackman
Date: Mon, 01 Mar 2010 20:33
Date: Mon, 01 Mar 2010 20:33
33 lines
2636 bytes
2636 bytes
>From http://www.ietf.org/rfc/rfc3986.txt
In some cases, extra whitespace (spaces, line-breaks,
tabs, etc.) may have to be added to break a long URI
across lines. The whitespace should be ignored when
the URI is extracted.
...
Using <> angle brackets around each URI is especially
recommended as a delimiting style for a reference that
contains embedded whitespace.
Is there a config option to enable this feature?
The other day I ran across this multi-line URL
delimited with angle brackets:
<http://online.wsj.com/article/SB1000142405274870475790457507818230340594
8.html>
If I hit "U" only the portion of the URL on the first
line is picked up, so I had to copy/paste the rest.
Another slrn user (using slrn/pre1.0.0-11 on Ubuntu vs.
my slrn/pre1.0.0-16 on Debian) said when he hit "U" on
the same post, the entire URL was passed to his browser.
Any ideas why this would happen? More specifically,
how can I get my slrn to pickup the entire URL as the
other slrn user claims his did? I haven't found
anything in .slrnrc that would seem to make this happen
or not.
--
☯☯
Re: [slrn] enable URL angle bracket support?
Author: Whiskers
Date: Mon, 01 Mar 2010 22:08
Date: Mon, 01 Mar 2010 22:08
54 lines
3756 bytes
3756 bytes
On 2010-03-01, Steve Ackman <steve@SNIP-THIS.twoloonscoffee.com> wrote: > From http://www.ietf.org/rfc/rfc3986.txt > > In some cases, extra whitespace (spaces, line-breaks, > tabs, etc.) may have to be added to break a long URI > across lines. The whitespace should be ignored when > the URI is extracted. > ... > Using <> angle brackets around each URI is especially > recommended as a delimiting style for a reference that > contains embedded whitespace. > > Is there a config option to enable this feature? > The other day I ran across this multi-line URL > delimited with angle brackets: > > <http://online.wsj.com/article/SB1000142405274870475790457507818230340594 > 8.html> > > If I hit "U" only the portion of the URL on the first > line is picked up, so I had to copy/paste the rest. > Another slrn user (using slrn/pre1.0.0-11 on Ubuntu vs. > my slrn/pre1.0.0-16 on Debian) said when he hit "U" on > the same post, the entire URL was passed to his browser. > > Any ideas why this would happen? More specifically, > how can I get my slrn to pickup the entire URL as the > other slrn user claims his did? I haven't found > anything in .slrnrc that would seem to make this happen > or not. It would certainly be a useful enhancement for slrn ... I've sometimes wondered if it would be possible to use urlview with a suitable regex in ~/.urlview to ensure that 'broken' URLs that are enclosed between <> or space characters are detected and 'repaired' correctly. By default, urlview doesn't do that (I've tried it by using the | command from within slrn). But I don't know enough about regex to make it work. There's a thread in the slrn-user mailing list archive that refers to urlview, but it doesn't address this particular question. <http://sourceforge.net/mailarchive/forum.php?forum_name=slrn-user&max_rows =25&style=nested&viewmonth=200907> The terminal emulator I'm using (actually called terminal - part of the XFce project) has a URL detector of its own, but it too fails to repair broken URLs. Perhaps the other slrn user has something in his slrn or console or terminal emulator setup that does manage the trick? -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn] enable URL angle bracket support?
Author: Steve Ackman
Date: Tue, 02 Mar 2010 07:19
Date: Tue, 02 Mar 2010 07:19
37 lines
2825 bytes
2825 bytes
In <slrnhoo96j.ie7.steve@sorceror.wizard.dyndns.org>, on Mon, 1 Mar 2010
13:33:49 -0700, Steve Ackman, steve@SNIP-THIS.twoloonscoffee.com wrote:
<http://online.wsj.com/article/SB1000142405274870475790457507818230340594
8.html>
>
> If I hit "U" only the portion of the URL on the first
> line is picked up, so I had to copy/paste the rest.
> Another slrn user (using slrn/pre1.0.0-11 on Ubuntu vs.
> my slrn/pre1.0.0-16 on Debian) said when he hit "U" on
> the same post, the entire URL was passed to his browser.
Hopefully, that user will be along and we can compare
details:
$ slrn --version
slrn pre1.0.0-16
* Note: This version is a developer preview.
S-Lang Library Version: 2.2.2
* Note: This program was compiled against version 2.2.1.
Compiled at: Nov 11 2009 00:54:43
Operating System: Linux
COMPILE TIME OPTIONS:
Backends: +nntp +slrnpull +spool
External programs / libs: +canlock +inews +ssl +uudeview +iconv
Features: +decoding +emphasized_text +end_of_thread +fake_refs +gen_msgid
-grouplens -msgid_cache +piping +rnlock +spoilers -strict_from
Using 64 bit integers for article numbers.
DEFAULTS:
Default server object: nntp
Default posting mechanism: nntp
--
☯☯
Re: [slrn] enable URL angle bracket support?
Author: Steve Ackman
Date: Tue, 02 Mar 2010 07:31
Date: Tue, 02 Mar 2010 07:31
43 lines
3319 bytes
3319 bytes
In <slrnhooemh.a9e.catwheezel@ID-107770.user.individual.net>, on Mon, 01 Mar 2010 22:08:17 +0000, Whiskers, catwheezel@operamail.com wrote: > It would certainly be a useful enhancement for slrn ... > > I've sometimes wondered if it would be possible to use urlview with a > suitable regex in ~/.urlview to ensure that 'broken' URLs that are > enclosed between <> or space characters are detected and 'repaired' > correctly. By default, urlview doesn't do that (I've tried it by using the >| command from within slrn). But I don't know enough about regex to make > it work. I don't know if there's a way to make it work that way. Only the first line of the URL is highlighted, so it must be defined that a URI is from proto://to-end-of-line This seems like something that would have to be changed internally... so my reason for asking if there's some compile-time option I'm not aware of. > There's a thread in the slrn-user mailing list archive that refers to > urlview, but it doesn't address this particular question. ><http://sourceforge.net/mailarchive/forum.php?forum_name=slrn-user&max_rows >=25&style=nested&viewmonth=200907> I read through that earlier today. Nothing jumped out at me. > The terminal emulator I'm using (actually called terminal - part of the > XFce project) has a URL detector of its own, but it too fails to repair > broken URLs. I see where there's an option MiscHighlightUrls=True but I don't see where you might set URI delimiters. > Perhaps the other slrn user has something in his slrn or > console or terminal emulator setup that does manage the trick? I'm hoping he'll be along. -- ☯☯
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads