patch for correct xferstats
Erik Murrey
erik at mpx2.UUCP
Mon Oct 31 03:22:00 AEST 1988
As distributed with my version of SCO 2.3.1 for 386AT's, the new HDB
uucico records incorrect transfer times in
/usr/spool/uucp/.Admin/xferstats. This is because the version I got
was hard coded for a HZ=20 clockrate machine (i.e. an XT!) Since both
the AT286's and AT386's run at HZ=50, uucico needs to be patched to
record reasonable time in xferstats. (If this has already been
posted, then hit 'n'...)
Also, my version has a symbol table, for other patches (like
windows=7, might as well do that while your in there...)
Run "adb -w" on uucico (in /usr/lib/uucp, you will need to be root)
Here is a script:
----- start of script ----
$ date
Sun Oct 30 09:03:56 PST 1988
$ copy -om uucico uucico~
$ adb -w uucico
* windows/x
_windows: 0x3
* windows/w 7
_windows: 0x3= 0x7
* $x
* millitick+32?ia
_millitick+0x32: mov ax,0x14
_millitick+0x35:
* .?x
_millitick+0x32: 0x14b8
* .?w 32b8
_millitick+0x32: 0x14b8= 0x32b8
* .?ia
_millitick+0x32: mov ax,0x32
_millitick+0x35:
* $q
$
---- end of script ----
If you're wondering, the mov ax,0x14 is setting up a divide by 20 for
HZ=20 machines. The 0x32 changes it to 50 for HZ=50 machines..
The patch to windows is the famous WINDOWS=7 patch that helps over
lines with big delays (eg PC-Pursuit).
--
Erik Murrey
MPX Data Systems, Inc.
erik at mpx2.UUCP
...!{bpa,spl1,cbmvax,vu-vlsi}!mpx1!erik
More information about the Comp.unix.xenix
mailing list