Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: make curses module not need wideness
- X-seq: zsh-workers 23956
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: make curses module not need wideness
- Date: Mon, 15 Oct 2007 10:11:52 +0100
- In-reply-to: <071014151608.ZM26588@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20071014042142.GA27713@xxxxxxxxxxx> <071014092646.ZM21802@xxxxxxxxxxxxxxxxxxxxxx> <20071014170856.GA14631@xxxxxxxxxxx> <071014151608.ZM26588@xxxxxxxxxxxxxxxxxxxxxx>
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 <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author