[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 119577] konquerors terminal emulator changes display mode of
From:       Stephan <padala () web ! de>
Date:       2006-02-28 16:30:09
Message-ID: 20060228163009.20863.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=119577         
padala web de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From padala web de  2006-02-28 17:30 -------
I solved the problem, it was not a bug in Konqueror. In my .bashrc I had the lines:

# distinguish root from a normal user
if test "$UID" = 0 ; then
  export PROMPT_END='#'
else
  export PROMPT_END='$'
fi

# if this is a konsole
# set the title to the last 25 characters of the current directory
if test "$DISPLAY"; then
  export PROMPT_COMMAND='echo -ne "\033]30;`echo $PWD | sed -e \
"s/^.*\(.\{25\}\)$/\1/"` $PROMPT_END\007\033]31;$PWD\007"' fi

The "export"-line caused the problem. I changed it to:

# distinguish root from a normal user
if test "$UID" = 0 ; then
  export PROMPT_END='#'
else
  export PROMPT_END='$'
fi

# set the command prompt
export PROMPT_COMMAND='echo -ne "\033]0;${USER} ${HOSTNAME}: ${PWD}\007"'

# set the title of Konsole-sessions to the last 25 chars of the current dir
if [ -n "$KONSOLE_DCOP_SESSION" ] ; then
  dcop $KONSOLE_DCOP_SESSION renameSession "`echo $PWD | sed -e \
"s/^.*\(.\{25\}\)$/\1/"` $PRO\ MPT_END"
fi
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic