🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mh
Article #1371

2 questions on mh-format and scan

#1371
From: Kannan Varadhan
Date: Tue, 26 Jan 1993 05:11
29 lines
1417 bytes
I am using mh 6.8, with the following setup:

version: MH 6.8 #3[UCI]  (valhalla) of Mon Jan 25 10:25:46 EST 1993
options: [ATTVIBUG] [BIND] [BSD42] [BSD43] [DBMPWD] [DUMB]
         [FOLDPROT='"0700"'] [LOCKF] [MHE] [MHRC] [MIME] [MSGID]
         [MSGPROT='"0600"'] [RENAME] [RPATHS] [SENDMTS] [SMTP] [SUN40]
         [TYPESIG=void] [VSPRINTF] [ZONEINFO]
	
Question 1:  According to the manual, %{folder} is a valid component
for scan listings, which gives me to understand that I should see some
output for the following command:

	% scan -format "%{folder}" +inbox last

but all I get is a single blank line.  Where am I going wrong?

Question 2:  I am trying to coax a numeric argument to be left
justified, but to no avail.  For instance, I want to output "+inbox/41"
for the 41st message in +inbox, and "+inbox/141" for the 141th with just
one mh-format.  Is this possible?  (easily? :-)

Thanks for any help at all,


Kannan
-- 
Kannan Varadhan,		1224, Kinnear Road,	+1 614 292 4137
Internet Engineer (OARnet)	Columbus, OH 43212	+1 614 292 7168 (FAX)
Technical Details
Message-ID: <1993Jan26.051147.1255@oar.net>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!malgudi.oar.net!kannan

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.mh
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!malgudi.oar.net!kannan
From: kannan@oar.net (Kannan Varadhan)
Subject: 2 questions on mh-format and scan
Message-ID: <1993Jan26.051147.1255@oar.net>
Organization: OARnet, Columbus, OH.
Date: Tue, 26 Jan 1993 05:11:47 GMT
Lines: 29