Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site erix.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!gatech!seismo!mcvax!enea!erix!per From: per@erix.UUCP (Per Hedeland) Newsgroups: net.news Subject: Re: wanted enhancement to vnews programs Message-ID: <1010@erix.UUCP> Date: Fri, 15-Nov-85 10:19:07 EST Article-I.D.: erix.1010 Posted: Fri Nov 15 10:19:07 1985 Date-Received: Thu, 21-Nov-85 07:04:04 EST References: <2431@sunybcs.UUCP> <882@lsuc.UUCP> <2675@brl-tgr.ARPA> <895@lsuc.UUCP> Reply-To: per@erix.UUCP (Per Hedeland) Distribution: net Organization: L M Ericsson, Stockholm, Sweden Lines: 32 In article <895@lsuc.UUCP> msb@lsuc.UUCP (Mark Brader) writes: >Now, what you *can't* do is get *part* of the subject line. *You* can't, >but *I* can, and that's what fooled dave. I made some local modifications >to rn so that I could get field width limits into a %-format, and so that >I could get %f with the real name first and net address second (I called >this %w). My SUBJLINE actually is: "%>-15<15w (%>3[Lines]) %<52[Subject]". *I* certainly can... Granted that I'm not 100% sure about your definition of %w, or the interpretation of your syntax for field widths, if you want: 15 chars (left-justified) of 'fullname
' (or just 'address' if fullname is missing), number of lines right-justified in three positions inside (), and first 52 chars of the full subject line, to appear along with the article number at the '=' command, just put this in your rninit file (I sure don't recommend feeding it to csh :-)): -ESUBJLINE="\ %(%(%f=(\\(..*\\))$?%1 <%t>:%t) =^\\(...............\\)?%1) \ (%( %[lines]=\\(...\\)$?%1)) \ %(%[subject]=^\\(....................................................\\)?\ %1:%[subject])" Although, as you won't see much of
when there is a fullname, you might just as well take out the ' <%t>'. >Oh: %[ takes some time to execute, because the file has to be reread. No argument there... --- Per "rn doesn't need local mods" Hedeland per@erix.UUCP or {mcvax,seismo}!enea!erix!per