home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / mail / mh / 1553 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.5 KB  |  38 lines

  1. Newsgroups: comp.mail.mh
  2. Path: sparky!uunet!ukma!bogus.sura.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!malgudi.oar.net!kannan
  3. From: kannan@oar.net (Kannan Varadhan)
  4. Subject: Re: 2 questions on mh-format and scan
  5. Message-ID: <1993Jan28.044207.11702@oar.net>
  6. Organization: Ohio Supercomputer Center & OARNet, Columbus, OH
  7. References: <1993Jan26.051147.1255@oar.net>
  8. Date: Thu, 28 Jan 1993 04:42:07 GMT
  9. Lines: 27
  10.  
  11. Thus spake kannan@oar.net (Kannan Varadhan)
  12. >Question 1:  According to the manual, %{folder} is a valid component
  13. >for scan listings, which gives me to understand that I should see some
  14. >output for the following command:
  15.  
  16. After poring over the sources, I found out that scan.c, when calling
  17. scan() will only pass the folder name, and hence set the %{folder}
  18. component, if -header is specified.  The fix is to remove the check for
  19. the hdrflag variable, both when scan'ing a packf'd file, and when given
  20. a normal folder.
  21.  
  22. If the diffs are interesting, I can post them here.
  23.  
  24. >Question 2:  I am trying to coax a numeric argument to be left
  25. >justified, but to no avail.
  26.  
  27. Someone pointed out that this was the default for printing out numeric
  28. arguments, when I realised I had specified the question incompletely.  I
  29. want to be able to left justify it in a fixed width field.  This
  30. person's response was to use it as %04(num), but the leading zeroes are
  31. yukky, even as a kluge.
  32.  
  33.  
  34. Kannan
  35. -- 
  36. Kannan Varadhan,        1224, Kinnear Road,    +1 614 292 4137
  37. Internet Engineer (OARnet)    Columbus, OH 43212    +1 614 292 7168 (FAX)
  38.