[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

10.1 Naming Windows (Titles)

You can customize each window's name in the window display (viewed with the windows command (see section 10.7 Windows) by setting it with one of the title commands. Normally the name displayed is the actual command name of the program created in the window. However, it is sometimes useful to distinguish various programs of the same name or to change the name on-the-fly to reflect the current state of the window.

The default name for all shell windows can be set with the shelltitle command (see section 6.4 Shell). You can specify the name you want for a window with the `-t' option to the screen command when the window is created (see section 6.2 Screen Command). To change the name after the window has been created you can use the title-string escape-sequence (ESC k name ESC \) and the title command (C-a A). The former can be output from an application to control the window's name under software control, and the latter will prompt for a name when typed. You can also bind predefined names to keys with the title command to set things quickly without prompting.

10.1.1 Title Command  The title command.
10.1.2 Dynamic Titles  Make shell windows change titles dynamically.
10.1.3 Setting up your prompt for shell titles  Set up your shell prompt for dynamic Titles.
10.1.4 Setting up shell titles in your `.screenrc'  Set up Titles in your `.screenrc'.



This document was generated by Davide on March, 6 2002 using texi2html