[Zope] a real "zope shell".
Anthony Baxter
anthony@interlink.com.au
Wed, 08 Jan 2003 22:50:38 +1100
There's been various attempts at making "easy access to zope from a unix
shell" over the years, here's another one. I recently noticed that zsh
(www.zsh.org), a ksh/csh/bash replacement, has grown an inbuilt ftp client
(yes, this is a bit nuts) - if you've got zsh installed, man zshzftpsys.
As it is today, it doesn't support ftp servers on non-standard ports, but
this was a 10-minute hack to add it in. Here's a bit of a demo
burswood% autoload -U zfinit ; zfinit
burswood% zfopen devhost1:8021
User: anthony
Password on devhost1:8021:
burswood% zfls
Control_Panel
Examples
MailHost
acl_users
admin_tools
browser_id_manager
burswood% zfcd Control_Panel
devhost1.off.ekorp.com:/Control_Panel
burswood% zfls
..
CallProfiler
Database
DavLocks
DebugInfo
Products
Versions
burswood% zfcd /
devhost1.off.ekorp.com:/
burswood% zfls -l standard*
-rw-rw---- 1 Zope Zope 729 Aug 13 04:25 standard_error_message
-rw-rw---- 1 ottrey Zope 1807 Aug 7 04:57 standard_error_message_body
-rw-rw---- 1 rjones Zope 214 Feb 12 2002 standard_error_message_test
-rw-rw---- 1 ottrey Zope 1013 Nov 22 05:36 standard_error_sendmail
-rw-rw---- 1 Zope Zope 139 Nov 16 1999 standard_html_footer
-rw-rw---- 1 Zope Zope 194 Nov 19 1999 standard_html_header
-rw-rw---- 1 Sysproc Zope 282 Jul 26 04:26 standard_template.pt
All very strange and twisted.
Anthony