From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7880 invoked from network); 17 Jul 2000 08:07:44 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 17 Jul 2000 08:07:44 -0000 Received: (qmail 16146 invoked by alias); 17 Jul 2000 08:07:38 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12267 Received: (qmail 16139 invoked from network); 17 Jul 2000 08:07:37 -0000 Date: Mon, 17 Jul 2000 10:07:36 +0200 (MET DST) Message-Id: <200007170807.KAA05661@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Felix Rosencrantz's message of Fri, 14 Jul 2000 19:42:09 -0700 (PDT) Subject: Re: ZLE Widget: Insert last word (except &) Felix Rosencrantz wrote: > [interface to parse command lines] ... > > Not sure if it has to be a new parameter expansion flag, though that was > one possible solution. It would be useful if it could be performed > on full command lines (e.g. from history or a file.) > > So what kind of things do you imagine would be possible with these new changes? Analysing any string in the way the completion system does it now. I don't have enough ideas about all this yet, and almost no time in the next days or weeks. > ... > > Though what I would really like in the end is better prediction, in hopes > that would cut down on typing. For me the prediction widget is great > in certain circumstances, but other times it just gets my the way. > I feel that to improve it, would require better analysis of shell history, > which requires processing command lines. Or maybe another direction for > prediction is needed maybe someone would like to add something like rk, > reactive keyboard, as a module. That way we might be able to get prediction > similar to what the various web browsers provide. Some time ago I found http://www.cs.ualberta.ca/~benjamin/AUI/, haven't had the time to really look at it yet. He's using a customized zsh to gather information about command usage to help prediction future commands. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de