[Zope] [PATCH] to Zope's Management Interface
Jerome Alet
alet@unice.fr
Mon, 29 Apr 2002 13:21:05 +0200 (MET DST)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--889292347-1240285252-1020079265=:27253
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi
the attached patch to apply to zope/lib/python/OFS/dtml/main.dtml allows
people who want to use ZShell to type ZShell commands directly from the
Zope's Management Interface. It should be transparent for people who don't
want to use ZShell at all.
to use this patch, you have to :
- download ZShell v1.42 from :
http://www.librelogiciel.com/software/
This is mandatory to stay in the ZMI when running commands, otherwise,
with older ZShell versions you'll enter ZShell user interface after
entering a command.
- extract it in your home directory
- cd to the Zope's home, e.g. /usr/lib/zope
- type the following command (as root) :
patch -p0 <~myusername/zshell-1.42/main.dtml.patch
- restart Zope
Enjoy !!! (At least you should)
This was tested against Zope 2.5.0-4 (Debian package) but applying the
patch manually to other versions if needed is very easy.
As always any comment is very welcome.
PS : This procedure and the patch are now included in the ZShell 1.42
package.
Jerome Alet
--889292347-1240285252-1020079265=:27253
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="main.dtml.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.96.1020429132105.27253B@cortex.unice.fr>
Content-Description: patch to zope/lib/python/OFS/dtml/main.dtml
LS0tIGxpYi9weXRob24vT0ZTL2R0bWwvbWFpbi5kdG1sLm9yaWcJTW9uIEFw
ciAyOSAxMjoxODoxMiAyMDAyDQorKysgbGliL3B5dGhvbi9PRlMvZHRtbC9t
YWluLmR0bWwJTW9uIEFwciAyOSAxMjozODozNCAyMDAyDQpAQCAtNjAsNiAr
NjAsMTUgQEANCiAgIDwvdGFibGU+DQogPC9kdG1sLWlmPg0KIA0KKzxkdG1s
LWlmICJfLmhhc2F0dHIodGhpcygpLCAnenNoZWxsJykiPg0KKyAgPGZvcm0g
YWN0aW9uPSJ6c2hlbGwiIG1ldGhvZD0iR0VUIj4NCisgICAgPGlucHV0IHR5
cGU9InRleHQiIG5hbWU9InpzaGVsbHNjcmlwdDpzdHJpbmciIHdpZHRoPSI2
MCIgLz4NCisgICAgPGlucHV0IHR5cGU9ImhpZGRlbiIgbmFtZT0ienNoZWxs
cmVkaXJlY3Q6c3RyaW5nIiB2YWx1ZT0iJmR0bWwtVVJMMDsiIC8+DQorICAg
ICZuYnNwOw0KKyAgICA8aW5wdXQgdHlwZT0ic3VibWl0IiBuYW1lPSJ6c2hl
bGxidXR0b24iIHZhbHVlPSJaU2hlbGwhIiAvPg0KKyAgPC9mb3JtPg0KKzwv
ZHRtbC1pZj4NCisNCiA8Zm9ybSBhY3Rpb249IiZkdG1sLVVSTDE7LyIgbmFt
ZT0ib2JqZWN0SXRlbXMiIG1ldGhvZD0icG9zdCI+DQogPGR0bWwtaWYgb2Jq
ZWN0SXRlbXM+DQogPHRhYmxlIHdpZHRoPSIxMDAlIiBjZWxsc3BhY2luZz0i
MCIgY2VsbHBhZGRpbmc9IjIiIGJvcmRlcj0iMCI+DQo=
--889292347-1240285252-1020079265=:27253--