Next Previous Contents

How to change the title of an xterm

Ric Lister, ric@giccs.georgetown.edu

v2.0, 27 October 1999


This document explains how to use escape sequences to dynamically change window and icon titles of an xterm. Examples are given for several shells, and the appendix gives escape sequences for some other terminal types.

1. Where to find this document

2. Static titles

3. Dynamic titles

4. Examples for different shells

5. Printing the current job name

6. Appendix: escapes for other terminal types

7. Appendix: examples in other languages

8. Credits


Next Previous Contents