screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

aterm window title


From: David Cannings
Subject: aterm window title
Date: Fri, 01 Oct 2004 14:31:56 +0100
User-agent: Mozilla Thunderbird 0.8 (X11/20040913)

I use the following in bash to change the window title in x11 terminals:

# Change the window title of X terminals
case $TERM in
        xterm*|rxvt|Eterm|eterm)
PROMPT_COMMAND='echo -ne "\033]0;address@hidden:${PWD/$HOME/~}\007"'
                ;;
        screen)
PROMPT_COMMAND='echo -ne "address@hidden:${PWD/$HOME/~}\033\\"'
                ;;
esac

This works fine in xterm, Konsole and aterm. Under screen, it works only in xterm and Konsole. Also, certain programs that set the window title (portage in Gentoo is one that comes to mind) don't set the window title under aterm while running screen, but do without screen. Apart from:

hardstatus off
backtick 1 1200 1200 whoami
caption always "address@hidden %c | %-Lw%{= BW}%50>%n* %t%{-}%+Lw%<"

.. and a few key bindings, my screenrc is the standard as shipped with the Gentoo ebuild, therefore I assume the default file.

Is there any way to get window titles to work in aterm when I'm running screen?

Thanks,

David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]