Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!nuchat!steve From: steve@nuchat.UUCP (Steve Nuchia) Newsgroups: comp.unix.xenix,news.sysadmin Subject: Patching uucico to WINDOWS 7 on Microport 2.2 Message-ID: <336@nuchat.UUCP> Date: Mon, 28-Sep-87 03:24:52 EDT Article-I.D.: nuchat.336 Posted: Mon Sep 28 03:24:52 1987 Date-Received: Tue, 29-Sep-87 02:03:22 EDT Organization: Public Access - Houston, Tx Lines: 66 Keywords: no adb, no dos, works Xref: mnetor comp.unix.xenix:850 news.sysadmin:371 A while back an article was posted recomending a patch for binary Microport uucico's, increasing the 'g' protocol window size from 3 to 7. The procedure recommended was tortuous, involving copying poor old uucico to a dos floppy and using a dos disk scribbler on it. Since I'm not talking to uunet over a tymnet link I thought I'd give the patch a try. Preliminary results are that it increases the effective throughput to nearly the local call level for 2400 bps modem, up from about half that. I wasn't about to boot dos just to make this patch, so I whipped up a pair of quicky programs that do the job. They aren't very pretty, but they do work, the patch works, and its free anyway. :-) Many thanks to Karl Denninger (karl@ddsw1.UUCP) for the critical information on the patch - I'll forward a copy of his posting to anyone who really wants it. Please make a copy of uucico first! steve ---------------- /* * grope.c - find lseek address of key byte string * run it as a.out < uucico */ #include main() { long i=0, p=0; int ch; static int sstr[] = { 0xC6, 0x44, 0x27, 0x03, 0xB0, 0x03 }; while ( (ch = getchar()) != EOF ) { ch &= 0xff; if ( ch == sstr[p] ) p++; else if ( ch == sstr[p = 0] ) p++; i++; if ( p == 6 ) { printf ( "%ld\n", i - 6 ); p = 0; } } } ---------------- /* * muck.c - overlay the key string once its found * the long constant is the number output by grope. * run it s a.out >> uucico */ char str[] = { 0xC6, 0x44, 0x27, 0x07, 0xB0, 0x07 }; main() { lseek ( 1, 28465L, 0 ); write ( 1, str, 6 ); } ------------- -- Steve Nuchia Of course I'm respectable! I'm old! {soma,academ}!uhnix1 Politicians, ugly buildings, and whores !nuchat!steve all get respectable if they last long enough. (713) 334 6720 - John Huston, Chinatown