jerry@ora.ora.COM (Jerry Peek) (11/19/90)
The MH6.7 folder(1) man page says: "When 'folder' is given the -print switch (the default), the current folder and/or message may be set, or all folders may be listed." I think the way that 'folder -print' works is weird. The -print switch doesn't have much of anything to do with printing. Can you explain why: 1. 'folder' *always* prints information, even if you give -noprint. 2. If you use -noprint and *don't* use -push, -pop, or -list... then 'folder' will set -print for you automatically, overriding -noprint!?! That's thanks to this code in uip/folder.c: if (pushsw == 0 && popsw == 0 && listsw == 0) printsw++; 3. If you use -push or -pop and *don't* use -print, you can't change the current message (as the man page says). But you *can* change the current *folder*, whether you use '-print' or not... and that contradicts the man page. The man page doesn't even explain -noprint, which may be a good thing. :-) Am I missing something obvious here, or what? version: MH 6.7 #1[UCI] (sunspot.acs.syr.edu) of Tue Oct 9 15:15:20 EDT 1990 options: [BIND] [BSD42] [BSD43] [DUMB] [FOLDPROT='"0700"'] [MHRC] [MSGPROT='"0600"'] [RPATHS] [SUN40] [TYPESIG='void'] [ZONEINFO] [SENDMTS] [SMTP] --Jerry Peek, jerry@ora.com