Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20926 - problems with konsole and baselayout 1.8.6.6/7
Summary: problems with konsole and baselayout 1.8.6.6/7
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-13 08:48 UTC by Georg Müller
Modified: 2003-08-07 08:03 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 Georg Müller 2003-05-13 08:48:23 UTC
When I install the new baselayout, konsole in kde doesn't set PS1.
This is caused by the changes in /etc/profile from 
if [ "$SHELL" = '/bin/bash' ] || [ "$SHELL" = '/bin/sh' ]
to
if [ "$TERM" != 'dumb'  ] && [ -n "$BASH" ]


Reproducible: Always
Steps to Reproduce:
1. emerge baselayout 1.8.6.6 or 1.8.6.7
2. (re)start kde
3. start konsole

Actual Results:  
PS1 is something like $bash

Expected Results:  
PS1 is the typical user@host:dir > 


Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="http://gentoo.linux.no/
http://ftp.tu-clausthal.de/pub/linux/gentoo/ http://distro.ibiblio.org/gentoo "
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm
berkdb slang readline arts tetex svga java guile mysql X sdl gpm tcpd pam libwww
ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 snmp
cdr scanner tcltk apache2 tiff ipv6 dvd aalib gtk2 ldap xml imap jikes -gnome samba"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Nikolas Garofil 2003-08-02 13:56:01 UTC
I can confirm this bug with baselayout-1.8.6.8-r1 and kdebase-3.1.2
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-08-07 08:03:28 UTC
Add '-l' switch to konsole to start a login shell, or add the coloring to your
.bashrc.  Only login shell should read /etc/profile - dumb shells should not
echo in colour.