zsh-users
 help / color / mirror / code / Atom feed
* Zsh for client programming
@ 2005-09-21  2:19 Tyler Spivey
  2005-09-21  3:08 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Tyler Spivey @ 2005-09-21  2:19 UTC (permalink / raw)
  To: zsh-users

Ok. Wacky idea here. I'm interested in mudding, but don't like the mud
clients that are available. I think a shell script would work, if I
could get zsh to do the following:
1. read output from the server and print it, while reading input from me
and sending it out. That's the most important.
2. be able to use readline while reading input. Has a zsh module been
developped for readline? Can this be done?
Thanks,
Tyler


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Zsh for client programming
  2005-09-21  2:19 Zsh for client programming Tyler Spivey
@ 2005-09-21  3:08 ` Bart Schaefer
  2005-09-21 10:13   ` Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2005-09-21  3:08 UTC (permalink / raw)
  To: zsh-users

On Sep 20,  7:19pm, Tyler Spivey wrote:
}
} 1. read output from the server and print it, while reading input from me
} and sending it out. That's the most important.

See the zftp functions and the zsh/net/tcp module.

} 2. be able to use readline while reading input. Has a zsh module been
} developped for readline?

No, a module for readline has not been developed, because ZLE has been
lots better.  (Recent versions of readline may be catching up.)  You
can use the "vared" command to access ZLE from a script, or you could
just run the mud client as function calls from the normal shell prompt.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Zsh for client programming
  2005-09-21  3:08 ` Bart Schaefer
@ 2005-09-21 10:13   ` Peter Stephenson
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Stephenson @ 2005-09-21 10:13 UTC (permalink / raw)
  To: zsh-users

Bart Schaefer <schaefer@brasslantern.com> wrote:
> On Sep 20,  7:19pm, Tyler Spivey wrote:
> }
> } 1. read output from the server and print it, while reading input from me
> } and sending it out. That's the most important.
> 
> See the zftp functions and the zsh/net/tcp module.

In particular, read the zshtcpsys manual page if you are using TCP.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-09-21 10:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-21  2:19 Zsh for client programming Tyler Spivey
2005-09-21  3:08 ` Bart Schaefer
2005-09-21 10:13   ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).