Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Tcp and curses questions
- X-seq: zsh-users 15131
- From: Anthony Charles <antho.charles@xxxxxxxxx>
- To: zsh-users ml <zsh-users@xxxxxxx>
- Subject: Tcp and curses questions
- Date: Tue, 29 Jun 2010 11:13:18 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:user-agent; bh=fCpoaB7qMjXzNGNZL9tPsLCEbViQfwsLgW0z9eQ4XcY=; b=wHkdQJ84TBiaADPIaqls4jIoc1YI3ADyKq2N8vhKWaPsWUU7UHPSAJfmVNRF8GKo9T r4LSQeSKOnzTtRtWc9Rn1RzTjN5ZLF2X+eGnmKe8q4BI6xRB6qioqT6hH2bg1tJpzIf9 8sEcL8lUW2//Z6uRCYJM6rl0Fvcr2S5C5eeb8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=LZ4sy3bYf698WoDDNPXtjjJoAanK98OLk/Yksn7qLU989FI2jzERC7Z8hHf12YgLmD 63uaxp2y1hEwXTJPLARpXdRiBNqNYbrM+jHd14MCIVvYH6o9sJveqd8QB6bTb54VUXfk xmr9lWJCDk9V0AKHtmPMkKmU1is2Rc9uhqWGk=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author