From:	CSBVAX::MRGATE!@KL.SRI.Com,@wiscvm.wisc.edu:SYSMSH@ULKYVX.BITNET@SMTP 25-JUN-1987 06:55
To:	EVERHART
Subj:	decserver200 define patch out

Received: from wiscvm.wisc.edu by KL.SRI.COM with TCP; Wed 24 Jun 87 12:22:25-PDT
Received: from ULKYVX.BITNET by wiscvm.wisc.edu ; Tue, 23 Jun 87 21:00:12 CDT
Date:          Tue, 23 Jun 87 13:37 EDT
From:          <SYSMSH%ULKYVX.BITNET@wiscvm.wisc.edu>
Organization:  University of Louisville
Subject:       decserver200 define patch out
To:            info-vax@sri-kl.arpa
X-Original-To: info-vax@sri-kl.arpa

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
