From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4856 invoked from network); 1 Mar 2000 14:52:28 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 1 Mar 2000 14:52:28 -0000 Received: (qmail 4785 invoked by alias); 1 Mar 2000 14:52:14 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9954 Received: (qmail 4771 invoked from network); 1 Mar 2000 14:52:13 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: completion tests References: <200003011401.PAA27932@beta.informatik.hu-berlin.de> MIME-Version: 1.0 (generated by AKEMI 1.13.2 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCQTA0Y0s8GyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 01 Mar 2000 23:52:02 +0900 In-Reply-To: Sven Wischnowsky's message of "Wed, 1 Mar 2000 15:01:40 +0100 (MET)" Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.2 (=?ISO-2022-JP?B?GyRCQTAbKEI=?= =?ISO-2022-JP?B?GyRCNGNLPBsoQg==?=) FLAM-DOODLE/1.12.6 (=?ISO-2022-JP?B?GyRCM3cbKEI=?= 10R4.0/5.0) Emacs/20.4 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) In article <200003011401.PAA27932@beta.informatik.hu-berlin.de>, Sven Wischnowsky writes: > The problem was that the ec-code was output differently and for all > other codes there was the optimisation to not print them again when we > already printed them and no other code since then. > > The patch below should force the lc/no/rc codes to be printed again > after we printed ec. In terms of optimisation, this is a bit unlucky, > but since ec may contain anything, it was indeed wrong before. Thanks. Now comptest works better with display strings. Z(2):akr@is27e1u11% Src/zsh -f Test/comptest -D -z Src/zsh $'flex -\t'|bin2ascii|head line: {flex -}{} DESCRIPTION:{option} NO:{-+ -- generate C++ scanner class\x1B[K} NO:{-7 -- generate 7-bit scanner\x1B[K} NO:{-8 -- generate 8-bit scanner\x1B[K} NO:{-B -- generate batch scanner\x1B[K} NO:{-C -- specify degree of table compression\x1B[K} NO:{-F -- use fast scanner table representation\x1B[K} NO:{-I -- generate interactive scanner\x1B[K} NO:{-L -- don't generate #line directives\x1B[K} Z(2):akr@is27e1u11% bin2ascii /tmp/comptest.debug|head f\bflex -\r flex -\r \r \x1B[H\x1B[2J\x1B[m\x1B[m\x1B[m\x1B[Jflex -\x1B[K\r\r option\x1B[K\r \x1B[K\r -+ -- generate C++ scanner class\x1B[K\r \r -7 -- generate 7-bit scanner\x1B[K\r \r Z(2):akr@is27e1u11% But, `\x1B[K' --- el (clear to end of line) terminfo entry --- is printed before ec-code. -- Tanaka Akira