Hi, I'm pleased to announce the long awaited new version of ZShell, the Zope Shell. ZShell is an external Zope method which allows you to manipulate the ZODB using standard unix shell's commands from within Zope's Management Interface in your web browser. ZShell is the swiss army's knife of the Zope admin, but care should be taken when giving access to ZShell to mere mortals... ZShell is distributed under the terms of the GNU General Public License, with no special restrictions since the ZPL was certified as GPL compatible by the Free Software Foundation. New features are : * Commands tid, dbconn, davlocks, printenv, setenv, unsetenv, echo were added. * Preliminary support for variables assignments works fine : you now have access to every variable from Zope's environment, plus every variable from the REQUEST object (as their string representations), either for reading, setting or using them. The syntax is the *nix shell $ one, here's an example of what you can do know : exec ls -la $INSTANCE_HOME/* another one : setenv --zope ZDAEMON_MANAGE=FALSE Needless to say that you use this feature at your own risk ! ZShell version 1.4 now has a new home at : http://www.librelogiciel.com/software/ and a restricted demo can be tested online at : http://www.librelogiciel.com/software/ZShell/rsh Please be kind with this demo, any abuse will be severely punished ;-) (Now it's time for me to do a backup, I suppose) Any comment or help will be very welcome. Thank you for reading. Jerome Alet
Jerome: Sweet! I was missing a nice CLI in Zope. Now a couple of points: 1) Can the shell be enabled to obey a 'Return' as enter instead of using the mouse and click on 'Run'. That would be great, but don't know if it's possible. Then again, I have not installed it, only used the demo. 2) Don't know if it matters at all...but there was another Z Shell developed by IBM: http://service2.boulder.ibm.com/devcon/devcon/docs/zshellwp.htm Theirs is a shell for Unix, but it's named Z Shell too. Again, not that it matters to me at all, but I thought I would bring it up. Congrats for such a nice product! Jorge M. Jerome Alet wrote:
Hi,
I'm pleased to announce the long awaited new version of ZShell, the Zope Shell.
ZShell is an external Zope method which allows you to manipulate the ZODB using standard unix shell's commands from within Zope's Management Interface in your web browser.
ZShell is the swiss army's knife of the Zope admin, but care should be taken when giving access to ZShell to mere mortals...
ZShell is distributed under the terms of the GNU General Public License, with no special restrictions since the ZPL was certified as GPL compatible by the Free Software Foundation.
New features are :
* Commands tid, dbconn, davlocks, printenv, setenv, unsetenv, echo were added.
* Preliminary support for variables assignments works fine : you now have access to every variable from Zope's environment, plus every variable from the REQUEST object (as their string representations), either for reading, setting or using them. The syntax is the *nix shell $ one, here's an example of what you can do know :
exec ls -la $INSTANCE_HOME/*
another one :
setenv --zope ZDAEMON_MANAGE=FALSE
Needless to say that you use this feature at your own risk !
ZShell version 1.4 now has a new home at :
http://www.librelogiciel.com/software/
and a restricted demo can be tested online at :
http://www.librelogiciel.com/software/ZShell/rsh
Please be kind with this demo, any abuse will be severely punished ;-)
(Now it's time for me to do a backup, I suppose)
Any comment or help will be very welcome.
Thank you for reading.
Jerome Alet
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Jorge O. Martinez MIS Senior Associate eMediaMillWorks 1100 Mercantile Lane, Suite 119 Largo, MD 20774 E-mail => jmartinez@eMediaMillWorks.com Phone => (301)883-2482 ext. 105 Fax => (301)883-9754
On Fri, 26 Apr 2002, Jorge O. Martinez wrote:
1) Can the shell be enabled to obey a 'Return' as enter instead of using the mouse and click on 'Run'. That would be great, but don't know if it's possible. Then again, I have not installed it, only used the demo.
The problem is : the text area allows you to enter as many commands as you want, which will be run in the same Zope transaction. So how could I decide that if you press Enter you don't want to add a command to your script but you want to finish it ? Any idea is welcome.
2) Don't know if it matters at all...but there was another Z Shell developed by IBM:
There's apparently another one made by Texas Instruments for their pocket calculators. Really I don't care much, all I ask is that they (IBM and Texas) don't care too much ;-) Thanks for your support. Jerome Alet
On Fri, Apr 26, 2002 at 11:49:14PM +0200, Jerome Alet wrote: | On Fri, 26 Apr 2002, Jorge O. Martinez wrote: | > 2) Don't know if it matters at all...but there was another Z Shell | > developed by IBM: | | There's apparently another one made by Texas Instruments for their pocket | calculators. I don't think TI made it. Some clever people who noticed a hole in the TI-85 OS wrote it to support games, etc, written in ASM. As of the TI-86 TI supports ASM programs in addition to BASIC programs. (Have you ever seen Mario or Zelda running on a TI-89? I have :-)) -D -- "He is no fool who gives up what he cannot keep to gain what he cannot lose." --Jim Elliot GnuPG key : http://dman.ddts.net/~dman/public_key.gpg
Jerome Alet <alet@unice.fr> writes:
The problem is : the text area allows you to enter as many commands as you want, which will be run in the same Zope transaction. So how could I decide that if you press Enter you don't want to add a command to your script but you want to finish it ?
The hack I did last time was to reduce the form to a single-line text input and separate multiple commands with ; . Looking forward to checking out the new version.. -Simon
On Sat, 27 Apr 2002, Simon Michael wrote:
Jerome Alet <alet@unice.fr> writes:
The problem is : the text area allows you to enter as many commands as you want, which will be run in the same Zope transaction. So how could I decide that if you press Enter you don't want to add a command to your script but you want to finish it ?
The hack I did last time was to reduce the form to a single-line text input and separate multiple commands with ; .
Please could you send it again to me ? It seems I've lost some contributions here... Sorry. Jerome Alet
Sorry Jerome, I don't have it any longer. It was a straightforward hack though. -Simon
participants (4)
-
dman -
Jerome Alet -
Jorge O. Martinez -
Simon Michael