zsh-workers
 help / color / mirror / code / Atom feed
* ztcp loudness
@ 2008-08-08 22:22 Clint Adams
  2008-08-11  8:50 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Clint Adams @ 2008-08-08 22:22 UTC (permalink / raw)
  To: zsh-workers

I'm playing with an application that uses both curses and ztcp.
Whenever ztcp spits out a warning it causes a big mess with the curses
windows.  I'm going to redirect stderr on all the tcp_* invocations
but I was wondering if anyone had a better idea.


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

* Re: ztcp loudness
  2008-08-08 22:22 ztcp loudness Clint Adams
@ 2008-08-11  8:50 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2008-08-11  8:50 UTC (permalink / raw)
  To: zsh-workers

On Fri, 8 Aug 2008 22:22:57 +0000
Clint Adams <clint@zsh.org> wrote:
> I'm playing with an application that uses both curses and ztcp.
> Whenever ztcp spits out a warning it causes a big mess with the curses
> windows.  I'm going to redirect stderr on all the tcp_* invocations
> but I was wondering if anyone had a better idea.

I've noticed this myself; I get an error when I interrupt it while it's
waiting to accept a connection, which is fairly unhelpful since I know I've
interrupted it.

It probably needs to have more detailed status return values and to ensure
ERRNO is accurate, plus a non-verbose option which (given that this is a
fairly low level utility) really ought to be the default; but as long as
there's an option when opening the session it's good enough.

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


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

end of thread, other threads:[~2008-08-11  8:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-08 22:22 ztcp loudness Clint Adams
2008-08-11  8:50 ` 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).