Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232874 - app-admin/eselect should disable file expansion for text to be highlighted
Summary: app-admin/eselect should disable file expansion for text to be highlighted
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2008-07-24 18:51 UTC by Marc Lagrange
Modified: 2009-04-18 08:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Lagrange 2008-07-24 18:51:02 UTC
eselect fontconfig list return:
Available fontconfig .conf files ( * is enabled ):
  [1]   10-autohint.conf
  [2]   10-no-sub-pixel.conf
[...] With colors

eselect --no-color fontconfig list return:
Available fontconfig .conf files ( LS_OUTPUT_OF_THE_HOME is enabled ):
  [1]   10-autohint.conf
  [2]   10-no-sub-pixel.conf
[...] With no colors.

app-admin/eselect 1.0.11-r1
app-admin/eselect-fontconfig 1.0
Comment 1 Marc Lagrange 2008-07-24 18:56:31 UTC
Woops, i've lost:
I've gentoo amd64.
emerge --info (if needed).

Portage 2.2_rc1 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-x86_64-AMD_Sempron-tm-_Processor_LE-1200-with-glibc2.2.5
Timestamp of tree: Tue, 22 Jul 2008 21:17:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/mnt/nfs_portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/mnt/nfs_portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/nfs_portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/zugaina /usr/local/portage/layman/wolf31o2 /usr/local/portage/layman/welp /usr/local/portage/layman/java-overlay /usr/local/portage/layman/oss-overlay /usr/local/portage/layman/arcon /usr/local/portage/layman/pro-audio /usr/local/portage/layman/sangor /usr/local/portage/layman/akoya"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X aac acl acpi alsa amd64 apic audiofile berkdb bluetooth bzip2 cdr clflush cli cmov cr8_legacy cracklib crypt cups curses cx16 cx8 dbus de directfb divx dri dvd emacs encode extapic flac fortran fpu fxsr fxsr_opt gdbm gif gpm gtk gtk2 hal iconv ipv6 isdnlog jpeg jpg lahf_lm libsamplerate lm lm_sensors mca mce midi mikmod mmx mmxext mp3 msr mtrr mudflap multilib musepack ncurses network nls nptl nptlonly nv nvidia nx ogg opengl openmp oss pae pam pat pcre perl pge png pni pppd pse pse36 python qt3 qt4 rdtscp readline reflection rep_good sdl sep session slang spl sse sse2 sse3 ssl syscall tcpd tiff truetype tsc unicode vme vorbis xinerama xorg xulrunner xvid xvmc zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authz_host autoindex charset_lite dir env expires include info log_config mime mime_magic rewrite setenvif status userdir version vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US fr fr_FR" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2008-08-19 19:04:10 UTC
This is eselect bug: it should not expand text which is supposed to be highlighted or printed.
Comment 3 Ulrich Müller gentoo-dev 2009-04-14 20:13:40 UTC
Problem is in write_list_start (file output.bash) and trivial to fix:

-    echo -n -e $(apply_text_highlights "${colour}" "$*")
+    echo -n -e "$(apply_text_highlights "${colour}" "$*")"

Committed to trunk (r407) and 1.0.x branch (r408).
Comment 4 Ulrich Müller gentoo-dev 2009-04-18 08:38:36 UTC
Fixed in 1.0.12.
Thanks for reporting.