From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17859 invoked from network); 13 Jul 1999 13:11:20 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 13 Jul 1999 13:11:20 -0000 Received: (qmail 26220 invoked by alias); 13 Jul 1999 13:11:11 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7112 Received: (qmail 26213 invoked from network); 13 Jul 1999 13:11:10 -0000 Message-Id: <9907131240.AA21982@ibmth.df.unipi.it> To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: Enhancing math expressions a bit In-Reply-To: "Sven Wischnowsky"'s message of "Tue, 13 Jul 1999 15:03:26 DFT." <199907131303.PAA10232@beta.informatik.hu-berlin.de> Date: Tue, 13 Jul 1999 14:40:16 +0200 From: Peter Stephenson Sven Wischnowsky wrote: > This does that: it replaces `keys' with `KEYS' and that contains the > literal character codes. Well, here's some documentation. But I'm worried about what happens with control-space. Might it not be better to use an array with the literal codes in (so a null-string means ^@), or alternatively provide a length parameter, or use some form of metafication? > Now, should we add a way to turn such codes into a readable form? Can probably be done quite simply with a shell function, which could be marked #autoload if needed. --- Doc/Zsh/zle.yo.ky2 Wed Jun 23 15:47:06 1999 +++ Doc/Zsh/zle.yo Tue Jul 13 14:36:22 1999 @@ -154,12 +154,9 @@ item(tt(LASTWIDGET) (scalar))( The name of the last widget that was executed. ) -vindex(keys) -item(tt(keys) (array))( -The keys typed to invoke this widget, one element per -key. Control-keys are reported with a leading `tt(^)', as in `tt(^A)', -and meta-keys are reported with a leading `tt(M-)', as in `tt(M-a)' and -`tt(M-^A)'. +vindex(KEYS) +item(tt(KEYS) (scalar))( +The keys typed to invoke this widget, as a literal string. ) vindex(NUMERIC) item(tt(NUMERIC) (integer))( -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy