Thread View: news.software.readers
4 messages
4 total messages
Started by Kostas
Fri, 11 Jun 2004 11:49
[slrn] question on protocol handling and on 0.9.8.0 under win32
Author: Kostas
Date: Fri, 11 Jun 2004 11:49
Date: Fri, 11 Jun 2004 11:49
12 lines
1476 bytes
1476 bytes
Hello to all. How can I add support to slrn for protocols that include numbers at their name, such as "trn3270", so that slrn automaticcaly recognizes them and highights them? If that can be included in a next release that could be really ok! :-) Also, could there be an "official" compile of slrn 0.9.8.0 (or even 0.9.8.1 with that minor feature added :-) by the maintainers of the application? Thanks in advance and keep up the good work!
Re: [slrn] question on protocol handling and on 0.9.8.0 under win32
Author: SINNER
Date: Fri, 11 Jun 2004 13:10
Date: Fri, 11 Jun 2004 13:10
23 lines
2128 bytes
2128 bytes
* Kostas wrote in news.software.readers: > Hello to all. > How can I add support to slrn for protocols that include numbers at their > name, such as "trn3270", so that slrn automaticcaly recognizes them and > highights them? If that can be included in a next release that could be > really ok! :-) > Also, could there be an "official" compile of slrn 0.9.8.0 (or even > 0.9.8.1 with that minor feature added :-) by the maintainers of the > application? Any chance of a better example of what you are looking for? I am thinking there may already be a solution for you with the highlight url setting in the slrnrc but we need more details. Please show an example of the whole 'protocol' you would like to see highlighted. -- David | AGM Favorites - http://tinyurl.com/loec There are more dead people than living, and their numbers are increasing. -- Eugene Ionesco
Re: [slrn] question on protocol handling and on 0.9.8.0 under win32
Author: Kostas
Date: Mon, 14 Jun 2004 09:34
Date: Mon, 14 Jun 2004 09:34
18 lines
1451 bytes
1451 bytes
For example there is the following post:
Machine Action
------- ------
zeus telnet://zeus:5000
laos telnet://laos:23
leman ftp://leman:21
zeon tn3270://zeon:5643
The problem is that all of the above url/protocols are highlighted
except the tn3270. I believe that this happens because there are
numbers ("3270") before the "://" part.
I looked at the manual.txt of slrn but I was unable to find anything
useful.
Thanks for any tips.
Re: [slrn] question on protocol handling and on 0.9.8.0 under win32
Author: Michael Prokop
Date: Mon, 14 Jun 2004 17:09
Date: Mon, 14 Jun 2004 17:09
26 lines
2033 bytes
2033 bytes
* Kostas <kostasnospam@nospam.nospam> wrote:
[...]
> leman ftp://leman:21
> zeon tn3270://zeon:5643
> The problem is that all of the above url/protocols are highlighted
> except the tn3270. I believe that this happens because there are
> numbers ("3270") before the "://" part.
Yes, AFAICS in the function find_url (see art.c) URLs are detected
via isalpha().
> I looked at the manual.txt of slrn but I was unable to find anything
> useful.
I assume the find_url-function in the sources of slrn has to be
modified.
best regards,
-mika-
--
Patches for the newsreader slrn (www.slrn.org):
* longoptions-patch -> extended help (via --help) and long option-names
* separator-patch -> _underlined_, *bold*, /italic/ and -separator- text
Available on: http://www.michael-prokop.at/slrn/
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