bin/94477: unnecessary space in command completion of tcsh

Tsurutani Naoki turutani at scphys.kyoto-u.ac.jp
Wed Mar 15 14:30:20 UTC 2006


>Number:         94477
>Category:       bin
>Synopsis:       unnecessary space in command completion of tcsh
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 15 14:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 6.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD h116.65.226.10.32118.vlan.kuins.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Thu Mar 2 18:04:50 JST 2006 turutani at h116.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER13 amd64


	
>Description:
	on FreeBSD 6.1-PRERELEASE, showing the candidates of command by 
	completion of tcsh, an additional space is printed between candidates, 
	and hence, output on the screen is not clean.
	
>How-To-Repeat:
	use command completion on tcsh (tcsh 6.14).
	especially when output with more than 2 row and long command in the most
	right column.
	
>Fix:
	apply this patch:
	--- tw.parse.c.orig     Fri Mar  4 01:40:53 2005
	+++ tw.parse.c  Wed Mar 15 22:54:08 2006
	@@ -2088,6 +2088,7 @@
			    Char f = items[i][w - 1];
			    items[i][w - 1] = 0;
			    print_with_color(items[i], w - 1, f);
	+		    wx++;
			}
			else {
			    /* Print filename followed by '/' or '*' or ' ' */

	This patch is also good for original tcsh-6.14.0, but i don't know 
	how to report bugs to tcsh.
	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list