From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13264 invoked from network); 15 Oct 2007 09:14:57 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 15 Oct 2007 09:14:57 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 39481 invoked from network); 15 Oct 2007 09:14:51 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 15 Oct 2007 09:14:51 -0000 Received: (qmail 4970 invoked by alias); 15 Oct 2007 09:14:48 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23956 Received: (qmail 4957 invoked from network); 15 Oct 2007 09:14:48 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 15 Oct 2007 09:14:48 -0000 Received: (qmail 39189 invoked from network); 15 Oct 2007 09:14:48 -0000 Received: from cluster-g.mailcontrol.com (85.115.41.190) by a.mx.sunsite.dk with SMTP; 15 Oct 2007 09:14:41 -0000 Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly07g.srv.mailcontrol.com (MailControl) with ESMTP id l9F983qh027938 for ; Mon, 15 Oct 2007 10:14:34 +0100 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Mon, 15 Oct 2007 10:11:52 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.14.1/8.13.4) with ESMTP id l9F9Bqql003989 for ; Mon, 15 Oct 2007 10:11:52 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.14.1/8.14.1/Submit) with ESMTP id l9F9BqR1003986 for ; Mon, 15 Oct 2007 10:11:52 +0100 Message-Id: <200710150911.l9F9BqR1003986@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk Subject: Re: PATCH: make curses module not need wideness In-reply-to: <071014151608.ZM26588@torch.brasslantern.com> References: <20071014042142.GA27713@scowler.net> <071014092646.ZM21802@torch.brasslantern.com> <20071014170856.GA14631@scowler.net> <071014151608.ZM26588@torch.brasslantern.com> Comments: In-reply-to Bart Schaefer message dated "Sun, 14 Oct 2007 15:16:08 -0700." Date: Mon, 15 Oct 2007 10:11:52 +0100 From: Peter Stephenson X-OriginalArrivalTime: 15 Oct 2007 09:11:52.0362 (UTC) FILETIME=[6CBFB8A0:01C80F0B] X-Scanned-By: MailControl A-07-08-10 (www.mailcontrol.com) on 10.71.0.117 Bart Schaefer wrote: > I'm not having much luck with this. The doc should mention that window > zero is automatically created as the whole terminal. Also there's no > check that the targetwin argument is really an integer; I typo'd a "q" > for a "1", got some errors about the window already existing (apparently > because non-integers are read as "0"), and ended up with a core dump: I think it would probably be better to let the windows have arbitrary names and store them in a linked list, as we do for ztcp and zftp. Presumably there aren't going to be that many of them. (The names can still be numbers, obviously.) I'm also wondering if it wouldn't be better for the window number/name to be the first regular argument in all cases. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070