zsh-users
 help / color / mirror / code / Atom feed
* Tcp and curses questions
@ 2010-06-29  9:13 Anthony Charles
  0 siblings, 0 replies; only message in thread
From: Anthony Charles @ 2010-06-29  9:13 UTC (permalink / raw)
  To: zsh-users ml

Hi,

I'm working on a script using curses and tcp modules (a client for
mpd, the music player daemon) so using zsh only for fun.
I have two questions about those modules : 

First, I just connect for tests on localhost port 6600 (mpd default)
but when I do tcp_close at the end of the script, it always takes ~5 sec to
terminate (tested on different machines). It seems that the ztcp at
line 66 in tcp_close takes some time. Is there a way to avoid this ?

Second, I don't understand how to use zcurses scroll as when it
automatically scrolls, display is not refreshed (borders and
content of the window), windows lost their content and I have to redo it manually.
(see http://www.zsh.org/mla/workers/2007/msg00941.html for example)
Am I missing something ?

Thanks.

-- 
Anthony CHARLES



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-29  9:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-29  9:13 Tcp and curses questions Anthony Charles

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).