screen-users
[Top][All Lists]
Advanced

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

Re: Persistence of a window's title?


From: Neal Fultz
Subject: Re: Persistence of a window's title?
Date: Mon, 18 May 2020 14:37:56 -0700

I would recommend checking your $PROMPT_COMMAND - some shell configurations reset the Xterm title, and screen can pick that up as a window title or pass it through depending on your environment.

See also https://www.tldp.org/HOWTO/Bash-Prompt-HOWTO/x395.html and https://unix.stackexchange.com/questions/6065/gnu-screen-new-window-name-change for example

On Mon, May 18, 2020 at 2:33 PM Steve Ross <address@hidden> wrote:

Is a screen-window's title supposed to persist?

I have created two windows in one "screen" session.  I have titled them both by typing "CONTROL-a" followed by a colon followed by the word "title" followed by my title, one for each window.

I have the titles permanently displayed at the bottom of the window by two lines in my "~/.screenrc" file:

    hardstatus alwayslastline
    hardstatus string "%w"

I don't know if it makes any difference, but I also have

    altscreen on

The problem is that the screen-window titles do not persist.  After I enter a command like "ls", the title changes to something like

    username@machine:~/Man

where the directory name is the first first three characters of the name of the current directory in my home directory.

Is the lack of persistence working as designed, a bug, or am I missing something?

My version/release of "screen" on Fedora is 4.6.2-8.fc30.

Thanks for any help,

-- Steve Ross


reply via email to

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