ianf@nada.kth.se (Ian Feldman) (12/11/89)
Found some useful code to change the behavior of the rn SUBJLINE
environment variable. It is supposed to give one a nicely formated
compound-printout of article subjects, along with their numbers,
length and authors. Something like this (edited printout):
**** 15 in news.lists--read? [ynq]
**** 1 in alt.folklore.computers--read? [ynq]
**** 19 in comp.mail.uucp--read? [ynq] =
3152 Re: New newsgroup hierarchy (19) Kenji Rikitake
3153 UUPC problem (25) stevesc@microsoft
3154 remote printer with UUPC? (14) Jim Miller
3155 Re: UUPC problem (19) Ken Leonard
3156 Setuid smail2.5? (32) Goran Larsson [Ha
3157 Re: UUPC problem ... and a new (NOT official) (38) ahd@clutx.clarkso
3158 Re: UUPC problem ... and a new (NOT official) (16) ahd@clutx.clarkso
3159 Problems with BITNET/UUCP gateway (19) Joerg Spilker
3160 Re: Problems with BITNET/UUCP gateway (21) Marc R. Sheldon
3161 Re: HoneyDanBer uucp question (40) Bill Blue
3162 Re: Setuid smail2.5? (15) Chip Salzenberg
3163 I need information about mail aknoledgements. (10) Mauricio Fernande
3164 Re: uugetty problem (44) Paul Gillingwater
3165 Re: UUCP Sites in Africa (344) Craig Peter Fynn
3166 Re: uugetty problem (15) Clarence Dold
3167 Vicious rewriting of From: lines (51) pwcs.StPaul.GOV!s
However, it seem to have been developed for displays capable of more
than 80-character lines because it actually displays 82 + <cr> + <lf>
as can be learned from the actual printout:
**** 15 in news.lists--read? [ynq]
**** 1 in alt.folklore.computers--read? [ynq]
**** 19 in comp.mail.uucp--read? [ynq]
3152 Re: New newsgroup hierarchy (19) Kenji Rikitake
3153 UUPC problem (25) stevesc@microsoft.U
3154 remote printer with UUPC? (14) Jim Miller
3155 Re: UUPC problem (19) Ken Leonard
3156 Setuid smail2.5? (32) Goran Larsson [Hack
3157 Re: UUPC problem ... and a new (NOT official) (38) ahd@clutx.clarkson.
[7mWhat next? [npq][m
**** 1 in comp.sys.mac.digest--read? [ynq]
draken>exit
exit
script done on Mon Dec 11 08:11:17 1989
================================================================================
Question: how do I trim it down to 80-character effective width?
Here's the actual code from my `.rninit' file pointed to by the
RNINIT variable in my environment (first line, dealing with other
rn-stuff, included for completeness):
-t -h -i=8 +hfrom +Hnewsgroups +hsummary +hlines -T -N
-ESUBJLINE="\
%(%[subject] \
=^\\(..............................................\\)?\
%1:%[subject]) \
%(%(%[lines]=^$?%z: (%[lines]\\))= *\\(.....\\)$\\|\\(.*\\)?%0) \
%(%(%f=(\\(.*[^ ].*\\))$?%1:%f) \
=^\\(...................\\)?%1)"
================================================================================
Thanks in advance!
--Ian Feldman / ianf@nada.kth.se || uunet!nada.kth.se!ianf
/ "Go ahead, make my day, tell me to RTFM"