[comp.os.vms] decserver200 define patch out

SYSMSH@ULKYVX.BITNET (06/23/87)

Some people that I can't 'reply' to asked for this so I am posting it
to the net.

Here is the patch to "sort of" disable the define command in a
DECserver-200.  If you have DS200's connected to a terminal switch
and do not wish users to permanently alter port settings you may
use this patch to do so.  Please note that this patch is not
supported by anybody.  This patch will work with the original
DECserver-200 distribution.  The offset used will certainly change
with a new release, however, the technique will probably work just
as well if you can find the spot.  DEFINE will become an unknown
command, but the DEFYNE command will still work for yourself and
anybody you happen to tell.

$ set default sys$sysroot:[decserver]
$ copy pr0801eng.sys a.a
$ patch /abs a.a
PATCH> set mode ascii
PATCH> set mode byte
PATCH> examine 2233:2238
00002233: 'd'
00002234: 'e'
00002235: 'f'
00002236: 'i'
00002237: 'n'
00002238: 'e'
PATCH> deposit /byte 2236='y'
PATCH> examine 2233:2238
PATCH> update
PATCH> exit
$ rename a.a pr0801eng.sys;2
$ delete a.a;*


If you are a VAXcluster site with PR0801ENG.SYS stored in sys$common
you ought to set default to there instead of sys$sysroot:.  You'll
need to reboot all your decserver200's and check the settings to make
sure that they are all correct.  You shouldn't have to worry about
the settings getting changed again.

Good luck.  I still haven't figured out what to do about LOCK other
than to disable it.  Lets hope that DEC will straighten this stuff
out in the future.

Mark Hittinger/systems programmer iv/ocis south center
University of Louisville, Louisville, Ky 40292
bitnet: sysmsh@ulkyvx
internet: sysmsh%ulkyvx.bitnet@wiscvm.wisc.edu