Bug 160760

Summary: Column size calculation is broken
Product: [Fedora] Fedora Reporter: bwelling
Component: tcshAssignee: Miloslav Trmač <mitr>
Status: CLOSED RAWHIDE QA Contact: Bill Huang <bhuang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 6.14-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-20 22:32:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description bwelling 2005-06-17 05:30:56 UTC
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):
tcsh-6.14-1

How reproducible:
Always

Steps to Reproduce:
1.cd /sys
2.ls-F
3.
  

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 22:32:35 UTC
Fixed in rawhide tcsh-6.14-2. Thanks for your report.