Thread View: news.software.readers
4 messages
4 total messages
Started by Victoria Heisner
Sat, 25 Mar 2000 00:00
URLs in slrn (0.9.6.2)
Author: Victoria Heisner
Date: Sat, 25 Mar 2000 00:00
Date: Sat, 25 Mar 2000 00:00
20 lines
1451 bytes
1451 bytes
I'm running slrn 0.9.6.2 in Caldera OpenLinux 2.3. Whenever somebody posts
a message with a complete url in it, I can hit U to bring up netscape and go
to the web page -- which works great. However, in a lot of the newsgroups
that I read, people insert urls by typing www.url.com instead of
http://www.url.com. When I try U on the shortened url, slrn complains that
there are no urls in the message. Agent (in Windows 95) was able to handle
the shortened urls without a problem.
Is this a misconfiguration on my part????
Thanks,
Vicki
--
Both the rich and the poor get ice. It's just that the rich get theirs in
summer, and the poor in winter.
--"Bat" Masterson
Re: URLs in slrn (0.9.6.2)
Author: Jurriaan W Kalkman
Date: Sat, 25 Mar 2000 00:00
Date: Sat, 25 Mar 2000 00:00
33 lines
2040 bytes
2040 bytes
On Sat, 25 Mar 2000 12:00:44 GMT, Victoria Heisner <pheisner@thevision.net> wrote: > >I'm running slrn 0.9.6.2 in Caldera OpenLinux 2.3. Whenever somebody posts >a message with a complete url in it, I can hit U to bring up netscape and go >to the web page -- which works great. However, in a lot of the newsgroups >that I read, people insert urls by typing www.url.com instead of >http://www.url.com. When I try U on the shortened url, slrn complains that >there are no urls in the message. Agent (in Windows 95) was able to handle >the shortened urls without a problem. > >Is this a misconfiguration on my part???? > >Thanks, >Vicki according to find_url() in art.c, it searches for :// as a distinctive mark, then tries to find an url there. Perhaps it would be an option in a future release to have a regular expression in .slrnrc to use when searching for urls? This would allow everyone to either make it find only official urls or find anything starting with www. too. All comments appreciated! Jurriaan -- Never use "etc." -- it makes people think there is more where there is not or that there is not space to list it all, etc. Linux 2.2.15pre14 SMP up 7:51 4 users load av: 0.40 0.43 0.52
Re: URLs in slrn (0.9.6.2)
Author: Adam Bailey
Date: Sat, 25 Mar 2000 00:00
Date: Sat, 25 Mar 2000 00:00
22 lines
1766 bytes
1766 bytes
In article <slrn8dnqpc.10b.pheisner@Pinky.rbc>, Victoria Heisner <pheisner@thevision.net> wrote: > I'm running slrn 0.9.6.2 in Caldera OpenLinux 2.3. Whenever somebody posts > a message with a complete url in it, I can hit U to bring up netscape and go > to the web page -- which works great. However, in a lot of the newsgroups > that I read, people insert urls by typing www.url.com instead of > http://www.url.com. When I try U on the shortened url, slrn complains that > there are no urls in the message. Agent (in Windows 95) was able to handle > the shortened urls without a problem. > > Is this a misconfiguration on my part???? No, it's stupidity on their part. Unqualified URLs don't belong in Usenet, they're not necessary. -- Adam Bailey | Chicago, Illinois adamb@lull.org | Finger/Web for PGP adamkb@aol.com | http://www.lull.org/adam/
Re: URLs in slrn (0.9.6.2)
Author: Martijn van Buul
Date: Wed, 29 Mar 2000 00:00
Date: Wed, 29 Mar 2000 00:00
67 lines
2642 bytes
2642 bytes
It occurred to me that Jurriaan W Kalkman wrote in news.software.readers:
> according to find_url() in art.c, it searches for :// as a distinctive
> mark, then tries to find an url there. Perhaps it would be an option in
> a future release to have a regular expression in .slrnrc to use when
> searching for urls?
>
> This would allow everyone to either make it find only official urls or
> find anything starting with www. too.
>
> All comments appreciated!
A feature like this could be implemented in S-lang too. The following script
will search for Message-ID's, but with a different regexp, URLs won't be
a problem. You will get a lot of false hits, though.
define my_message_id_search ()
{
variable found_string;
variable count;
variable start,length;
call("art_bob");
count=0;
while(re_search_article("<[^ @]*@[a-zA-Z0-9\.\-]*>") == 1)
{
found_string=();
()=string_match(found_string,"<[^ @]*@[a-zA-Z0-9\.\-]*>",1);
(start,length)=string_match_nth(0);
substr(found_string,start+1,length); % Leaves string on stack
count=count+1;
}
return count;
}
define my_message_id_display()
{
variable MID;
"Select Message-ID"; % Pushes title
my_message_id_search(); % Pushes Message-ID's + #items
{
variable temp;
temp=();
if(temp==0)
{
error("No Message-ID's found!");
return;
}
temp;
}
0; % Pushes default item.
select_list_box();
MID=();
if(1==locate_header_by_msgid(MID,1))
{
update();
call("scroll_dn");
}
}
definekey("my_message_id_display","M","article");
--
Martijn van Buul - Pino@dohd.cx - http://www.stack.nl/~martijnb/
Visit OuterSpace: mud.stack.nl 3333
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