Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Zac Medico (zmedico)" <zmedico@g.o>
Subject: portage r11764 - main/trunk/bin
Date: Fri, 31 Oct 2008 17:25:45 +0000
Author: zmedico
Date: 2008-10-31 17:25:44 +0000 (Fri, 31 Oct 2008)
New Revision: 11764

Modified:
   main/trunk/bin/isolated-functions.sh
Log:
Bug #236609 - Fix columns calculation for TERM="dumb". Thanks to Ulrich M?\195?\188ller
<ulm@g.o> for the patch.


Modified: main/trunk/bin/isolated-functions.sh
===================================================================
--- main/trunk/bin/isolated-functions.sh	2008-10-31 05:07:28 UTC (rev 11763)
+++ main/trunk/bin/isolated-functions.sh	2008-10-31 17:25:44 UTC (rev 11764)
@@ -371,7 +371,7 @@
 	(( COLS > 0 )) || (( COLS = 80 ))
 	COLS=$((${COLS} - 8))	# width of [ ok ] == 7
 	# Adjust COLS so that eend works properly on a standard BSD console.
-	[ "${TERM}" = "cons25" ] && COLS=$((${COLS} - 1))
+	[[ $TERM = cons25 || $TERM = dumb ]] && ((COLS--))
 
 	# Now, ${ENDCOL} will move us to the end of the
 	# column;  irregardless of character width



Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in dev-python/compizconfig-python: metadata.xml ChangeLog
Next by thread:
gentoo-x86 commit in dev-perl/MP3-Tag: ChangeLog MP3-Tag-0.9713.ebuild
Previous by date:
gentoo-x86 commit in dev-python/compizconfig-python: metadata.xml ChangeLog
Next by date:
gentoo-x86 commit in dev-perl/MP3-Tag: ChangeLog MP3-Tag-0.9713.ebuild


Updated Sep 30, 2010

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.