Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Zsh as Application Platform



On Sun, 30 Sep 2012 00:57:23 -0500
☈king <rkingdesk@xxxxxxxxxxxx> wrote:
> So, can't we use zsh as the front-end for other tools, to much great
> winning profit power?

It's tricky if the object is to build the zsh line editor into other
tools; it's hard to prise it away from the shell.

One thing that is relatively straightforward using the TCP support in
the shell and the TCP function system is to have an existing shell send
and receive commands from a TCP session which could simply be a command
line tool reading from and writing to a socket; you just need a simple
front-end to point the existing application at the socket rather than a
terminal.  I've been using this for many years at work to talk to
otherwise rather limited command line environments.

-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



Messages sorted by: Reverse Date, Date, Thread, Author