Red Hat Bugzilla – Bug 160760
Column size calculation is broken
Last modified: 2007-11-30 17:11:08 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4
Description of problem:
When tcsh attempts to output filenames in columns (either using the built in ls-F or as a result of tab completion), an off-by-one error causes the display to be wider than the terminal window in some cases, such as running ls-F in /sys.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This has been fixed in tcsh 6.14.02, which is unfortunately not listed on the main tcsh web page, or easily findable from the ftp sites listed on the web page. I found links (ftp://ftp.astron.com/pri/patch1.gz and ftp://ftp.astron.com/pri/patch2.gz) in the mailine list. I added these patches to the spec file, removed the iconv patch which is subsumed, rebuilt, and it works much better now.
Fixed in rawhide tcsh-6.14-2. Thanks for your report.