tcsh / tset problem on 4.7 only?

Tim Kientzle kientzle at acm.org
Mon Jul 7 11:23:50 PDT 2003


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



More information about the freebsd-hackers mailing list