Re: Aterm, Rxvt, Xterm...
katchomko (katchomko@katchomko.com)
Tue, 24 Jul 2001 11:33:38 -0700
here's what I use in my .bashrc to see the last process into the title bar:
# hack to get process into xterm tiles
if [ "$TERM" = "xterm" -o "$TERM" = "xterm-color" -o "$TERM" = "xterms" ]
then
# PS1="\n\[\033[0;37m\]\$(jobs | tr -s \" \")\[\033[0m\]\\n\[\033[40m\]\[\033[1;31m\]\u\[\033[1;34m\]@\[\033[40m\]\[\033[1;31m\]\h\[\033[1;34m\]: \[\033[40m\]\[\033[1;35m\]\w\[\033[0m\]\[\033[1;33m\]\n\$(echo -e "\\267\\255\\254")\[\033[0;32m\] "
PS1="\n\[\033[0;37m\]\$(jobs | tr -s \" \")\[\033[0m\]\\n\[\033[40m\]\[\033[1;31m\]\u\[\033[1;34m\]@\[\033[40m\]\[\033[1;31m\]\h\[\033[1;34m\]: \[\033[40m\]\[\033[1;35m\]\w\[\033[0m\]\[\033[1;33m\]\n\$(echo -e "\\267\\255\\254")\[\033[0m\] "
PROMPT_COMMAND='echo -ne "\033]0;$EUID - `history 1` - ${PWD} - $SHLVL - ${SECONDS} - `forceHistory` " "\007"'
export PS1
export PROMPT_COMMAND
else
PS1="\n\[\033[7;34m\]\$(jobs | tr -s \" \")\[\033[0m\]\\n\[\033[40m\]\[\033[1;31m\]\u\[\033[1;34m\]@\[\033[40m\]\[\033[1;31m\]\h\[\033[1;34m\]: \[\033[40m\]\[\033[1;35m\]\w\[\033[0m\]\[\033[1;33m\]\n\$(echo -e "\\267\\255\\254")\[\033[0;32m\] "
export PS1
fi
On Tue, Jul 24, 2001 at 08:26:06PM -0400, ^(o,o)^ Turk2000 is rumored to have uttered:
> Hi All!
>
> I'm noticing that Aterm, Rxvt, Xterm
> never display the title bar in spite of
> I had put the following row in afterstep
> start menu configure file:
>
> Exec "AfterStep terminal" exec aterm -geometry 80x25 -tr -tint pink -sh 60
> -bg black -fg white -cr gold -pr green -fn 10x20 -title "Server C3POPOV" &
>
> but they show the current directory, ie:
>
> turk2000@linux: /home/groups/INTRANET/turk2000
>
> rather than
>
> Server C3POPOV
>
> Why?
> Sorry, for my bad English.
> Thanks for all.
> Byte!
>
>
> ,.
> @oo@
> ( L )'
> ===oUUUD======CUUUo====================. Turk2000
> Questo spazio pubblicitario e' |
> in vendita. Per maggiori informazioni | giulio@linuxfan.com
> telefona subito al seguente numero: |
> ICQ# 112053815 (ore pasti!) | http://www.^(o,o)^.it
> --------)(-----------------------------'
> oooO Oooo.
> (____) (____)
>
> Where do you think you're going today?
>
>
>
>
> _______________________________________________
> The AfterStep Window Manager for X User's Mailing List
> http://mail.afterstep.org/mailman/listinfo/as-users
---end quoted text---
--
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
What is wanted is not the will to believe, but
the will to find out, which is the exact opposite.
-- Bertrand Russell, "Skeptical Essays" 1928
http://www.katchomko.com
- - - - - - - - - - - - - - - - - - - - - - - - -
_______________________________________________
The AfterStep Window Manager for X User's Mailing List
http://mail.afterstep.org/mailman/listinfo/as-users