From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 7 11:23:49 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B706637B401 for ; Mon, 7 Jul 2003 11:23:49 -0700 (PDT) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FBCE43F75 for ; Mon, 7 Jul 2003 11:23:49 -0700 (PDT) (envelope-from kientzle@acm.org) Received: from acm.org ([66.166.149.53]) by kientzle.com (8.12.9/8.12.9) with ESMTP id h67INmgY000493; Mon, 7 Jul 2003 11:23:48 -0700 (PDT) (envelope-from kientzle@acm.org) Message-ID: <3F09BB5D.5000106@acm.org> Date: Mon, 07 Jul 2003 11:26:37 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.1) Gecko/20021005 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Leo Bicknell References: <20030707160243.GA54395@ussenterprise.ufp.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: tcsh / tset problem on 4.7 only? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kientzle@acm.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2003 18:23:50 -0000 Leo Bicknell wrote: > I have a script that ... seems to fail on 4.7-RELEASE boxes ... > > % eval `tset -s -Q` > Missing ]. I just encountered this bug on 4.8-STABLE as well. Trimming down the output of tset, I eventually came up with the following very short test case for tcsh: # echo '{[' {[ # eval `echo '{['` Missing ]. # eval `echo '{{'` Missing }. The problem seems to be triggered by a {{ or {[ within '' within ``. (The termcap entry for vt100 contains {{ in the ac capability. Removing that capability is a workaround for this bug.) Hope this helps someone to track the problem down. For the record: # uname -spr FreeBSD 4.8-STABLE i386 # echo $version tcsh 6.12.00 (Astron) 2002-07-23 (i386-intel-FreeBSD) options 8b,nls,dl,al,kan,sm,rh,color,dspm,filec Tim Kientzle