Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199508.adf » !Internet » StarterPak/!Newsbase/Transports/uucp/sendnews
StarterPak/!Newsbase/Transports/uucp/sendnews
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 » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199508.adf » !Internet |
Filename: | StarterPak/!Newsbase/Transports/uucp/sendnews |
Read OK: | ✔ |
File size: | 029D bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
| the alias$temp hack may look quite strange - but at least it works if "%0"<>"-f" then error strange sendnews call format "sendnews %*0" wimpslot -min 500k set alias$temp uux -r - <UUCP_newsserver>!rnews < %1 remove <Wimp$ScrapDir>.SNoutnews perl -e "print STDOUT \"#! cunbatch\n\";" > <Wimp$ScrapDir>.SNoutnews set alias$temp1 compress < %1 >> <Wimp$ScrapDir>.SNoutnews temp1 if <Sys$ReturnCode>=0 then set alias$temp uux -r - <UUCP_newsserver>!rnews < <Wimp$ScrapDir>.SNoutnews unset alias$temp1 temp unset alias$temp remove <Wimp$ScrapDir>.SNoutnews set NewsBase$Returncode <Sys$Returncode> if <NewsBase$Returncode><>0 then set NewsBase$ReturnInfo send news failed
00000000 7c 20 74 68 65 20 61 6c 69 61 73 24 74 65 6d 70 || the alias$temp| 00000010 20 68 61 63 6b 20 6d 61 79 20 6c 6f 6f 6b 20 71 | hack may look q| 00000020 75 69 74 65 20 73 74 72 61 6e 67 65 20 2d 20 62 |uite strange - b| 00000030 75 74 20 61 74 20 6c 65 61 73 74 20 69 74 20 77 |ut at least it w| 00000040 6f 72 6b 73 0a 69 66 20 22 25 30 22 3c 3e 22 2d |orks.if "%0"<>"-| 00000050 66 22 20 74 68 65 6e 20 65 72 72 6f 72 20 73 74 |f" then error st| 00000060 72 61 6e 67 65 20 73 65 6e 64 6e 65 77 73 20 63 |range sendnews c| 00000070 61 6c 6c 20 66 6f 72 6d 61 74 20 22 73 65 6e 64 |all format "send| 00000080 6e 65 77 73 20 25 2a 30 22 0a 77 69 6d 70 73 6c |news %*0".wimpsl| 00000090 6f 74 20 2d 6d 69 6e 20 35 30 30 6b 0a 73 65 74 |ot -min 500k.set| 000000a0 20 61 6c 69 61 73 24 74 65 6d 70 20 75 75 78 20 | alias$temp uux | 000000b0 2d 72 20 2d 20 3c 55 55 43 50 5f 6e 65 77 73 73 |-r - <UUCP_newss| 000000c0 65 72 76 65 72 3e 21 72 6e 65 77 73 20 3c 20 25 |erver>!rnews < %| 000000d0 31 0a 72 65 6d 6f 76 65 20 3c 57 69 6d 70 24 53 |1.remove <Wimp$S| 000000e0 63 72 61 70 44 69 72 3e 2e 53 4e 6f 75 74 6e 65 |crapDir>.SNoutne| 000000f0 77 73 0a 70 65 72 6c 20 2d 65 20 22 70 72 69 6e |ws.perl -e "prin| 00000100 74 20 53 54 44 4f 55 54 20 5c 22 23 21 20 63 75 |t STDOUT \"#! cu| 00000110 6e 62 61 74 63 68 5c 6e 5c 22 3b 22 20 3e 20 3c |nbatch\n\";" > <| 00000120 57 69 6d 70 24 53 63 72 61 70 44 69 72 3e 2e 53 |Wimp$ScrapDir>.S| 00000130 4e 6f 75 74 6e 65 77 73 0a 73 65 74 20 61 6c 69 |Noutnews.set ali| 00000140 61 73 24 74 65 6d 70 31 20 63 6f 6d 70 72 65 73 |as$temp1 compres| 00000150 73 20 3c 20 25 31 20 3e 3e 20 3c 57 69 6d 70 24 |s < %1 >> <Wimp$| 00000160 53 63 72 61 70 44 69 72 3e 2e 53 4e 6f 75 74 6e |ScrapDir>.SNoutn| 00000170 65 77 73 0a 74 65 6d 70 31 0a 69 66 20 3c 53 79 |ews.temp1.if <Sy| 00000180 73 24 52 65 74 75 72 6e 43 6f 64 65 3e 3d 30 20 |s$ReturnCode>=0 | 00000190 74 68 65 6e 20 73 65 74 20 61 6c 69 61 73 24 74 |then set alias$t| 000001a0 65 6d 70 20 75 75 78 20 2d 72 20 2d 20 3c 55 55 |emp uux -r - <UU| 000001b0 43 50 5f 6e 65 77 73 73 65 72 76 65 72 3e 21 72 |CP_newsserver>!r| 000001c0 6e 65 77 73 20 3c 20 3c 57 69 6d 70 24 53 63 72 |news < <Wimp$Scr| 000001d0 61 70 44 69 72 3e 2e 53 4e 6f 75 74 6e 65 77 73 |apDir>.SNoutnews| 000001e0 0a 75 6e 73 65 74 20 61 6c 69 61 73 24 74 65 6d |.unset alias$tem| 000001f0 70 31 0a 74 65 6d 70 0a 75 6e 73 65 74 20 61 6c |p1.temp.unset al| 00000200 69 61 73 24 74 65 6d 70 0a 72 65 6d 6f 76 65 20 |ias$temp.remove | 00000210 3c 57 69 6d 70 24 53 63 72 61 70 44 69 72 3e 2e |<Wimp$ScrapDir>.| 00000220 53 4e 6f 75 74 6e 65 77 73 0a 73 65 74 20 4e 65 |SNoutnews.set Ne| 00000230 77 73 42 61 73 65 24 52 65 74 75 72 6e 63 6f 64 |wsBase$Returncod| 00000240 65 20 3c 53 79 73 24 52 65 74 75 72 6e 63 6f 64 |e <Sys$Returncod| 00000250 65 3e 0a 69 66 20 3c 4e 65 77 73 42 61 73 65 24 |e>.if <NewsBase$| 00000260 52 65 74 75 72 6e 63 6f 64 65 3e 3c 3e 30 20 74 |Returncode><>0 t| 00000270 68 65 6e 20 73 65 74 20 4e 65 77 73 42 61 73 65 |hen set NewsBase| 00000280 24 52 65 74 75 72 6e 49 6e 66 6f 20 73 65 6e 64 |$ReturnInfo send| 00000290 20 6e 65 77 73 20 66 61 69 6c 65 64 0a | news failed.| 0000029d