From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3/2) with ESMTP id EAA15948 for ; Sun, 7 Jul 1996 04:23:24 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id OAA16524; Sat, 6 Jul 1996 14:17:44 -0400 (EDT) Resent-Date: Sat, 6 Jul 1996 14:17:13 -0400 (EDT) From: Zoltan Hidvegi Message-Id: <199607061816.UAA19403@bolyai.cs.elte.hu> Subject: Re: Trying to complete process substitution args crashes zsh-3.0-pre2 To: jkroeger@squirrel.owl.de (Johannes Kroeger) Date: Sat, 6 Jul 1996 20:16:37 +0200 (MET DST) Cc: zsh-users@math.gatech.edu In-Reply-To: <199607061724.TAA06515@squirrel.owl.de> from Johannes Kroeger at "Jul 6, 96 07:24:09 pm" Organization: Dept. of Comp. Sci., Eotvos University, Budapest, Hungary Phone: (36 1)2669833 ext: 2667, home phone: (36 1) 2752368 X-Mailer: ELM [version 2.4ME+ PL16 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"HuQkO2.0.h14.esgtn"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/274 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > When I type the following command: > > ~% diff <(zcat file1.gz) <(zcat file2.gz) | less > > I can complete the word "diff" with TAB, but not the word "zcat" in > the <(...) construction. Typing TAB after <(zc lists all commands > beginning with zc, but repeating the TAB keystroke after <(zca > crashes the shell. The same goes for >(...) constructions. Try this patch. Zoltan *** Src/zle_tricky.c 1996/07/05 21:58:31 2.55 --- Src/zle_tricky.c 1996/07/06 18:12:25 *************** *** 929,936 **** addx(&tmp); linptr = (char *)line; pushheap(); - start: HEAPALLOC { inwhat = IN_NOTHING; /* Now set up the lexer and start it. */ parbegin = parend = -1; --- 929,936 ---- addx(&tmp); linptr = (char *)line; pushheap(); HEAPALLOC { + start: inwhat = IN_NOTHING; /* Now set up the lexer and start it. */ parbegin = parend = -1;