Bug 160760 - Column size calculation is broken
Column size calculation is broken
Product: Fedora
Classification: Fedora
Component: tcsh (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Miloslav Trmač
Bill Huang
Depends On:
  Show dependency treegraph
Reported: 2005-06-17 01:30 EDT by bwelling
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 6.14-2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-06-20 18:32:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description bwelling 2005-06-17 01:30:56 EDT
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):

How reproducible:

Steps to Reproduce:
1.cd /sys

Additional info:

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.
Comment 1 Miloslav Trmač 2005-06-20 18:32:35 EDT
Fixed in rawhide tcsh-6.14-2. Thanks for your report.

Note You need to log in before you can comment on or make changes to this bug.