shep@datacube.UUCP (06/13/86)
Is there an easy way to change the working set size and expire time of a set of notesfiles? There -must- be an easier way than doing it manually from the directors page. Something like nfaccess but for the expiration times instead? Thanks in advance... Shep Siegel UUCP: [ihnp4 | mirror]!datacube!shep Datacube Inc.; 4 Dearborn Rd.; Peabody, Ma. 01960; 617 535 6644
essick@uiucdcsb.CS.UIUC.EDU (06/18/86)
for those occasions where i had to change parameters on LOTS of notesfiles, i cobbled together a program called "rbefix". rbefix's function varied over time and my needs. the basic documentation was "if you aren't rbe, don't run this program". rbefix worked by opening all the notesfiles specified on the command line (but it do wildcard expansion), and doing "something" to the descriptor for each notesfile. the something varied just about each time i ran the program. i never did put together a nice set of command line options or documentation, but one instance of rbefix made it into the standard notesfile distribution. For those of you that have the entire distribution, look at file notes/utility/fieldzero.c. The makefile in that directory should be happy to make fieldzero for you. YOU WILL WANT TO CHANGE THE CODE IN FIELDZERO. if someone took fieldzero, added option processing so it would set things like expiration times, network status, etc. based on command line options, wrote a man page, and sent it back to me, i would happily put it into my distribution. --ray essick, university of illinois --essick@a.cs.uiuc.edu, uiucdcs!essick
jec@iuvax.UUCP (James Conley) (06/19/86)
Has anyone managed to get notes 1.7 to work on a Sun 2 workstation? If so, please send me a line. Also, we are thinking of switching over to rrn (rn using networking so we don't have to ship news all over our network). Has anyone heard of such a modification to notes? -- III Usenet: {ihnp4,pur-ee,purdue}!iuvax!jec UUU I UUU Phone: (812) 335-9389 U I U U I U U.S. Mail: Indiana University U I U Dept. of Computer Science UUUUUUU 021-C Lindley Hall I Bloomington, IN. 47401 III
doug@xenixsp.UUCP (06/20/86)
>Is there an easy way to change the working set size and expire time of >a set of notesfiles? There -must- be an easier way than doing it >manually from the directors page. Something like nfaccess but >for the expiration times instead? Thanks in advance... Try using nfadmin exerpts from the nfadmin man pages.. nfadmin - Change the status of a set of Notesfiles -a+ Allow anonymous submissions. -a- Disallow anonymous submissions. -n+ Allow network transmissions/receptions. -n- Disallow network transmissions/receptions. -o+ Open the notesfile. Allow local access by non- directors (subject to access permissions). -o- Close the notesfile. Disallow local access by non- directors. -A+ Flag this notesfile as an archive notesfile. (This does NOT mean that the notesfile will be archived. You can't archive an archive!) -A- Flag this notesfile as a non-archive notesfile. This does not affect what happens to notes when they expire. -e=NN Set the expiration time of this notesfile to NN days. (NN should be replaced with a positive number). -e=0 Set the expiration time of this notesfile to DEFAULT. The number specified on the nfarchive command line will be used to determine expiration time. If no time is specified on the nfarchive command line, 14 days is used. -e=-1 Set the expiration time of this notesfile to NEVER. -W=0 Set the working set size of this notesfile to the command line default. -W=NN Set the working set size of this notesfile to NN. -l=NNNNN Set the maximum note size of an individual note in this notesfile to NNNNN. (Warning: negative numbers and numbers under 1000 are a very bad idea here). -E=default Set the expiration action of this notesfile to the command line default. -E=delete Set the expiration action of this notesfile to DELETE. -E=archive Set the expiration action of this notesfile to ARCHIVE -D=default Set the director message status of this notesfile to the command line default. -D=on Set the director message status of this notesfile to ON; only notes with the director message ON will be removed by nfarchive. -D=off Set the director message status of this notesfile to OFF; only notes with the director message OFF will be removed by nfarchive. -D=nocare Set the director message status of this notesfile to NOCARE; the director message flag is not used by nfarchive in selecting notes for archive/deletion. -f file The file specified in the argument following the -f flag contains a series of lines, each specifying a notesfile or group of notesfiles (wildcard) to be displayed or changed. If no flags are specified (except possibly -f), no changes are made, but the current state of the notesfiles is displayed. If flag(s) are specified, the new state after the changes is displayed, in the following format: notesfile title NetW Open Anon Arch WSet Arch. Keep DirM # Max -------status------ Size Time Actn Stat Notes Size net.bugs.2bsd : YES YES NO NO 0 12 ARCH DFLT 3 500000 net.bugs.4bsd : YES YES NO NO 2 12 ARCH DFLT 26 500000 net.bugs.usg : YES YES NO NO 0 12 ARCH DFLT 8 500000 net.bugs.uucp : YES YES NO NO 0 12 ARCH DFLT 9 500000 net.bugs.v7 : YES YES NO NO 2 12 ARCH DFLT 1 500000 nfmaint : YES YES NO NO 0 NEVER DEL DFLT 3 500000 nfgripes : YES YES NO NO 0 14 DEL DFLT 0 500000 net.micro.6809: NO YES NO NO 0 1 DEL DFLT 0 500000 net.announce : YES YES NO NO 0 DFLT ARCH DFLT 0 500000 (The output has been squished slightly to allow it to fit in the manual page format). All users are allowed to run this program. The changes are only applied to notesfiles for which the executing user is a director. This program lives in the notesfile utility directory, typically ``/usr/spool/notes/.utilities''. #include <standard disclamer> \ T / \ T / / C \ xenixsp!doug / C \ ------------------------ USnail: 400 Atrium ihnp4!\-sys1-\ One Tandy Center trsvax!techsup!xenixsp!doug Fort Worth, Tx, 76102. hub!---------/ MAbell: (817)-390-3011 x4110 soma!-------/ rscus1!----/
wunder@hpcea.HP (Walter R. Underwood) (06/24/86)
I've never seen a copy of nfadmin, and it is obvious that Ray Essick hasn't, either. Could you send me a copy? I'd appreciate it a lot, since I take care of source for 300 Notes sites inside HP. I've been putting off writing something like nfadmin for several months. Walter Underwood wunder@hplabs.HP.COM hplabs!wunder