Article View: news.software.readers
Article #24071Re: Keeping List of Newsgroups Sorted in SLRN
From: Christopher B. Browne
Date: Fri, 12 Jul 1996 00:00
Date: Fri, 12 Jul 1996 00:00
49 lines
2813 bytes
2813 bytes
In article <slrn44ubl6u.d10.jollie@worf.netins.net>, Jeffrey C. Ollie wrote: >Is there a way for slrn to always list the newsgroups in sorted order >rather than the order that they appear in the .jnewsrc? I didn't see >anything in the man pages or in the rcfile so I've just been quitting >slrn and using the UNIX sort command of the .jnewsrc. FYI, I'm using >0.8.8.4. I'm not sure I'd support the idea of adding the feature, at least not using qsort() internally. I personally have found it annoying when newsreaders have neglected to permit me to order my news in whatever logical fashion I prefer. Lexicographical ordering of newsgroup names doesn't strike me as being particularly logical. (Is there any *real* reason that "A" comes before "B" other than that *some* convention was needed?) If you want your .jnewsrc file sorted on a regular basis, feel free to put the following in your .profile/.login/.zshrc file (whichever applies better): # Sort .jnewsrc file sort ~/.jnewsrc > /tmp/.jnewsrc.sorted # Back it up... mv ~/.jnewsrc ~/.jnewsrc.old # And move the sorted copy into place... mv /tmp/.jnewsrc.sorted ~/.jnewsrc This will sort .jnewsrc on a regular basis. >About the only thing that I will miss will be the functions that GNUS >has for converting the Date: header in the posting. You could convert >it to time elapsed since the article was posted, the time that it was >posted expressed in local time, and many others that I didn't bother >to read up on. I'd love it if slrn had a feature like this - I find it >difficult to convert GMT and other timezones to local time. Knowing >the local time when an article was posted is important to me because >then I know how old the information is and whether it is likely to be >out of date or inaccurate. It's probably pretty possible to put code in to do this. slrn seems to be fairly coherently written. -- Christopher B. Browne, cbbrowne@conline.com, chris_browne@sdt.com Web: http://www.conline.com/~cbbrowne SAP Basis Consultant, UNIX Guy, Linux Guy. "Windows? Ah... The Athena Project from MIT..."
Technical Details
Message-ID:
<slrn4ubr0i.9d.cbbrowne@dantzig.nodomain.nowhere>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<slrn44ubl6u.d10.jollie@worf.netins.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn4ubr0i.9d.cbbrowne@dantzig.nodomain.nowhere> Subject: Re: Keeping List of Newsgroups Sorted in SLRN Date: Fri, 12 Jul 1996 00:00:00 +0000 From: cbbrowne@dantzig.nodomain.nowhere (Christopher B. Browne) References: <slrn44ubl6u.d10.jollie@worf.netins.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 167940308 Organization: UniComp Technologies International Corp -- Internet Service Reply-to: cbbrowne@conline.com Newsgroups: news.software.readers