|
|
1.1 ! root 1: #if defined(RCSIDENT) && defined (MAINLINE) ! 2: static char zznetid[] = "$Header: net.h,v 1.7 85/01/18 15:44:16 notes Rel $"; ! 3: #endif defined(RCSIDENT) && defined(MAINLINE) ! 4: ! 5: /* ! 6: * This file describes the format of the net.how file in the ! 7: * notesfile utility directory. The file is designed to ! 8: * allow the reconfiguration of the network software to follow ! 9: * non-uucp links. The format of a line in the file is: ! 10: * ! 11: * system:direction:protocol number::printf control string ! 12: * ! 13: * the direction field is contains an x or r, for transmit and ! 14: * reply. The transmit field is used for sending notes to the ! 15: * remote site. The reply lines are used for tickling the ! 16: * remote system into sending notes back. ! 17: * The third and fourth fields are reserved for future expansion. ! 18: * The printf control string contains 2 %s arguements. ! 19: * The first one is the name of the notesfile being sent, ! 20: * the second is for the local system name. ! 21: * The receive string is similar. ! 22: * ! 23: * The default control string is: ! 24: * "uux -r -n - tosite!nfrcv %s %s" ! 25: * for transmission, and for replies it is: ! 26: * "uux -z farsite!nfxmit %s -d%s" ! 27: * ! 28: * In the default case, the tosite/farsite names are filled in. ! 29: * ! 30: * the "-r" flag to uux means don't try to start a uucico. ! 31: * ! 32: * A sample of our file: ! 33: * ! 34: * uicsovax:x:::uux - uicsovax\!/mnt/dcs/essick/.commands/nfrcv %s %s ! 35: * uicsovax:r:::uux uicsovax\!/mnt/dcs/essick/.commands/nfxmit %s -d%s ! 36: * ! 37: * Ray Essick Aprli 23, 1982 ! 38: */ ! 39: ! 40: #define NFXMIT "nfxmit" /* path to nf xmit */ ! 41: #define NFRCV "nfrcv" /* path to reciever */ ! 42: ! 43: #define DFLTXMIT "uux -r -n - %s\!%s %s %s < %s" /* default xmit */ ! 44: #define DFLTRPLY "uux -n %s\!%s %s -d%s" /* default reply */ ! 45: ! 46: #define NETHOW "net.how" /* file containing net links */ ! 47: #define ALIASES "net.aliases" /* alias directory */ ! 48: ! 49: /* ! 50: * bits in "sendhim" parameter to nfsend(). ! 51: */ ! 52: #define SENDNEWS 001 /* stuff from news */ ! 53: #define SENDHIS 002 /* stuff he's seen */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.