like many people, I use app-misc/screen to start my shell procedures, especially when I'm in doubt of the line quality or if I know that a script will take longer to finish. I'm also working with multiple windows inside those screen sessions (like create a new one with 'C-a C-c (screen) Create a new window with a shell and switch to that window.'). To know what's in each of the windows, I often set a title (C-a A (title) Allow the user to enter a name for the current window.) like 'Sysupd server1' or such.
I noticed that this title gets overwritten by something when I run a couple of applications; two of these are app-portage/eix and emerge. When I do the following:
start screen : $> screen
name the window : 'Ctrl+a , A' , Type: 'My precious windowname' <Enter>
check the name in the windowlist: 'Ctrl+a , " ' - "My precious windowname" is in the list.
start eix-update : 'eix-update'
check the name in the windowlist: 'Ctrl+a , " ' - "My precious windowname" is gone and was renamed to something like "eix-update: Finished".
The same happens sometimes when I do 'emerge -uvaND @world' or such.
Has anybody an idea how I can prevent this and the names I set manually do not get overwritten by a program ?
Best regards everyone!
Phew ... seems as if I'm not the only one who doesn't know
I think I remember reading an option for portage that prevents the title bar info from changing. I could be wrong. Check the man page for emerge and see if you can find it.
Couldn't find it. But I do not only want to know this for eix and emerge; I'd like to know what's happening there and how to prevent it generally. When I set a window name manually, I'd like it to stay and not to change every now and then.
There's a huge chapter named "TITLES (naming windows)" in the manpage of screen, but I cannot find anything that seems related to this. Maybe I'm just too unfamiliar with terminals in general to understand the behavior of a terminal-multiplexer ...