View previous topic :: View next topic |
Author |
Message |
arand Apprentice
Joined: 22 Apr 2003 Posts: 215
|
Posted: Wed Jul 28, 2004 9:36 am Post subject: |
|
|
I went and made an ebuild for this and submitted it to bugzilla. This ebuild makes use of a new use varible dropshadow so people can decide whether or not they want to use this feature. |
|
Back to top |
|
|
rcxAsh Guru
Joined: 03 Jul 2003 Posts: 457 Location: /etc/localtime
|
Posted: Wed Jul 28, 2004 7:58 pm Post subject: |
|
|
Sorry for the bump, but I'm really wondering about this...
rcxAsh wrote: | Thanks for the instructions arand, they were very helpful.
aterm looks great with the drop shadow text now. However, I don't know if this is a side effect of the drop shadow patch, or just due to me upgrading to a newer version of aterm (aterm-0.4.2-r9), but my aterms' titles no longer display information such as what directory they are in. Does anyone else notice this? However, iirc, there is a way to set the titles and stuff? Hmm, gotta find that again. |
I do have the following in my .bashrc:
Code: | # Change the window title of X terminals
case $TERM in
xterm*|rxvt|Eterm|eterm)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
;;
screen)
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
;;
esac |
And this is working with xterm, and used to be working fine with aterm. But now, I don't know what's up. If I manually run: Code: | echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007" | each time I change a directory, it updates the title, however, this is not very practical.
Am I missing something? Or does anyone else have the same thing going right now? _________________ rcxAsh |
|
Back to top |
|
|
Wi1d Apprentice
Joined: 15 Mar 2004 Posts: 282 Location: USA, Iowa
|
|
Back to top |
|
|
rcxAsh Guru
Joined: 03 Jul 2003 Posts: 457 Location: /etc/localtime
|
Posted: Thu Jul 29, 2004 6:32 am Post subject: |
|
|
Ok, I've managed to answer my own question by looking at the default .bashrc script again.
To the point, after I patched/upgraded to the newer version of aterm, it started identifying itself as "kterm" through the ${TERM} variable (why kterm, I don't know...?). The .bashrc script does not make any provisions for "kterm" (or at least mine does not).
(Try opening your aterm and do "echo ${TERM}" and see what it says... mine said kterm...)
So, I got my pwd back in aterm's title bar by changing my .bashrc file.
If anyone else needs it, here's what I did.
Open your .bashrc file and look for these lines:
Code: | # Change the window title of X terminals
case $TERM in
xterm*|rxvt|Eterm|eterm)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"' |
Notice how the case switch stuff only has xterm* or rxvt or Eterm or eterm.
Simply add kterm to that list.
So now it looks like:
Code: | # Change the window title of X terminals
case $TERM in
xterm*|rxvt|Eterm|eterm|kterm)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"' |
_________________ rcxAsh |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|