Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jul 2003 11:26:37 -0700
From:      Tim Kientzle <kientzle@acm.org>
To:        Leo Bicknell <bicknell@ufp.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: tcsh / tset problem on 4.7 only?
Message-ID:  <3F09BB5D.5000106@acm.org>
References:  <20030707160243.GA54395@ussenterprise.ufp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F09BB5D.5000106>