E

xterm Control Sequences

This appendix list the escape sequences that can be used to control features of an xterm window or its terminal emulation.

In This Appendix:

xterm Control Sequences

Definitions

VT102 Mode

Tektronix 4014 Mode

E

xterm Control Sequences

A standard terminal performs many operations in response to escape sequences sent out by a program. In emulating a terminal, xterm responds to those same terminal escape sequences. Under UNIX, programs use the termcap or terminfo database to determine which escape sequences to send out. For more information, see the standard UNIX man pages termcap(5) or terminfo(5), or the Nutshell Handbook Termcap and Terminfo, available from O'Reilly & Associates, Inc.

xterm Control Sequences

This appendix is based on two sources: the “Xterm Control Sequences” document, written by Edward Moy, University of California, Berkeley, for the X10 xterm; and X11 updates provided to the X Consortium by Skip Montanaro, GE Corporate Research & Development.

Definitions

C A single (required) character.
Ps A single (usually optional) numeric parameter, composed of one of more digits.
Pm A multiple numeric parameter composed of any number of single numeric parameters, separated by image character(s).
Pt A text parameter composed of printable characters.

VT102 Mode

Most of these control sequences are standard VT102 control sequences. There are, however, ...

Get X Window System User's Guide, Vol 3 (The Definitive Guides to the X Window System) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.