From: Anthony Charles <antho.charles@gmail.com>
To: zsh-users ml <zsh-users@zsh.org>
Subject: Tcp and curses questions
Date: Tue, 29 Jun 2010 11:13:18 +0200 [thread overview]
Message-ID: <20100629091318.GA14228@layslair.ath.cx> (raw)
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
reply other threads:[~2010-06-29 9:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100629091318.GA14228@layslair.ath.cx \
--to=antho.charles@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).