1Here is sort of an edit history for netcat, in forward cron order. 2 3950915 or so 4 basic gethostpoop and doconnect layout established 5950920 or so 6 timeout handlers, improvements to gethostpoop, read-stdin-args, 7 primitive select loop, and later the stdin-to-many saved-count thing 8950923 9 select loop is firm, connect and i/o works nicely 10 added listen mode 11 crocked in UDP and debugged how its back-connect works 12950927 13 unsnarled main a fair amount 14 got "udptest" working right 15 added HELP!! yow. 16951003 17 added exec-a-prog thing 18 cleaned up routine-header comments 19 signal catcher 20 close stdin when we won't need it [-z, etc] 21951004 22 getportpoop 23 inbound options hexdump finally works [forgot to preload "size" int] 24951005 or so 25 added random mode, which necessitated more main() logic cleanups 26951008 27 hammered out exit-status stuff, final main() argv loop cleanup 28 massive readme cleanup pre-1.00 release 29951010 30 almost-1.00 release up for FTP, but not announced yet 31 added a couple of wrapper scripts 32951012 -- 1.00 33 nc100 RELEASE, mailing-list spam, etc etc 34951021 35 doc tweak per cgull 36 webproxy/webrelay scripts came together. fuckin' yow. 37951023 38 added indication of *local* address in dolisten() connect handling 39 reset errno before dolisten msgs -- gethostpoop might have munged it 40951028 -- 1.01 41 fixed exit status if -z on a single port -- was -1, is now 0 or 1 42 like it should be 43951029 44 put "sent/rcvd" typeout more places, still only if -v -v 45 Doc fix: It's *David* Borman, not Paul [aka Mr. Environment 46 Variables, this month...] 47951106 -- 1.02 48 added h_errno strings and updated holler, gethostpoop to find them 49 Still slightly confused if gethostpoop() returns prematurely... 50951107 51 sys/select.h for them what needs it 52 wrote_txt and more calls to print sent/rcvd 53951110 54 try rnd-options, but setsockopt tosses them. Punt... 55 dumped "x.y" microtiming idea; seconds are granular enough for now 56 tweaked help text 57951113 -- 1.03 58 added first-net-read skip to select loop if we have saved stdin, and 59 moved retry-count test ahead of this. Makes multimode work much more 60 sensibly... 61 fleshed out this here edit history 62951204 -- 1.04 63 fixed duplication lameness with printing h_errno stuff 64951215 65 improved data.c; added xfer count and %r 66951217 67 rservice.c, an answer to mudge's k-rad script 68951227 69 port data.c to msloss, it might be useful 70 some doc slogging; particularly the telnet-wrapper idea 71960120 -- 1.05 72 give totals even if we ^C out [that's what sigcatchers are *for*!] 73 cleaned up big LSRR explanation comment 74960131 -- 1.06 75 flushed rndoption stuff 76 report of closing stdin fucking up Solaris. Not tried yet. 77 extra arg to rservice.c 78 documentation updates, added netcat-art and many udder tings 79 added Bela Lubkin's #ifdefs for SIGURG [SCO rel 5] 80 added ignoring SIGPIPE [lesson learned from webs.c] 81960201 82 genned up some more data dumps: pmap-mnt.d, showmount.d, 83 various others; into real tree 84960217 -- 1.07 85 finally fixed stdin-read-args thing to retain and send leftover data 86 added version to help text 87 made ascii-art cuter 88 added "probe" script 89 added Nextstep systype 90 finally fixed data.c to run "forever" 91 created xor.c 92960223 -- 1.08 93 if doconnect skt is 0 grab another one, don't dup(). [stupid solaris..] 94 threw in latest web scripts 95 threw in irc 96 more doc tweaks 97 stuck 1.08 prerelease up for FTP 98960227 99 hexdump in -- it's actually gonna be quite useful! 100 doc adds for hexdump; orig idea from dgaudet@wired 101960229 -- 1.09 102 telnet-opts responder in; left as OPTIONAL chunk since it mucks 103 with the data stream. 104 -e disables -o hexdump; avoid zero-length file turds 105960310 -- 1.09a goddamnit-I'm-gonna-release-REAL-soon 106 made -e work outbound, too 107 random final cleanups and doc updates ... pant pant ... 108960320 -- 1.10 109 RELEASE version tested everywhere I could get to, up for FTP 110