Home » Archimedes archive » Acorn User » AU 1995-07.adf » !Internet_StarterPak » !Newsbase/Support/taylor/csrc/h/config
!Newsbase/Support/taylor/csrc/h/config
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Acorn User » AU 1995-07.adf » !Internet_StarterPak |
Filename: | !Newsbase/Support/taylor/csrc/h/config |
Read OK: | ✔ |
File size: | 040A bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
/* config.h - compile time configuration data for lmail and lnews * * Author: Gunnar Z�tl * Date: 15-Sep-1994 * Last Modified: 15-Sep-1994 */ /* where to find the passwdfile, un*x notation */ #define PASSWD "/etc/passwd" /* the name of the users forward file */ #define FWDFILE "!forward" /* the path delimiter */ #define DELIM "." /* the systems postmaster */ #define POSTMASTER "postmaster" /* where to put temp. files */ #define SCRAPDIR "Wimp$ScrapDir" /* where to put the mail folders */ #define MAILDEST "Uucp$MailDir" /* where to put unbatched news */ #define NEWSDEST "Uucp$NewsDir" /* the program to send mail, usage must be "SENDMAIL recipient < mail" */ #define SENDMAIL "rmail" /* Mail delimiter string within Mailfolders */ #define MAILDELIM "\001\n" /* length of universal buffer */ #define BUFLEN 4096 /* length of a "small" buffer to hold filenames and such */ #define SBUFLEN 256 /* rnews header */ #define RNEWSHDR "#! rnews " /* newsbatch header prefix */ #define HDRPREFIX "#! "
00000000 2f 2a 20 63 6f 6e 66 69 67 2e 68 20 2d 20 63 6f |/* config.h - co| 00000010 6d 70 69 6c 65 20 74 69 6d 65 20 63 6f 6e 66 69 |mpile time confi| 00000020 67 75 72 61 74 69 6f 6e 20 64 61 74 61 20 66 6f |guration data fo| 00000030 72 20 6c 6d 61 69 6c 20 61 6e 64 20 6c 6e 65 77 |r lmail and lnew| 00000040 73 0a 20 2a 0a 20 2a 20 41 75 74 68 6f 72 3a 20 |s. *. * Author: | 00000050 20 09 20 20 20 20 47 75 6e 6e 61 72 20 5a f6 74 | . Gunnar Z.t| 00000060 6c 0a 20 2a 20 44 61 74 65 3a 20 20 20 20 09 20 |l. * Date: . | 00000070 20 20 20 31 35 2d 53 65 70 2d 31 39 39 34 0a 20 | 15-Sep-1994. | 00000080 2a 20 4c 61 73 74 20 4d 6f 64 69 66 69 65 64 3a |* Last Modified:| 00000090 20 20 20 31 35 2d 53 65 70 2d 31 39 39 34 0a 20 | 15-Sep-1994. | 000000a0 2a 2f 0a 0a 2f 2a 20 77 68 65 72 65 20 74 6f 20 |*/../* where to | 000000b0 66 69 6e 64 20 74 68 65 20 70 61 73 73 77 64 66 |find the passwdf| 000000c0 69 6c 65 2c 20 75 6e 2a 78 20 6e 6f 74 61 74 69 |ile, un*x notati| 000000d0 6f 6e 0a 20 2a 2f 0a 23 64 65 66 69 6e 65 20 50 |on. */.#define P| 000000e0 41 53 53 57 44 20 22 2f 65 74 63 2f 70 61 73 73 |ASSWD "/etc/pass| 000000f0 77 64 22 0a 2f 2a 20 74 68 65 20 6e 61 6d 65 20 |wd"./* the name | 00000100 6f 66 20 74 68 65 20 75 73 65 72 73 20 66 6f 72 |of the users for| 00000110 77 61 72 64 20 66 69 6c 65 0a 20 2a 2f 0a 23 64 |ward file. */.#d| 00000120 65 66 69 6e 65 20 46 57 44 46 49 4c 45 20 22 21 |efine FWDFILE "!| 00000130 66 6f 72 77 61 72 64 22 0a 2f 2a 20 74 68 65 20 |forward"./* the | 00000140 70 61 74 68 20 64 65 6c 69 6d 69 74 65 72 0a 20 |path delimiter. | 00000150 2a 2f 0a 23 64 65 66 69 6e 65 20 44 45 4c 49 4d |*/.#define DELIM| 00000160 20 22 2e 22 0a 2f 2a 20 74 68 65 20 73 79 73 74 | "."./* the syst| 00000170 65 6d 73 20 70 6f 73 74 6d 61 73 74 65 72 0a 20 |ems postmaster. | 00000180 2a 2f 0a 23 64 65 66 69 6e 65 20 50 4f 53 54 4d |*/.#define POSTM| 00000190 41 53 54 45 52 20 22 70 6f 73 74 6d 61 73 74 65 |ASTER "postmaste| 000001a0 72 22 0a 2f 2a 20 77 68 65 72 65 20 74 6f 20 70 |r"./* where to p| 000001b0 75 74 20 74 65 6d 70 2e 20 66 69 6c 65 73 0a 20 |ut temp. files. | 000001c0 2a 2f 0a 23 64 65 66 69 6e 65 20 53 43 52 41 50 |*/.#define SCRAP| 000001d0 44 49 52 20 22 57 69 6d 70 24 53 63 72 61 70 44 |DIR "Wimp$ScrapD| 000001e0 69 72 22 0a 2f 2a 20 77 68 65 72 65 20 74 6f 20 |ir"./* where to | 000001f0 70 75 74 20 74 68 65 20 6d 61 69 6c 20 66 6f 6c |put the mail fol| 00000200 64 65 72 73 0a 20 2a 2f 0a 23 64 65 66 69 6e 65 |ders. */.#define| 00000210 20 4d 41 49 4c 44 45 53 54 20 22 55 75 63 70 24 | MAILDEST "Uucp$| 00000220 4d 61 69 6c 44 69 72 22 0a 2f 2a 20 77 68 65 72 |MailDir"./* wher| 00000230 65 20 74 6f 20 70 75 74 20 75 6e 62 61 74 63 68 |e to put unbatch| 00000240 65 64 20 6e 65 77 73 0a 20 2a 2f 0a 23 64 65 66 |ed news. */.#def| 00000250 69 6e 65 20 4e 45 57 53 44 45 53 54 20 22 55 75 |ine NEWSDEST "Uu| 00000260 63 70 24 4e 65 77 73 44 69 72 22 0a 2f 2a 20 74 |cp$NewsDir"./* t| 00000270 68 65 20 70 72 6f 67 72 61 6d 20 74 6f 20 73 65 |he program to se| 00000280 6e 64 20 6d 61 69 6c 2c 20 75 73 61 67 65 20 6d |nd mail, usage m| 00000290 75 73 74 20 62 65 20 22 53 45 4e 44 4d 41 49 4c |ust be "SENDMAIL| 000002a0 20 72 65 63 69 70 69 65 6e 74 20 3c 20 6d 61 69 | recipient < mai| 000002b0 6c 22 0a 20 2a 2f 0a 23 64 65 66 69 6e 65 20 53 |l". */.#define S| 000002c0 45 4e 44 4d 41 49 4c 20 22 72 6d 61 69 6c 22 0a |ENDMAIL "rmail".| 000002d0 2f 2a 20 4d 61 69 6c 20 64 65 6c 69 6d 69 74 65 |/* Mail delimite| 000002e0 72 20 73 74 72 69 6e 67 20 77 69 74 68 69 6e 20 |r string within | 000002f0 4d 61 69 6c 66 6f 6c 64 65 72 73 0a 20 2a 2f 0a |Mailfolders. */.| 00000300 23 64 65 66 69 6e 65 20 4d 41 49 4c 44 45 4c 49 |#define MAILDELI| 00000310 4d 20 22 5c 30 30 31 5c 6e 22 0a 2f 2a 20 6c 65 |M "\001\n"./* le| 00000320 6e 67 74 68 20 6f 66 20 75 6e 69 76 65 72 73 61 |ngth of universa| 00000330 6c 20 62 75 66 66 65 72 0a 20 2a 2f 0a 23 64 65 |l buffer. */.#de| 00000340 66 69 6e 65 20 42 55 46 4c 45 4e 20 34 30 39 36 |fine BUFLEN 4096| 00000350 0a 2f 2a 20 6c 65 6e 67 74 68 20 6f 66 20 61 20 |./* length of a | 00000360 22 73 6d 61 6c 6c 22 20 62 75 66 66 65 72 20 74 |"small" buffer t| 00000370 6f 20 68 6f 6c 64 20 66 69 6c 65 6e 61 6d 65 73 |o hold filenames| 00000380 20 61 6e 64 20 73 75 63 68 0a 20 2a 2f 0a 23 64 | and such. */.#d| 00000390 65 66 69 6e 65 20 53 42 55 46 4c 45 4e 20 32 35 |efine SBUFLEN 25| 000003a0 36 0a 2f 2a 20 72 6e 65 77 73 20 68 65 61 64 65 |6./* rnews heade| 000003b0 72 0a 20 2a 2f 0a 23 64 65 66 69 6e 65 20 52 4e |r. */.#define RN| 000003c0 45 57 53 48 44 52 20 22 23 21 20 72 6e 65 77 73 |EWSHDR "#! rnews| 000003d0 20 22 0a 2f 2a 20 6e 65 77 73 62 61 74 63 68 20 | "./* newsbatch | 000003e0 68 65 61 64 65 72 20 70 72 65 66 69 78 0a 20 2a |header prefix. *| 000003f0 2f 0a 23 64 65 66 69 6e 65 20 48 44 52 50 52 45 |/.#define HDRPRE| 00000400 46 49 58 20 22 23 21 20 22 0a |FIX "#! ".| 0000040a