2004-11-03 13:51:07 +00:00
|
|
|
.\" Copyright (c) 1996 Andries Brouwer <aeb@cwi.nl>, Mon Oct 31 22:13:04 1996
|
|
|
|
.\"
|
MB_CUR_MAX.3, MB_LEN_MAX.3, btowc.3, fgetwc.3, fgetws.3, fputwc.3, fputws.3, fwide.3, getwchar.3, iconv.3, iconv_close.3, iconv_open.3, iswalnum.3, iswalpha.3, iswblank.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, mblen.3, mbrlen.3, mbrtowc.3, mbsinit.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, nl_langinfo.3, putwchar.3, stpncpy.3, strnlen.3, towctrans.3, towlower.3, towupper.3, ungetwc.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscasecmp.3, wcscat.3, wcschr.3, wcscmp.3, wcscpy.3, wcscspn.3, wcsdup.3, wcslen.3, wcsncasecmp.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcspbrk.3, wcsrchr.3, wcsrtombs.3, wcsspn.3, wcsstr.3, wcstok.3, wcstombs.3, wcswidth.3, wctob.3, wctomb.3, wctrans.3, wctype.3, wcwidth.3, wmemchr.3, wmemcmp.3, wmemcpy.3, wmemmove.3, wmemset.3, wprintf.3, console.4, console_codes.4, random.4, charsets.7: s/GPLv2+_ONEPARA_DOC/GPLv2+_DOC_ONEPARA/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-03-10 09:29:44 +00:00
|
|
|
.\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
|
2004-11-03 13:51:07 +00:00
|
|
|
.\" This is free documentation; you can redistribute it and/or
|
|
|
|
.\" modify it under the terms of the GNU General Public License as
|
|
|
|
.\" published by the Free Software Foundation; either version 2 of
|
|
|
|
.\" the License, or (at your option) any later version.
|
2013-03-10 09:28:56 +00:00
|
|
|
.\" %%%LICENSE_END
|
2004-11-03 13:51:07 +00:00
|
|
|
.\"
|
|
|
|
.\" This is combined from many sources.
|
|
|
|
.\" For Linux, the definitive source is of course console.c.
|
|
|
|
.\" About vt100-like escape sequences in general there are
|
|
|
|
.\" the ISO 6429 and ISO 2022 norms, the descriptions of
|
|
|
|
.\" an actual vt100, and the xterm docs (ctlseqs.ms).
|
|
|
|
.\" Substantial portions of this text are derived from a write-up
|
|
|
|
.\" by Eric S. Raymond <esr@thyrsus.com>.
|
|
|
|
.\"
|
|
|
|
.\" Tiny correction, aeb, 961107.
|
|
|
|
.\"
|
2006-05-29 21:25:26 +00:00
|
|
|
.\" 2006-05-27, Several corrections - Thomas E. Dickey
|
|
|
|
.\"
|
intro.1, clock_getres.2, execve.2, fcntl.2, iopl.2, lseek.2, mknod.2, mmap.2, mount.2, mq_getsetattr.2, pidfd_open.2, prctl.2, setns.2, sgetmask.2, sigaction.2, stat.2, statx.2, sync.2, syscalls.2, syslog.2, timerfd_create.2, umask.2, a64l.3, aio_init.3, atoi.3, dladdr.3, fread.3, getpt.3, isfdtype.3, malloc_stats.3, malloc_trim.3, mkfifo.3, mq_close.3, mq_open.3, mq_receive.3, mq_send.3, mq_unlink.3, posix_memalign.3, posix_openpt.3, pthread_atfork.3, pthread_rwlockattr_setkind_np.3, regex.3, scanf.3, sem_close.3, sem_destroy.3, sem_init.3, sem_open.3, sem_post.3, sem_unlink.3, sigset.3, sigvec.3, strftime.3, termios.3, console_codes.4, dsp56k.4, fd.4, lp.4, mouse.4, pts.4, sk98lin.4, dir_colors.5, proc.5, resolv.conf.5, termcap.5, utmp.5, aio.7, armscii-8.7, arp.7, capabilities.7, cgroups.7, charsets.7, cp1251.7, cp1252.7, environ.7, glob.7, inode.7, iso_8859-1.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-15.7, iso_8859-16.7, iso_8859-2.7, iso_8859-3.7, iso_8859-4.7, iso_8859-5.7, iso_8859-6.7, iso_8859-7.7, iso_8859-8.7, iso_8859-9.7, keyrings.7, koi8-r.7, koi8-u.7, mailaddr.7, man-pages.7, netdevice.7, operator.7, persistent-keyring.7, process-keyring.7, pthreads.7, pty.7, raw.7, regex.7, session-keyring.7, shm_overview.7, signal.7, socket.7, suffixes.7, thread-keyring.7, unicode.7, units.7, uri.7, user-keyring.7, user-session-keyring.7, iconvconfig.8, ld.so.8, zic.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-13 08:01:14 +00:00
|
|
|
.TH CONSOLE_CODES 4 2020-08-13 "Linux" "Linux Programmer's Manual"
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH NAME
|
|
|
|
console_codes \- Linux console escape and control sequences
|
|
|
|
.SH DESCRIPTION
|
|
|
|
The Linux console implements a large subset of the VT102 and ECMA-48/ISO
|
|
|
|
6429/ANSI X3.64 terminal controls, plus certain private-mode sequences
|
2012-05-06 20:09:52 +00:00
|
|
|
for changing the color palette, character-set mapping, and so on.
|
2004-11-03 13:51:07 +00:00
|
|
|
In the tabular descriptions below, the second column gives ECMA-48 or DEC
|
|
|
|
mnemonics (the latter if prefixed with DEC) for the given function.
|
|
|
|
Sequences without a mnemonic are neither ECMA-48 nor VT102.
|
getent.1, intro.1, time.1, _exit.2, alloc_hugepages.2, arch_prctl.2, clock_getres.2, getitimer.2, getrusage.2, intro.2, ioctl_console.2, ioctl_list.2, ioctl_tty.2, kill.2, madvise.2, mlock.2, mmap.2, mount.2, open.2, outb.2, perf_event_open.2, ptrace.2, quotactl.2, reboot.2, recv.2, remap_file_pages.2, select.2, semctl.2, send.2, set_tid_address.2, seteuid.2, shmop.2, statfs.2, times.2, truncate.2, uname.2, uselib.2, vm86.2, wait.2, a64l.3, aio_cancel.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3, alloca.3, argz_add.3, atexit.3, basename.3, bindresvport.3, cacos.3, cacosh.3, carg.3, casin.3, casinh.3, catan.3, catanh.3, catgets.3, catopen.3, cexp.3, cfree.3, cimag.3, clog.3, conj.3, creal.3, ctime.3, des_crypt.3, dirfd.3, div.3, dlopen.3, envz_add.3, exit.3, fenv.3, flockfile.3, fmtmsg.3, fpclassify.3, fpurge.3, fseeko.3, ftime.3, ftok.3, ftw.3, getcontext.3, getcwd.3, getdate.3, getfsent.3, getgrent.3, getgrnam.3, gethostbyname.3, getipnodebyname.3, getlogin.3, getpwnam.3, getrpcent.3, getspnam.3, getutent.3, gsignal.3, hsearch.3, lockf.3, logb.3, login.3, lseek64.3, makecontext.3, malloc.3, malloc_hook.3, nan.3, nl_langinfo.3, openpty.3, posix_spawn.3, putenv.3, realpath.3, remainder.3, rint.3, rpc.3, rtime.3, scandir.3, setlogmask.3, shm_open.3, sigpause.3, statvfs.3, stdio_ext.3, strfmon.3, strftime.3, strptime.3, strtod.3, strtol.3, strtoul.3, swab.3, sysconf.3, syslog.3, tcgetpgrp.3, tempnam.3, termios.3, tmpfile.3, tmpnam.3, ttyslot.3, tzset.3, ualarm.3, usleep.3, wordexp.3, xcrypt.3, xdr.3, cciss.4, console_codes.4, full.4, hd.4, loop.4, mem.4, null.4, pts.4, ram.4, random.4, tty.4, ttyS.4, vcs.4, networks.5, nsswitch.conf.5, protocols.5, resolv.conf.5, slabinfo.5, termcap.5, ascii.7, boot.7, bootparam.7, charsets.7, icmp.7, inode.7, man.7, netdevice.7, posixoptions.7, ld.so.8: srcfix: use .PP instead of .LP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:12:54 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
After all the normal output processing has been done, and a
|
|
|
|
stream of characters arrives at the console driver for actual
|
|
|
|
printing, the first thing that happens is a translation from
|
|
|
|
the code used for processing to the code used for printing.
|
getent.1, intro.1, time.1, _exit.2, alloc_hugepages.2, arch_prctl.2, clock_getres.2, getitimer.2, getrusage.2, intro.2, ioctl_console.2, ioctl_list.2, ioctl_tty.2, kill.2, madvise.2, mlock.2, mmap.2, mount.2, open.2, outb.2, perf_event_open.2, ptrace.2, quotactl.2, reboot.2, recv.2, remap_file_pages.2, select.2, semctl.2, send.2, set_tid_address.2, seteuid.2, shmop.2, statfs.2, times.2, truncate.2, uname.2, uselib.2, vm86.2, wait.2, a64l.3, aio_cancel.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3, alloca.3, argz_add.3, atexit.3, basename.3, bindresvport.3, cacos.3, cacosh.3, carg.3, casin.3, casinh.3, catan.3, catanh.3, catgets.3, catopen.3, cexp.3, cfree.3, cimag.3, clog.3, conj.3, creal.3, ctime.3, des_crypt.3, dirfd.3, div.3, dlopen.3, envz_add.3, exit.3, fenv.3, flockfile.3, fmtmsg.3, fpclassify.3, fpurge.3, fseeko.3, ftime.3, ftok.3, ftw.3, getcontext.3, getcwd.3, getdate.3, getfsent.3, getgrent.3, getgrnam.3, gethostbyname.3, getipnodebyname.3, getlogin.3, getpwnam.3, getrpcent.3, getspnam.3, getutent.3, gsignal.3, hsearch.3, lockf.3, logb.3, login.3, lseek64.3, makecontext.3, malloc.3, malloc_hook.3, nan.3, nl_langinfo.3, openpty.3, posix_spawn.3, putenv.3, realpath.3, remainder.3, rint.3, rpc.3, rtime.3, scandir.3, setlogmask.3, shm_open.3, sigpause.3, statvfs.3, stdio_ext.3, strfmon.3, strftime.3, strptime.3, strtod.3, strtol.3, strtoul.3, swab.3, sysconf.3, syslog.3, tcgetpgrp.3, tempnam.3, termios.3, tmpfile.3, tmpnam.3, ttyslot.3, tzset.3, ualarm.3, usleep.3, wordexp.3, xcrypt.3, xdr.3, cciss.4, console_codes.4, full.4, hd.4, loop.4, mem.4, null.4, pts.4, ram.4, random.4, tty.4, ttyS.4, vcs.4, networks.5, nsswitch.conf.5, protocols.5, resolv.conf.5, slabinfo.5, termcap.5, ascii.7, boot.7, bootparam.7, charsets.7, icmp.7, inode.7, man.7, netdevice.7, posixoptions.7, ld.so.8: srcfix: use .PP instead of .LP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:12:54 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
If the console is in UTF-8 mode, then the incoming bytes are
|
2007-04-12 22:42:49 +00:00
|
|
|
first assembled into 16-bit Unicode codes.
|
time.1, get_kernel_syms.2, getitimer.2, open.2, perf_event_open.2, wait.2, alloca.3, bcmp.3, catopen.3, fputwc.3, iconv.3, iswalnum.3, iswalpha.3, iswblank.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, mbsinit.3, putwchar.3, rcmd.3, rexec.3, sigqueue.3, strverscmp.3, wctrans.3, wctype.3, wcwidth.3, console_codes.4, initrd.4, st.4, elf.5, nss.5, ip.7, netdevice.7, path_resolution.7, socket.7, udp.7, ld.so.8: grfix: s/Otherwise /Otherwise, /
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2014-04-28 08:15:47 +00:00
|
|
|
Otherwise, each byte is transformed according to the current mapping table
|
2006-05-29 21:25:26 +00:00
|
|
|
(which translates it to a Unicode value).
|
2008-06-28 05:07:24 +00:00
|
|
|
See the \fBCharacter Sets\fP section below for discussion.
|
getent.1, intro.1, time.1, _exit.2, alloc_hugepages.2, arch_prctl.2, clock_getres.2, getitimer.2, getrusage.2, intro.2, ioctl_console.2, ioctl_list.2, ioctl_tty.2, kill.2, madvise.2, mlock.2, mmap.2, mount.2, open.2, outb.2, perf_event_open.2, ptrace.2, quotactl.2, reboot.2, recv.2, remap_file_pages.2, select.2, semctl.2, send.2, set_tid_address.2, seteuid.2, shmop.2, statfs.2, times.2, truncate.2, uname.2, uselib.2, vm86.2, wait.2, a64l.3, aio_cancel.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3, alloca.3, argz_add.3, atexit.3, basename.3, bindresvport.3, cacos.3, cacosh.3, carg.3, casin.3, casinh.3, catan.3, catanh.3, catgets.3, catopen.3, cexp.3, cfree.3, cimag.3, clog.3, conj.3, creal.3, ctime.3, des_crypt.3, dirfd.3, div.3, dlopen.3, envz_add.3, exit.3, fenv.3, flockfile.3, fmtmsg.3, fpclassify.3, fpurge.3, fseeko.3, ftime.3, ftok.3, ftw.3, getcontext.3, getcwd.3, getdate.3, getfsent.3, getgrent.3, getgrnam.3, gethostbyname.3, getipnodebyname.3, getlogin.3, getpwnam.3, getrpcent.3, getspnam.3, getutent.3, gsignal.3, hsearch.3, lockf.3, logb.3, login.3, lseek64.3, makecontext.3, malloc.3, malloc_hook.3, nan.3, nl_langinfo.3, openpty.3, posix_spawn.3, putenv.3, realpath.3, remainder.3, rint.3, rpc.3, rtime.3, scandir.3, setlogmask.3, shm_open.3, sigpause.3, statvfs.3, stdio_ext.3, strfmon.3, strftime.3, strptime.3, strtod.3, strtol.3, strtoul.3, swab.3, sysconf.3, syslog.3, tcgetpgrp.3, tempnam.3, termios.3, tmpfile.3, tmpnam.3, ttyslot.3, tzset.3, ualarm.3, usleep.3, wordexp.3, xcrypt.3, xdr.3, cciss.4, console_codes.4, full.4, hd.4, loop.4, mem.4, null.4, pts.4, ram.4, random.4, tty.4, ttyS.4, vcs.4, networks.5, nsswitch.conf.5, protocols.5, resolv.conf.5, slabinfo.5, termcap.5, ascii.7, boot.7, bootparam.7, charsets.7, icmp.7, inode.7, man.7, netdevice.7, posixoptions.7, ld.so.8: srcfix: use .PP instead of .LP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:12:54 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
In the normal case, the Unicode value is converted to a font index,
|
|
|
|
and this is stored in video memory, so that the corresponding glyph
|
|
|
|
(as found in video ROM) appears on the screen.
|
|
|
|
Note that the use of Unicode (and the design of the PC hardware)
|
|
|
|
allows us to use 512 different glyphs simultaneously.
|
getent.1, intro.1, time.1, _exit.2, alloc_hugepages.2, arch_prctl.2, clock_getres.2, getitimer.2, getrusage.2, intro.2, ioctl_console.2, ioctl_list.2, ioctl_tty.2, kill.2, madvise.2, mlock.2, mmap.2, mount.2, open.2, outb.2, perf_event_open.2, ptrace.2, quotactl.2, reboot.2, recv.2, remap_file_pages.2, select.2, semctl.2, send.2, set_tid_address.2, seteuid.2, shmop.2, statfs.2, times.2, truncate.2, uname.2, uselib.2, vm86.2, wait.2, a64l.3, aio_cancel.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3, alloca.3, argz_add.3, atexit.3, basename.3, bindresvport.3, cacos.3, cacosh.3, carg.3, casin.3, casinh.3, catan.3, catanh.3, catgets.3, catopen.3, cexp.3, cfree.3, cimag.3, clog.3, conj.3, creal.3, ctime.3, des_crypt.3, dirfd.3, div.3, dlopen.3, envz_add.3, exit.3, fenv.3, flockfile.3, fmtmsg.3, fpclassify.3, fpurge.3, fseeko.3, ftime.3, ftok.3, ftw.3, getcontext.3, getcwd.3, getdate.3, getfsent.3, getgrent.3, getgrnam.3, gethostbyname.3, getipnodebyname.3, getlogin.3, getpwnam.3, getrpcent.3, getspnam.3, getutent.3, gsignal.3, hsearch.3, lockf.3, logb.3, login.3, lseek64.3, makecontext.3, malloc.3, malloc_hook.3, nan.3, nl_langinfo.3, openpty.3, posix_spawn.3, putenv.3, realpath.3, remainder.3, rint.3, rpc.3, rtime.3, scandir.3, setlogmask.3, shm_open.3, sigpause.3, statvfs.3, stdio_ext.3, strfmon.3, strftime.3, strptime.3, strtod.3, strtol.3, strtoul.3, swab.3, sysconf.3, syslog.3, tcgetpgrp.3, tempnam.3, termios.3, tmpfile.3, tmpnam.3, ttyslot.3, tzset.3, ualarm.3, usleep.3, wordexp.3, xcrypt.3, xdr.3, cciss.4, console_codes.4, full.4, hd.4, loop.4, mem.4, null.4, pts.4, ram.4, random.4, tty.4, ttyS.4, vcs.4, networks.5, nsswitch.conf.5, protocols.5, resolv.conf.5, slabinfo.5, termcap.5, ascii.7, boot.7, bootparam.7, charsets.7, icmp.7, inode.7, man.7, netdevice.7, posixoptions.7, ld.so.8: srcfix: use .PP instead of .LP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:12:54 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
If the current Unicode value is a control character, or we are
|
|
|
|
currently processing an escape sequence, the value will treated
|
2007-04-12 22:42:49 +00:00
|
|
|
specially.
|
|
|
|
Instead of being turned into a font index and rendered as
|
2004-11-03 13:51:07 +00:00
|
|
|
a glyph, it may trigger cursor movement or other control functions.
|
2008-06-28 05:07:24 +00:00
|
|
|
See the \fBLinux Console Controls\fP section below for discussion.
|
getent.1, intro.1, time.1, _exit.2, alloc_hugepages.2, arch_prctl.2, clock_getres.2, getitimer.2, getrusage.2, intro.2, ioctl_console.2, ioctl_list.2, ioctl_tty.2, kill.2, madvise.2, mlock.2, mmap.2, mount.2, open.2, outb.2, perf_event_open.2, ptrace.2, quotactl.2, reboot.2, recv.2, remap_file_pages.2, select.2, semctl.2, send.2, set_tid_address.2, seteuid.2, shmop.2, statfs.2, times.2, truncate.2, uname.2, uselib.2, vm86.2, wait.2, a64l.3, aio_cancel.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3, alloca.3, argz_add.3, atexit.3, basename.3, bindresvport.3, cacos.3, cacosh.3, carg.3, casin.3, casinh.3, catan.3, catanh.3, catgets.3, catopen.3, cexp.3, cfree.3, cimag.3, clog.3, conj.3, creal.3, ctime.3, des_crypt.3, dirfd.3, div.3, dlopen.3, envz_add.3, exit.3, fenv.3, flockfile.3, fmtmsg.3, fpclassify.3, fpurge.3, fseeko.3, ftime.3, ftok.3, ftw.3, getcontext.3, getcwd.3, getdate.3, getfsent.3, getgrent.3, getgrnam.3, gethostbyname.3, getipnodebyname.3, getlogin.3, getpwnam.3, getrpcent.3, getspnam.3, getutent.3, gsignal.3, hsearch.3, lockf.3, logb.3, login.3, lseek64.3, makecontext.3, malloc.3, malloc_hook.3, nan.3, nl_langinfo.3, openpty.3, posix_spawn.3, putenv.3, realpath.3, remainder.3, rint.3, rpc.3, rtime.3, scandir.3, setlogmask.3, shm_open.3, sigpause.3, statvfs.3, stdio_ext.3, strfmon.3, strftime.3, strptime.3, strtod.3, strtol.3, strtoul.3, swab.3, sysconf.3, syslog.3, tcgetpgrp.3, tempnam.3, termios.3, tmpfile.3, tmpnam.3, ttyslot.3, tzset.3, ualarm.3, usleep.3, wordexp.3, xcrypt.3, xdr.3, cciss.4, console_codes.4, full.4, hd.4, loop.4, mem.4, null.4, pts.4, ram.4, random.4, tty.4, ttyS.4, vcs.4, networks.5, nsswitch.conf.5, protocols.5, resolv.conf.5, slabinfo.5, termcap.5, ascii.7, boot.7, bootparam.7, charsets.7, icmp.7, inode.7, man.7, netdevice.7, posixoptions.7, ld.so.8: srcfix: use .PP instead of .LP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:12:54 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
It is generally not good practice to hard-wire terminal controls into
|
2007-04-12 22:42:49 +00:00
|
|
|
programs.
|
|
|
|
Linux supports a
|
2004-11-03 13:51:07 +00:00
|
|
|
.BR terminfo (5)
|
2007-04-12 22:42:49 +00:00
|
|
|
database of terminal capabilities.
|
2004-11-03 13:51:07 +00:00
|
|
|
Rather than emitting console escape sequences by hand, you will almost
|
|
|
|
always want to use a terminfo-aware screen library or utility such as
|
|
|
|
.BR ncurses (3),
|
2007-04-12 22:42:49 +00:00
|
|
|
.BR tput (1),
|
2004-11-03 13:51:07 +00:00
|
|
|
or
|
|
|
|
.BR reset (1).
|
intro.1, time.1, _syscall.2, accept.2, capget.2, clone.2, execve.2, fcntl.2, intro.2, ioctl_list.2, ioprio_set.2, kill.2, mlock.2, nanosleep.2, perf_event_open.2, select.2, stat.2, times.2, ustat.2, vfork.2, wait.2, cfree.3, dbopen.3, dlopen.3, fenv.3, fmtmsg.3, gamma.3, getaddrinfo.3, gethostbyname.3, getnameinfo.3, getspnam.3, login.3, printf.3, regex.3, stdio.3, sysconf.3, termios.3, ttyslot.3, undocumented.3, wordexp.3, console_codes.4, initrd.4, mouse.4, random.4, st.4, tty_ioctl.4, wavelan.4, charmap.5, dir_colors.5, hosts.5, termcap.5, armscii-8.7, boot.7, bootparam.7, capabilities.7, charsets.7, ddp.7, futex.7, glob.7, ipv6.7, iso_8859-1.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-15.7, iso_8859-16.7, iso_8859-2.7, iso_8859-3.7, iso_8859-4.7, iso_8859-5.7, iso_8859-6.7, iso_8859-7.7, iso_8859-8.7, iso_8859-9.7, koi8-r.7, koi8-u.7, man.7, numa.7, path_resolution.7, pipe.7, posixoptions.7, pthreads.7, pty.7, rtnetlink.7, signal.7, time.7, udp.7, udplite.7, unicode.7, uri.7, utf-8.7: G;lobal fix: remove unneeded double quotes in .SS headings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-24 18:02:18 +00:00
|
|
|
.SS Linux console controls
|
2004-11-03 13:51:07 +00:00
|
|
|
This section describes all the control characters and escape sequences
|
2007-06-08 11:56:22 +00:00
|
|
|
that invoke special functions (i.e., anything other than writing a
|
2007-04-12 22:42:49 +00:00
|
|
|
glyph at the current cursor location) on the Linux console.
|
2007-06-15 19:19:04 +00:00
|
|
|
.PP
|
|
|
|
.B "Control characters"
|
_syscall.2, capget.2, ioprio_set.2, semop.2, send.2, ctime.3, dysize.3, fenv.3, fmtmsg.3, ftok.3, ftw.3, getaddrinfo.3, getgrent_r.3, gethostbyname.3, getopt.3, getpw.3, getpwent_r.3, getsubopt.3, getutent.3, glob.3, if_nameindex.3, inet.3, lseek64.3, malloc_hook.3, mbrtowc.3, mkstemp.3, mq_receive.3, mq_send.3, posix_spawn.3, putgrent.3, putpwent.3, qsort.3, raise.3, rand.3, rtime.3, setaliasent.3, setbuf.3, shm_open.3, significand.3, sigqueue.3, statvfs.3, strfromd.3, strptime.3, strtol.3, strtoul.3, termios.3, tgamma.3, timeradd.3, tsearch.3, tzset.3, updwtmp.3, usleep.3, wcstok.3, console_codes.4, hd.4, hpsa.4, mem.4, null.4, ram.4, sd.4, ttyS.4, filesystems.5, group.5, passwd.5, shells.5, termcap.5, ttytype.5, tzfile.5, utmp.5, ascii.7, bootparam.7, complex.7, cpuset.7, epoll.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 21:40:17 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
A character is a control character if (before transformation
|
|
|
|
according to the mapping table) it has one of the 14 codes
|
|
|
|
00 (NUL), 07 (BEL), 08 (BS), 09 (HT), 0a (LF), 0b (VT),
|
|
|
|
0c (FF), 0d (CR), 0e (SO), 0f (SI), 18 (CAN), 1a (SUB),
|
|
|
|
1b (ESC), 7f (DEL).
|
2008-06-05 20:14:50 +00:00
|
|
|
One can set a "display control characters" mode (see below),
|
2004-11-03 13:51:07 +00:00
|
|
|
and allow 07, 09, 0b, 18, 1a, 7f to be displayed as glyphs.
|
ctime.3, drand48.3, fmtmsg.3, getnameinfo.3, gsignal.3, strftime.3, strptime.3, cciss.4, console_codes.4, sd.4, sk98lin.4, st.4, proc.5, charsets.7, cpuset.7, pty.7, suffixes.7, udplite.7, unix.7: Use en-dash for ranges
Based on a patch by Bjarni Ingi Gislason.
Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-19 20:01:55 +00:00
|
|
|
On the other hand, in UTF-8 mode all codes 00\(en1f are regarded
|
2008-06-05 20:14:50 +00:00
|
|
|
as control characters, regardless of any "display control characters"
|
2004-11-03 13:51:07 +00:00
|
|
|
mode.
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
If we have a control character, it is acted upon immediately
|
|
|
|
and then discarded (even in the middle of an escape sequence)
|
|
|
|
and the escape sequence continues with the next character.
|
|
|
|
(However, ESC starts a new escape sequence, possibly aborting a previous
|
|
|
|
unfinished one, and CAN and SUB abort any escape sequence.)
|
|
|
|
The recognized control characters are BEL, BS, HT, LF, VT, FF,
|
2007-04-12 22:42:49 +00:00
|
|
|
CR, SO, SI, CAN, SUB, ESC, DEL, CSI.
|
|
|
|
They do what one would expect:
|
2004-11-03 13:51:07 +00:00
|
|
|
.HP
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
BEL (0x07, \fB\(haG\fP) beeps;
|
2004-11-03 13:51:07 +00:00
|
|
|
.HP
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
BS (0x08, \fB\(haH\fP) backspaces one column
|
2004-11-03 13:51:07 +00:00
|
|
|
(but not past the beginning of the line);
|
|
|
|
.HP
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
HT (0x09, \fB\(haI\fP) goes to the next tab stop or to the end of the line
|
2004-11-03 13:51:07 +00:00
|
|
|
if there is no earlier tab stop;
|
|
|
|
.HP
|
2021-01-09 10:02:33 +00:00
|
|
|
LF (0x0A, \fB\(haJ\fP), VT (0x0B, \fB\(haK\fP), and
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
FF (0x0C, \fB\(haL\fP) all give a linefeed,
|
2008-03-19 08:40:20 +00:00
|
|
|
and if LF/NL (new-line mode) is set also a carriage return;
|
2004-11-03 13:51:07 +00:00
|
|
|
.HP
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
CR (0x0D, \fB\(haM\fP) gives a carriage return;
|
2004-11-03 13:51:07 +00:00
|
|
|
.HP
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
SO (0x0E, \fB\(haN\fP) activates the G1 character set;
|
2004-11-03 13:51:07 +00:00
|
|
|
.HP
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
SI (0x0F, \fB\(haO\fP) activates the G0 character set;
|
2004-11-03 13:51:07 +00:00
|
|
|
.HP
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
CAN (0x18, \fB\(haX\fP) and SUB (0x1A, \fB\(haZ\fP) abort escape sequences;
|
2004-11-03 13:51:07 +00:00
|
|
|
.HP
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
ESC (0x1B, \fB\(ha[\fP) starts an escape sequence;
|
2004-11-03 13:51:07 +00:00
|
|
|
.HP
|
|
|
|
DEL (0x7F) is ignored;
|
|
|
|
.HP
|
|
|
|
CSI (0x9B) is equivalent to ESC [.
|
2007-06-15 19:19:04 +00:00
|
|
|
.PP
|
|
|
|
.B "ESC- but not CSI-sequences"
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
.ad l
|
2004-11-03 13:51:07 +00:00
|
|
|
.TS
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
l l lx.
|
2004-11-03 13:51:07 +00:00
|
|
|
ESC c RIS Reset.
|
|
|
|
ESC D IND Linefeed.
|
|
|
|
ESC E NEL Newline.
|
|
|
|
ESC H HTS Set tab stop at current column.
|
|
|
|
ESC M RI Reverse linefeed.
|
2006-05-29 21:25:26 +00:00
|
|
|
ESC Z DECID T{
|
|
|
|
DEC private identification. The kernel
|
|
|
|
returns the string ESC [ ? 6 c, claiming
|
|
|
|
that it is a VT102.
|
|
|
|
T}
|
|
|
|
ESC 7 DECSC T{
|
|
|
|
Save current state (cursor coordinates,
|
|
|
|
attributes, character sets pointed at by G0, G1).
|
|
|
|
T}
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
ESC 8 DECRC T{
|
|
|
|
Restore state most recently saved by ESC 7.
|
|
|
|
T}
|
2004-11-03 13:51:07 +00:00
|
|
|
ESC [ CSI Control sequence introducer
|
|
|
|
ESC % Start sequence selecting character set
|
|
|
|
ESC % @ \0\0\0Select default (ISO 646 / ISO 8859-1)
|
|
|
|
ESC % G \0\0\0Select UTF-8
|
|
|
|
ESC % 8 \0\0\0Select UTF-8 (obsolete)
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
ESC # 8 DECALN T{
|
|
|
|
DEC screen alignment test \- fill screen with E's
|
|
|
|
T}
|
|
|
|
ESC ( T{
|
|
|
|
Start sequence defining G0 character set
|
|
|
|
(followed by one of B, 0, U, K, as below)
|
|
|
|
T}
|
|
|
|
ESC ( B T{
|
|
|
|
Select default (ISO 8859-1 mapping)
|
|
|
|
T}
|
|
|
|
ESC ( 0 T{
|
|
|
|
Select VT100 graphics mapping
|
|
|
|
T}
|
|
|
|
ESC ( U T{
|
|
|
|
Select null mapping \- straight to character ROM
|
|
|
|
T}
|
|
|
|
ESC ( K T{
|
|
|
|
Select user mapping \- the map that is loaded by the utility \fBmapscrn\fP(8)
|
|
|
|
T}
|
|
|
|
ESC ) T{
|
|
|
|
Start sequence defining G1 (followed by one of B, 0, U, K, as above).
|
|
|
|
T}
|
2004-11-03 13:51:07 +00:00
|
|
|
ESC > DECPNM Set numeric keypad mode
|
|
|
|
ESC = DECPAM Set application keypad mode
|
2006-05-29 21:25:26 +00:00
|
|
|
ESC ] OSC T{
|
|
|
|
(Should be: Operating system command)
|
|
|
|
ESC ] P \fInrrggbb\fP: set palette, with parameter
|
|
|
|
given in 7 hexadecimal digits after the final P :-(.
|
ctime.3, drand48.3, fmtmsg.3, getnameinfo.3, gsignal.3, strftime.3, strptime.3, cciss.4, console_codes.4, sd.4, sk98lin.4, st.4, proc.5, charsets.7, cpuset.7, pty.7, suffixes.7, udplite.7, unix.7: Use en-dash for ranges
Based on a patch by Bjarni Ingi Gislason.
Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-19 20:01:55 +00:00
|
|
|
Here \fIn\fP is the color (0\(en15), and \fIrrggbb\fP indicates
|
|
|
|
the red/green/blue values (0\(en255).
|
2006-05-29 21:25:26 +00:00
|
|
|
ESC ] R: reset palette
|
|
|
|
T}
|
2004-11-03 13:51:07 +00:00
|
|
|
.TE
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
.ad
|
2007-06-15 19:19:04 +00:00
|
|
|
.PP
|
|
|
|
.B "ECMA-48 CSI sequences"
|
_syscall.2, capget.2, ioprio_set.2, semop.2, send.2, ctime.3, dysize.3, fenv.3, fmtmsg.3, ftok.3, ftw.3, getaddrinfo.3, getgrent_r.3, gethostbyname.3, getopt.3, getpw.3, getpwent_r.3, getsubopt.3, getutent.3, glob.3, if_nameindex.3, inet.3, lseek64.3, malloc_hook.3, mbrtowc.3, mkstemp.3, mq_receive.3, mq_send.3, posix_spawn.3, putgrent.3, putpwent.3, qsort.3, raise.3, rand.3, rtime.3, setaliasent.3, setbuf.3, shm_open.3, significand.3, sigqueue.3, statvfs.3, strfromd.3, strptime.3, strtol.3, strtoul.3, termios.3, tgamma.3, timeradd.3, tsearch.3, tzset.3, updwtmp.3, usleep.3, wcstok.3, console_codes.4, hd.4, hpsa.4, mem.4, null.4, ram.4, sd.4, ttyS.4, filesystems.5, group.5, passwd.5, shells.5, termcap.5, ttytype.5, tzfile.5, utmp.5, ascii.7, bootparam.7, complex.7, cpuset.7, epoll.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 21:40:17 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
CSI (or ESC [) is followed by a sequence of parameters,
|
|
|
|
at most NPAR (16), that are decimal numbers separated by
|
2007-04-12 22:42:49 +00:00
|
|
|
semicolons.
|
|
|
|
An empty or absent parameter is taken to be 0.
|
2004-11-03 13:51:07 +00:00
|
|
|
The sequence of parameters may be preceded by a single question mark.
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
However, after CSI [ (or ESC [ [) a single character is read
|
2007-04-12 22:42:49 +00:00
|
|
|
and this entire sequence is ignored.
|
|
|
|
(The idea is to ignore an echoed function key.)
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
The action of a CSI sequence is determined by its final character.
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
.ad l
|
2004-11-03 13:51:07 +00:00
|
|
|
.TS
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
l l lx.
|
|
|
|
@ ICH T{
|
|
|
|
Insert the indicated # of blank characters.
|
|
|
|
T}
|
|
|
|
A CUU T{
|
|
|
|
Move cursor up the indicated # of rows.
|
|
|
|
T}
|
|
|
|
B CUD T{
|
|
|
|
Move cursor down the indicated # of rows.
|
|
|
|
T}
|
|
|
|
C CUF T{
|
|
|
|
Move cursor right the indicated # of columns.
|
|
|
|
T}
|
|
|
|
D CUB T{
|
|
|
|
Move cursor left the indicated # of columns.
|
|
|
|
T}
|
|
|
|
E CNL T{
|
|
|
|
Move cursor down the indicated # of rows, to column 1.
|
|
|
|
T}
|
|
|
|
F CPL T{
|
|
|
|
Move cursor up the indicated # of rows, to column 1.
|
|
|
|
T}
|
|
|
|
G CHA T{
|
|
|
|
Move cursor to indicated column in current row.
|
|
|
|
T}
|
|
|
|
H CUP T{
|
|
|
|
Move cursor to the indicated row, column (origin at 1,1).
|
|
|
|
T}
|
|
|
|
J ED T{
|
|
|
|
Erase display (default: from cursor to end of display).
|
|
|
|
T}
|
|
|
|
T{
|
|
|
|
ESC [ 1 J: erase from start to cursor.
|
|
|
|
T}
|
|
|
|
T{
|
|
|
|
ESC [ 2 J: erase whole display.
|
|
|
|
T}
|
|
|
|
T{
|
|
|
|
ESC [ 3 J: erase whole display including scroll-back
|
|
|
|
buffer (since Linux 3.0).
|
|
|
|
T}
|
2011-09-15 03:02:52 +00:00
|
|
|
.\" ESC [ 3 J: commit f8df13e0a901fe55631fed66562369b4dba40f8b
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
K EL T{
|
|
|
|
Erase line (default: from cursor to end of line).
|
|
|
|
T}
|
|
|
|
T{
|
|
|
|
ESC [ 1 K: erase from start of line to cursor.
|
|
|
|
T}
|
|
|
|
T{
|
|
|
|
ESC [ 2 K: erase whole line.
|
|
|
|
T}
|
|
|
|
L IL T{
|
|
|
|
Insert the indicated # of blank lines.
|
|
|
|
T}
|
|
|
|
M DL T{
|
|
|
|
Delete the indicated # of lines.
|
|
|
|
T}
|
|
|
|
P DCH T{
|
|
|
|
Delete the indicated # of characters on current line.
|
|
|
|
T}
|
|
|
|
X ECH T{
|
|
|
|
Erase the indicated # of characters on current line.
|
|
|
|
T}
|
|
|
|
a HPR T{
|
|
|
|
Move cursor right the indicated # of columns.
|
|
|
|
T}
|
|
|
|
c DA T{
|
|
|
|
Answer ESC [ ? 6 c: "I am a VT102".
|
|
|
|
T}
|
|
|
|
d VPA T{
|
|
|
|
Move cursor to the indicated row, current column.
|
|
|
|
T}
|
|
|
|
e VPR T{
|
|
|
|
Move cursor down the indicated # of rows.
|
|
|
|
T}
|
|
|
|
f HVP T{
|
|
|
|
Move cursor to the indicated row, column.
|
|
|
|
T}
|
|
|
|
g TBC T{
|
|
|
|
Without parameter: clear tab stop at current position.
|
|
|
|
T}
|
|
|
|
T{
|
|
|
|
ESC [ 3 g: delete all tab stops.
|
|
|
|
T}
|
2004-11-03 13:51:07 +00:00
|
|
|
h SM Set Mode (see below).
|
|
|
|
l RM Reset Mode (see below).
|
|
|
|
m SGR Set attributes (see below).
|
|
|
|
n DSR Status report (see below).
|
|
|
|
q DECLL Set keyboard LEDs.
|
|
|
|
ESC [ 0 q: clear all LEDs
|
|
|
|
ESC [ 1 q: set Scroll Lock LED
|
|
|
|
ESC [ 2 q: set Num Lock LED
|
|
|
|
ESC [ 3 q: set Caps Lock LED
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
r DECSTBM T{
|
|
|
|
Set scrolling region; parameters are top and bottom row.
|
|
|
|
T}
|
2004-11-03 13:51:07 +00:00
|
|
|
s ? Save cursor location.
|
|
|
|
u ? Restore cursor location.
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
\` HPA T{
|
|
|
|
Move cursor to indicated column in current row.
|
|
|
|
T}
|
2004-11-03 13:51:07 +00:00
|
|
|
.TE
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
.ad
|
2007-06-15 19:19:04 +00:00
|
|
|
.PP
|
|
|
|
.B ECMA-48 Set Graphics Rendition
|
_syscall.2, capget.2, ioprio_set.2, semop.2, send.2, ctime.3, dysize.3, fenv.3, fmtmsg.3, ftok.3, ftw.3, getaddrinfo.3, getgrent_r.3, gethostbyname.3, getopt.3, getpw.3, getpwent_r.3, getsubopt.3, getutent.3, glob.3, if_nameindex.3, inet.3, lseek64.3, malloc_hook.3, mbrtowc.3, mkstemp.3, mq_receive.3, mq_send.3, posix_spawn.3, putgrent.3, putpwent.3, qsort.3, raise.3, rand.3, rtime.3, setaliasent.3, setbuf.3, shm_open.3, significand.3, sigqueue.3, statvfs.3, strfromd.3, strptime.3, strtol.3, strtoul.3, termios.3, tgamma.3, timeradd.3, tsearch.3, tzset.3, updwtmp.3, usleep.3, wcstok.3, console_codes.4, hd.4, hpsa.4, mem.4, null.4, ram.4, sd.4, ttyS.4, filesystems.5, group.5, passwd.5, shells.5, termcap.5, ttytype.5, tzfile.5, utmp.5, ascii.7, bootparam.7, complex.7, cpuset.7, epoll.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 21:40:17 +00:00
|
|
|
.PP
|
2007-04-12 22:42:49 +00:00
|
|
|
The ECMA-48 SGR sequence ESC [ \fIparameters\fP m sets display
|
2006-05-29 21:25:26 +00:00
|
|
|
attributes.
|
2007-04-12 22:42:49 +00:00
|
|
|
Several attributes can be set in the same sequence, separated by
|
2006-05-29 21:25:26 +00:00
|
|
|
semicolons.
|
2007-04-12 22:42:49 +00:00
|
|
|
An empty parameter (between semicolons or string initiator or
|
2006-05-29 21:25:26 +00:00
|
|
|
terminator) is interpreted as a zero.
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
.ad l
|
2004-11-03 13:51:07 +00:00
|
|
|
.TS
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
l lx.
|
2006-05-29 21:25:26 +00:00
|
|
|
param result
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
0 T{
|
|
|
|
reset all attributes to their defaults
|
|
|
|
T}
|
2004-11-03 13:51:07 +00:00
|
|
|
1 set bold
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
2 T{
|
|
|
|
set half-bright (simulated with color on a color display)
|
|
|
|
T}
|
2006-05-29 21:25:26 +00:00
|
|
|
4 T{
|
|
|
|
set underscore (simulated with color on a color display)
|
|
|
|
(the colors used to simulate dim or underline are set
|
|
|
|
using ESC ] ...)
|
|
|
|
T}
|
2004-11-03 13:51:07 +00:00
|
|
|
5 set blink
|
|
|
|
7 set reverse video
|
2006-05-29 21:25:26 +00:00
|
|
|
10 T{
|
|
|
|
reset selected mapping, display control flag,
|
|
|
|
and toggle meta flag (ECMA-48 says "primary font").
|
|
|
|
T}
|
|
|
|
11 T{
|
|
|
|
select null mapping, set display control flag,
|
|
|
|
reset toggle meta flag (ECMA-48 says "first alternate font").
|
|
|
|
T}
|
|
|
|
12 T{
|
|
|
|
select null mapping, set display control flag,
|
|
|
|
set toggle meta flag (ECMA-48 says "second alternate font").
|
|
|
|
The toggle meta flag
|
|
|
|
causes the high bit of a byte to be toggled
|
|
|
|
before the mapping table translation is done.
|
|
|
|
T}
|
2020-02-07 16:18:39 +00:00
|
|
|
21 T{
|
2020-02-07 16:26:21 +00:00
|
|
|
set underline; before Linux 4.17, this value
|
|
|
|
set normal intensity (as is done in many other terminals)
|
2020-02-07 16:18:39 +00:00
|
|
|
T}
|
2004-11-03 13:51:07 +00:00
|
|
|
22 set normal intensity
|
|
|
|
24 underline off
|
|
|
|
25 blink off
|
|
|
|
27 reverse video off
|
|
|
|
30 set black foreground
|
|
|
|
31 set red foreground
|
|
|
|
32 set green foreground
|
|
|
|
33 set brown foreground
|
|
|
|
34 set blue foreground
|
|
|
|
35 set magenta foreground
|
|
|
|
36 set cyan foreground
|
|
|
|
37 set white foreground
|
2020-02-07 16:18:39 +00:00
|
|
|
38 T{
|
|
|
|
256/24-bit foreground color follows, shoehorned into 16 basic colors
|
2020-02-07 16:26:21 +00:00
|
|
|
(before Linux 3.16: set underscore on, set default foreground color)
|
|
|
|
T}
|
|
|
|
39 T{
|
|
|
|
set default foreground color
|
|
|
|
(before Linux 3.16: set underscore off, set default foreground color)
|
2020-02-07 16:18:39 +00:00
|
|
|
T}
|
2004-11-03 13:51:07 +00:00
|
|
|
40 set black background
|
|
|
|
41 set red background
|
|
|
|
42 set green background
|
|
|
|
43 set brown background
|
|
|
|
44 set blue background
|
|
|
|
45 set magenta background
|
|
|
|
46 set cyan background
|
|
|
|
47 set white background
|
2020-02-07 16:18:39 +00:00
|
|
|
48 T{
|
|
|
|
256/24-bit background color follows, shoehorned into 8 basic colors
|
|
|
|
T}
|
2004-11-03 13:51:07 +00:00
|
|
|
49 set default background color
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
90..97 T{
|
|
|
|
set foreground to bright versions of 30..37
|
|
|
|
T}
|
|
|
|
100.107 T{
|
|
|
|
set background, same as 40..47 (bright not supported)
|
|
|
|
T}
|
2004-11-03 13:51:07 +00:00
|
|
|
.TE
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
.ad
|
2007-06-15 19:19:04 +00:00
|
|
|
.PP
|
2019-03-08 19:40:58 +00:00
|
|
|
Commands 38 and 48 require further arguments:
|
|
|
|
.TS
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
l lx.
|
2019-03-08 19:40:58 +00:00
|
|
|
;5;x T{
|
|
|
|
256 color: values 0..15 are IBGR (black, red, green, ... white),
|
|
|
|
16..231 a 6x6x6 color cube, 232..255 a grayscale ramp
|
|
|
|
T}
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
;2;r;g;b T{
|
|
|
|
24-bit color, r/g/b components are in the range 0..255
|
|
|
|
T}
|
2019-03-08 19:40:58 +00:00
|
|
|
.TE
|
|
|
|
.PP
|
2007-06-15 19:19:04 +00:00
|
|
|
.B ECMA-48 Mode Switches
|
2004-11-03 13:51:07 +00:00
|
|
|
.TP
|
|
|
|
ESC [ 3 h
|
|
|
|
DECCRM (default off): Display control chars.
|
|
|
|
.TP
|
|
|
|
ESC [ 4 h
|
|
|
|
DECIM (default off): Set insert mode.
|
|
|
|
.TP
|
|
|
|
ESC [ 20 h
|
2021-01-09 10:02:33 +00:00
|
|
|
LF/NL (default off): Automatically follow echo of LF, VT, or FF with CR.
|
2004-11-03 13:51:07 +00:00
|
|
|
.\"
|
2007-06-15 19:19:04 +00:00
|
|
|
.PP
|
|
|
|
.B ECMA-48 Status Report Commands
|
2004-11-03 13:51:07 +00:00
|
|
|
.\"
|
|
|
|
.TP
|
|
|
|
ESC [ 5 n
|
|
|
|
Device status report (DSR): Answer is ESC [ 0 n (Terminal OK).
|
|
|
|
.TP
|
|
|
|
ESC [ 6 n
|
|
|
|
Cursor position report (CPR): Answer is ESC [ \fIy\fP ; \fIx\fP R,
|
|
|
|
where \fIx,y\fP is the cursor location.
|
|
|
|
.\"
|
2007-06-15 19:19:04 +00:00
|
|
|
.PP
|
|
|
|
.B DEC Private Mode (DECSET/DECRST) sequences
|
_syscall.2, capget.2, ioprio_set.2, semop.2, send.2, ctime.3, dysize.3, fenv.3, fmtmsg.3, ftok.3, ftw.3, getaddrinfo.3, getgrent_r.3, gethostbyname.3, getopt.3, getpw.3, getpwent_r.3, getsubopt.3, getutent.3, glob.3, if_nameindex.3, inet.3, lseek64.3, malloc_hook.3, mbrtowc.3, mkstemp.3, mq_receive.3, mq_send.3, posix_spawn.3, putgrent.3, putpwent.3, qsort.3, raise.3, rand.3, rtime.3, setaliasent.3, setbuf.3, shm_open.3, significand.3, sigqueue.3, statvfs.3, strfromd.3, strptime.3, strtol.3, strtoul.3, termios.3, tgamma.3, timeradd.3, tsearch.3, tzset.3, updwtmp.3, usleep.3, wcstok.3, console_codes.4, hd.4, hpsa.4, mem.4, null.4, ram.4, sd.4, ttyS.4, filesystems.5, group.5, passwd.5, shells.5, termcap.5, ttytype.5, tzfile.5, utmp.5, ascii.7, bootparam.7, complex.7, cpuset.7, epoll.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 21:40:17 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
.\"
|
2007-04-12 22:42:49 +00:00
|
|
|
These are not described in ECMA-48.
|
|
|
|
We list the Set Mode sequences;
|
2008-06-09 15:49:35 +00:00
|
|
|
the Reset Mode sequences are obtained by replacing the final \(aqh\(aq
|
|
|
|
by \(aql\(aq.
|
2004-11-03 13:51:07 +00:00
|
|
|
.TP
|
|
|
|
ESC [ ? 1 h
|
|
|
|
DECCKM (default off): When set, the cursor keys send an ESC O prefix,
|
|
|
|
rather than ESC [.
|
|
|
|
.TP
|
|
|
|
ESC [ ? 3 h
|
2007-04-12 22:42:49 +00:00
|
|
|
DECCOLM (default off = 80 columns): 80/132 col mode switch.
|
|
|
|
The driver sources note that this alone does not suffice; some user-mode
|
2004-11-03 13:51:07 +00:00
|
|
|
utility such as
|
|
|
|
.BR resizecons (8)
|
|
|
|
has to change the hardware registers on the console video card.
|
|
|
|
.TP
|
|
|
|
ESC [ ? 5 h
|
|
|
|
DECSCNM (default off): Set reverse-video mode.
|
|
|
|
.TP
|
|
|
|
ESC [ ? 6 h
|
|
|
|
DECOM (default off): When set, cursor addressing is relative to
|
|
|
|
the upper left corner of the scrolling region.
|
|
|
|
.TP
|
|
|
|
ESC [ ? 7 h
|
2007-04-12 22:42:49 +00:00
|
|
|
DECAWM (default on): Set autowrap on.
|
|
|
|
In this mode, a graphic
|
2004-11-03 13:51:07 +00:00
|
|
|
character emitted after column 80 (or column 132 of DECCOLM is on)
|
|
|
|
forces a wrap to the beginning of the following line first.
|
|
|
|
.TP
|
|
|
|
ESC [ ? 8 h
|
2009-02-20 11:21:09 +00:00
|
|
|
DECARM (default on): Set keyboard autorepeat on.
|
2004-11-03 13:51:07 +00:00
|
|
|
.TP
|
|
|
|
ESC [ ? 9 h
|
|
|
|
X10 Mouse Reporting (default off): Set reporting mode to 1 (or reset to
|
intro.1, fork.2, futex.2, open.2, rename.2, select_tut.2, semop.2, spu_create.2, stat.2, netlink.3, random.3, scanf.3, shm_open.3, strftime.3, console.4, console_codes.4, sk98lin.4, st.4, bootparam.7, cpuset.7, credentials.7, man-pages.7, path_resolution.7, uri.7: Global fix: remove spaces around em-dash
Normal English typographical convention is not to have
spaces around em dashes.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-03 06:47:35 +00:00
|
|
|
0)\(emsee below.
|
2004-11-03 13:51:07 +00:00
|
|
|
.TP
|
|
|
|
ESC [ ? 25 h
|
2006-05-29 21:25:26 +00:00
|
|
|
DECTECM (default on): Make cursor visible.
|
2004-11-03 13:51:07 +00:00
|
|
|
.TP
|
|
|
|
ESC [ ? 1000 h
|
|
|
|
X11 Mouse Reporting (default off): Set reporting mode to 2 (or reset
|
intro.1, fork.2, futex.2, open.2, rename.2, select_tut.2, semop.2, spu_create.2, stat.2, netlink.3, random.3, scanf.3, shm_open.3, strftime.3, console.4, console_codes.4, sk98lin.4, st.4, bootparam.7, cpuset.7, credentials.7, man-pages.7, path_resolution.7, uri.7: Global fix: remove spaces around em-dash
Normal English typographical convention is not to have
spaces around em dashes.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-03 06:47:35 +00:00
|
|
|
to 0)\(emsee below.
|
2004-11-03 13:51:07 +00:00
|
|
|
.\"
|
2007-06-15 19:19:04 +00:00
|
|
|
.PP
|
|
|
|
.B Linux Console Private CSI Sequences
|
_syscall.2, capget.2, ioprio_set.2, semop.2, send.2, ctime.3, dysize.3, fenv.3, fmtmsg.3, ftok.3, ftw.3, getaddrinfo.3, getgrent_r.3, gethostbyname.3, getopt.3, getpw.3, getpwent_r.3, getsubopt.3, getutent.3, glob.3, if_nameindex.3, inet.3, lseek64.3, malloc_hook.3, mbrtowc.3, mkstemp.3, mq_receive.3, mq_send.3, posix_spawn.3, putgrent.3, putpwent.3, qsort.3, raise.3, rand.3, rtime.3, setaliasent.3, setbuf.3, shm_open.3, significand.3, sigqueue.3, statvfs.3, strfromd.3, strptime.3, strtol.3, strtoul.3, termios.3, tgamma.3, timeradd.3, tsearch.3, tzset.3, updwtmp.3, usleep.3, wcstok.3, console_codes.4, hd.4, hpsa.4, mem.4, null.4, ram.4, sd.4, ttyS.4, filesystems.5, group.5, passwd.5, shells.5, termcap.5, ttytype.5, tzfile.5, utmp.5, ascii.7, bootparam.7, complex.7, cpuset.7, epoll.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 21:40:17 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
.\"
|
2007-04-12 22:42:49 +00:00
|
|
|
The following sequences are neither ECMA-48 nor native VT102.
|
|
|
|
They are native to the Linux console driver.
|
|
|
|
Colors are in SGR parameters:
|
2004-11-03 13:51:07 +00:00
|
|
|
0 = black, 1 = red, 2 = green, 3 = brown, 4 = blue, 5 = magenta, 6 =
|
2019-03-09 14:55:02 +00:00
|
|
|
cyan, 7 = white; 8\(en15 = bright versions of 0\(en7.
|
2004-11-03 13:51:07 +00:00
|
|
|
.TS
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
l lx.
|
|
|
|
ESC [ 1 ; \fIn\fP ] T{
|
|
|
|
Set color \fIn\fP as the underline color.
|
|
|
|
T}
|
|
|
|
ESC [ 2 ; \fIn\fP ] T{
|
|
|
|
Set color \fIn\fP as the dim color.
|
|
|
|
T}
|
|
|
|
ESC [ 8 ] T{
|
|
|
|
Make the current color pair the default attributes.
|
|
|
|
T}
|
|
|
|
ESC [ 9 ; \fIn\fP ] T{
|
|
|
|
Set screen blank timeout to \fIn\fP minutes.
|
|
|
|
T}
|
|
|
|
ESC [ 10 ; \fIn\fP ] T{
|
|
|
|
Set bell frequency in Hz.
|
|
|
|
T}
|
|
|
|
ESC [ 11 ; \fIn\fP ] T{
|
|
|
|
Set bell duration in msec.
|
|
|
|
T}
|
|
|
|
ESC [ 12 ; \fIn\fP ] T{
|
|
|
|
Bring specified console to the front.
|
|
|
|
T}
|
|
|
|
ESC [ 13 ] T{
|
|
|
|
Unblank the screen.
|
|
|
|
T}
|
|
|
|
ESC [ 14 ; \fIn\fP ] T{
|
|
|
|
Set the VESA powerdown interval in minutes.
|
|
|
|
T}
|
2020-06-20 15:39:48 +00:00
|
|
|
ESC [ 15 ] T{
|
2015-02-27 07:31:17 +00:00
|
|
|
Bring the previous console to the front
|
|
|
|
(since Linux 2.6.0).
|
|
|
|
T}
|
2020-06-20 15:39:48 +00:00
|
|
|
ESC [ 16 ; \fIn\fP ] T{
|
2015-07-21 16:54:14 +00:00
|
|
|
Set the cursor blink interval in milliseconds
|
2019-03-09 14:55:03 +00:00
|
|
|
(since Linux 4.2).
|
2015-07-21 16:54:14 +00:00
|
|
|
T}
|
|
|
|
.\" commit bd63364caa8df38bad2b25b11b2a1b849475cce5
|
2004-11-03 13:51:07 +00:00
|
|
|
.TE
|
intro.1, time.1, _syscall.2, accept.2, capget.2, clone.2, execve.2, fcntl.2, intro.2, ioctl_list.2, ioprio_set.2, kill.2, mlock.2, nanosleep.2, perf_event_open.2, select.2, stat.2, times.2, ustat.2, vfork.2, wait.2, cfree.3, dbopen.3, dlopen.3, fenv.3, fmtmsg.3, gamma.3, getaddrinfo.3, gethostbyname.3, getnameinfo.3, getspnam.3, login.3, printf.3, regex.3, stdio.3, sysconf.3, termios.3, ttyslot.3, undocumented.3, wordexp.3, console_codes.4, initrd.4, mouse.4, random.4, st.4, tty_ioctl.4, wavelan.4, charmap.5, dir_colors.5, hosts.5, termcap.5, armscii-8.7, boot.7, bootparam.7, capabilities.7, charsets.7, ddp.7, futex.7, glob.7, ipv6.7, iso_8859-1.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-15.7, iso_8859-16.7, iso_8859-2.7, iso_8859-3.7, iso_8859-4.7, iso_8859-5.7, iso_8859-6.7, iso_8859-7.7, iso_8859-8.7, iso_8859-9.7, koi8-r.7, koi8-u.7, man.7, numa.7, path_resolution.7, pipe.7, posixoptions.7, pthreads.7, pty.7, rtnetlink.7, signal.7, time.7, udp.7, udplite.7, unicode.7, uri.7, utf-8.7: G;lobal fix: remove unneeded double quotes in .SS headings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-24 18:02:18 +00:00
|
|
|
.SS Character sets
|
2007-04-12 22:42:49 +00:00
|
|
|
The kernel knows about 4 translations of bytes into console-screen
|
2006-05-29 21:25:26 +00:00
|
|
|
symbols.
|
2005-07-06 07:41:37 +00:00
|
|
|
The four tables are: a) Latin1 \-> PC,
|
|
|
|
b) VT100 graphics \-> PC, c) PC \-> PC, d) user-defined.
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
There are two character sets, called G0 and G1, and one of them
|
2008-06-28 04:57:20 +00:00
|
|
|
is the current character set.
|
|
|
|
(Initially G0.)
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
Typing \fB\(haN\fP causes G1 to become current,
|
|
|
|
\fB\(haO\fP causes G0 to become current.
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
2007-04-12 22:42:49 +00:00
|
|
|
These variables G0 and G1 point at a translation table, and can be
|
|
|
|
changed by the user.
|
2006-05-29 21:25:26 +00:00
|
|
|
Initially they point at tables a) and b), respectively.
|
2007-04-12 22:42:49 +00:00
|
|
|
The sequences ESC ( B and ESC ( 0 and ESC ( U and ESC ( K cause G0 to
|
2021-01-09 10:02:33 +00:00
|
|
|
point at translation table a), b), c), and d), respectively.
|
2007-04-12 22:42:49 +00:00
|
|
|
The sequences ESC ) B and ESC ) 0 and ESC ) U and ESC ) K cause G1 to
|
2021-01-09 10:02:33 +00:00
|
|
|
point at translation table a), b), c), and d), respectively.
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
The sequence ESC c causes a terminal reset, which is what you want if the
|
2007-04-12 22:42:49 +00:00
|
|
|
screen is all garbled.
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
The oft-advised "echo \(haV\(haO" will make only G0 current,
|
2004-11-03 13:51:07 +00:00
|
|
|
but there is no guarantee that G0 points at table a).
|
|
|
|
In some distributions there is a program
|
|
|
|
.BR reset (1)
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
that just does "echo \(ha[c".
|
2007-04-12 22:42:49 +00:00
|
|
|
If your terminfo entry for the console is correct
|
locale.1, memusage.1, pldd.1, _syscall.2, add_key.2, bind.2, bpf.2, chown.2, clone.2, copy_file_range.2, eventfd.2, execve.2, futex.2, getdents.2, getrlimit.2, ioctl_fat.2, ioctl_ns.2, kcmp.2, kexec_load.2, keyctl.2, listxattr.2, lseek.2, membarrier.2, memfd_create.2, mmap.2, mprotect.2, msgop.2, open_by_handle_at.2, perf_event_open.2, pipe.2, readdir.2, readlink.2, readv.2, recvmmsg.2, request_key.2, sched_setaffinity.2, seccomp.2, select.2, select_tut.2, sendmmsg.2, setns.2, signalfd.2, spu_run.2, stat.2, sysctl.2, tee.2, timer_create.2, timerfd_create.2, truncate.2, uname.2, unshare.2, userfaultfd.2, ustat.2, wait.2, CPU_SET.3, __ppc_get_timebase.3, argz_add.3, asprintf.3, backtrace.3, basename.3, bswap.3, bzero.3, cacos.3, cacosh.3, catan.3, catanh.3, catgets.3, clock_getcpuclockid.3, confstr.3, ctime.3, dl_iterate_phdr.3, dlinfo.3, duplocale.3, encrypt.3, end.3, endian.3, fgetws.3, fmemopen.3, fopencookie.3, fputws.3, frexp.3, ftw.3, get_nprocs_conf.3, get_phys_pages.3, getaddrinfo.3, getaddrinfo_a.3, getdate.3, getgrouplist.3, getifaddrs.3, getline.3, getlogin.3, getopt.3, getpass.3, getprotoent_r.3, getpwnam.3, getservent_r.3, getsubopt.3, glob.3, gnu_get_libc_version.3, hsearch.3, if_nameindex.3, index.3, inet.3, inet_net_pton.3, inet_pton.3, insque.3, iswblank.3, iswspace.3, makecontext.3, mallinfo.3, malloc_hook.3, malloc_info.3, mallopt.3, matherr.3, mbrtowc.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, mcheck.3, memchr.3, mq_getattr.3, mq_notify.3, newlocale.3, nl_langinfo.3, offsetof.3, perror.3, posix_spawn.3, printf.3, pthread_attr_init.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_create.3, pthread_getattr_default_np.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_mutexattr_setrobust.3, pthread_setaffinity_np.3, pthread_setname_np.3, pthread_setschedparam.3, pthread_sigmask.3, qsort.3, rand.3, readdir.3, regex.3, rpmatch.3, rtime.3, scanf.3, sem_wait.3, setaliasent.3, setbuf.3, stpcpy.3, stpncpy.3, strcat.3, strchr.3, strcpy.3, strdup.3, strerror.3, strfromd.3, strftime.3, strlen.3, strnlen.3, strsep.3, strstr.3, strtok.3, strtol.3, strtoul.3, strverscmp.3, strxfrm.3, termios.3, tsearch.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscat.3, wcscpy.3, wcslen.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcsrtombs.3, wcsstr.3, wcstok.3, wcstombs.3, wcwidth.3, wprintf.3, console_codes.4, dsp56k.4, full.4, initrd.4, loop.4, vcs.4, charmap.5, core.5, elf.5, locale.5, proc.5, repertoiremap.5, sysfs.5, termcap.5, aio.7, bpf-helpers.7, cgroups.7, charsets.7, complex.7, fanotify.7, feature_test_macros.7, inotify.7, locale.7, man-pages.7, man.7, pkeys.7, pthreads.7, rtld-audit.7, sock_diag.7, unix.7, user_namespaces.7, utf-8.7: Use '\e' rather than '\\' to get a backslash
Quoting Branden:
*roff escape sequences may sometimes look like C escapes, but that
is misleading. *roff is in part a macro language and that means
recursive expansion to arbitrary depths.
You can get away with "\\" in a context where no macro expansion
is taking place, but try to spell a literal backslash this way in
the argument to a macro and you will likely be unhappy with
results.
Try viewing the attached file with "man -l".
"\e" is the preferred and portable way to get a portable "escape
literal" going back to CSTR #54, the original Bell Labs troff
paper.
groff(7) discusses the issue:
\\ reduces to a single backslash; useful to delay its
interpretation as escape character in copy mode. For a
printable backslash, use \e, or even better \[rs], to be
independent from the current escape character.
As of groff 1.22.4, groff_man(7) does as well:
\e Widely used in man pages to represent a backslash output
glyph. It works reliably as long as the .ec request is
not used, which should never happen in man pages, and it
is slightly more portable than the more exact ‘\(rs’
(“reverse solidus”) escape sequence.
People not concerned with portability to extremely old troffs should
probably just use \(rs (or \[rs]), as it means "the backslash
glyph", not "the glyph corresponding to whatever the current escape
character is".
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2019-02-27 11:57:17 +00:00
|
|
|
(and has an entry rs1=\eEc), then "tput reset" will also work.
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
The user-defined mapping table can be set using
|
|
|
|
.BR mapscrn (8).
|
|
|
|
The result of the mapping is that if a symbol c is printed, the symbol
|
2007-04-12 22:42:49 +00:00
|
|
|
s = map[c] is sent to the video memory.
|
|
|
|
The bitmap that corresponds to
|
2004-11-03 13:51:07 +00:00
|
|
|
s is found in the character ROM, and can be changed using
|
2005-07-19 15:36:19 +00:00
|
|
|
.BR setfont (8).
|
intro.1, time.1, _syscall.2, accept.2, capget.2, clone.2, execve.2, fcntl.2, intro.2, ioctl_list.2, ioprio_set.2, kill.2, mlock.2, nanosleep.2, perf_event_open.2, select.2, stat.2, times.2, ustat.2, vfork.2, wait.2, cfree.3, dbopen.3, dlopen.3, fenv.3, fmtmsg.3, gamma.3, getaddrinfo.3, gethostbyname.3, getnameinfo.3, getspnam.3, login.3, printf.3, regex.3, stdio.3, sysconf.3, termios.3, ttyslot.3, undocumented.3, wordexp.3, console_codes.4, initrd.4, mouse.4, random.4, st.4, tty_ioctl.4, wavelan.4, charmap.5, dir_colors.5, hosts.5, termcap.5, armscii-8.7, boot.7, bootparam.7, capabilities.7, charsets.7, ddp.7, futex.7, glob.7, ipv6.7, iso_8859-1.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-15.7, iso_8859-16.7, iso_8859-2.7, iso_8859-3.7, iso_8859-4.7, iso_8859-5.7, iso_8859-6.7, iso_8859-7.7, iso_8859-8.7, iso_8859-9.7, koi8-r.7, koi8-u.7, man.7, numa.7, path_resolution.7, pipe.7, posixoptions.7, pthreads.7, pty.7, rtnetlink.7, signal.7, time.7, udp.7, udplite.7, unicode.7, uri.7, utf-8.7: G;lobal fix: remove unneeded double quotes in .SS headings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-24 18:02:18 +00:00
|
|
|
.SS Mouse tracking
|
2008-06-28 05:07:24 +00:00
|
|
|
The mouse tracking facility is intended to return
|
2008-09-29 09:00:36 +00:00
|
|
|
.BR xterm (1)-compatible
|
2007-04-12 22:42:49 +00:00
|
|
|
mouse status reports.
|
|
|
|
Because the console driver has no way to know
|
|
|
|
the device or type of the mouse, these reports are returned in the
|
|
|
|
console input stream only when the virtual terminal driver receives
|
|
|
|
a mouse update ioctl.
|
|
|
|
These ioctls must be generated by a mouse-aware
|
2007-05-12 09:06:04 +00:00
|
|
|
user-mode application such as the
|
|
|
|
.BR gpm (8)
|
|
|
|
daemon.
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
|
|
|
The mouse tracking escape sequences generated by
|
2008-06-28 05:07:24 +00:00
|
|
|
\fBxterm\fP(1) encode numeric parameters in a single character as
|
2007-04-12 22:42:49 +00:00
|
|
|
\fIvalue\fP+040.
|
2008-06-09 15:49:35 +00:00
|
|
|
For example, \(aq!\(aq is 1.
|
2007-04-12 22:42:49 +00:00
|
|
|
The screen coordinate system is 1-based.
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
The X10 compatibility mode sends an escape sequence on button press
|
|
|
|
encoding the location and the mouse button pressed.
|
|
|
|
It is enabled by sending ESC [ ? 9 h and disabled with ESC [ ? 9 l.
|
2008-06-28 05:07:24 +00:00
|
|
|
On button press, \fBxterm\fP(1) sends
|
2007-04-12 22:42:49 +00:00
|
|
|
ESC [ M \fIbxy\fP (6 characters).
|
|
|
|
Here \fIb\fP is button\-1,
|
2004-11-03 13:51:07 +00:00
|
|
|
and \fIx\fP and \fIy\fP are the x and y coordinates of the mouse
|
|
|
|
when the button was pressed.
|
|
|
|
This is the same code the kernel also produces.
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
Normal tracking mode (not implemented in Linux 2.0.24) sends an escape
|
2007-04-12 22:42:49 +00:00
|
|
|
sequence on both button press and release.
|
|
|
|
Modifier information is also sent.
|
|
|
|
It is enabled by sending ESC [ ? 1000 h and disabled with
|
2008-09-08 14:01:42 +00:00
|
|
|
ESC [ ? 1000 l.
|
2008-06-28 05:07:24 +00:00
|
|
|
On button press or release, \fBxterm\fP(1) sends ESC [ M
|
2007-04-12 22:42:49 +00:00
|
|
|
\fIbxy\fP.
|
|
|
|
The low two bits of \fIb\fP encode button information:
|
|
|
|
0=MB1 pressed, 1=MB2 pressed, 2=MB3 pressed, 3=release.
|
|
|
|
The upper bits encode what modifiers were down when the button was
|
|
|
|
pressed and are added together: 4=Shift, 8=Meta, 16=Control.
|
|
|
|
Again \fIx\fP and
|
|
|
|
\fIy\fP are the x and y coordinates of the mouse event.
|
|
|
|
The upper left corner is (1,1).
|
intro.1, time.1, _syscall.2, accept.2, capget.2, clone.2, execve.2, fcntl.2, intro.2, ioctl_list.2, ioprio_set.2, kill.2, mlock.2, nanosleep.2, perf_event_open.2, select.2, stat.2, times.2, ustat.2, vfork.2, wait.2, cfree.3, dbopen.3, dlopen.3, fenv.3, fmtmsg.3, gamma.3, getaddrinfo.3, gethostbyname.3, getnameinfo.3, getspnam.3, login.3, printf.3, regex.3, stdio.3, sysconf.3, termios.3, ttyslot.3, undocumented.3, wordexp.3, console_codes.4, initrd.4, mouse.4, random.4, st.4, tty_ioctl.4, wavelan.4, charmap.5, dir_colors.5, hosts.5, termcap.5, armscii-8.7, boot.7, bootparam.7, capabilities.7, charsets.7, ddp.7, futex.7, glob.7, ipv6.7, iso_8859-1.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-15.7, iso_8859-16.7, iso_8859-2.7, iso_8859-3.7, iso_8859-4.7, iso_8859-5.7, iso_8859-6.7, iso_8859-7.7, iso_8859-8.7, iso_8859-9.7, koi8-r.7, koi8-u.7, man.7, numa.7, path_resolution.7, pipe.7, posixoptions.7, pthreads.7, pty.7, rtnetlink.7, signal.7, time.7, udp.7, udplite.7, unicode.7, uri.7, utf-8.7: G;lobal fix: remove unneeded double quotes in .SS headings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-24 18:02:18 +00:00
|
|
|
.SS Comparisons with other terminals
|
2004-11-03 13:51:07 +00:00
|
|
|
Many different terminal types are described, like the Linux console,
|
2008-06-05 20:14:50 +00:00
|
|
|
as being "VT100-compatible".
|
2006-05-29 21:25:26 +00:00
|
|
|
Here we discuss differences between the
|
|
|
|
Linux console and the two most important others, the DEC VT102 and
|
2004-11-03 13:51:07 +00:00
|
|
|
.BR xterm (1).
|
|
|
|
.\"
|
2007-06-15 19:19:04 +00:00
|
|
|
.PP
|
|
|
|
.B Control-character handling
|
_syscall.2, capget.2, ioprio_set.2, semop.2, send.2, ctime.3, dysize.3, fenv.3, fmtmsg.3, ftok.3, ftw.3, getaddrinfo.3, getgrent_r.3, gethostbyname.3, getopt.3, getpw.3, getpwent_r.3, getsubopt.3, getutent.3, glob.3, if_nameindex.3, inet.3, lseek64.3, malloc_hook.3, mbrtowc.3, mkstemp.3, mq_receive.3, mq_send.3, posix_spawn.3, putgrent.3, putpwent.3, qsort.3, raise.3, rand.3, rtime.3, setaliasent.3, setbuf.3, shm_open.3, significand.3, sigqueue.3, statvfs.3, strfromd.3, strptime.3, strtol.3, strtoul.3, termios.3, tgamma.3, timeradd.3, tsearch.3, tzset.3, updwtmp.3, usleep.3, wcstok.3, console_codes.4, hd.4, hpsa.4, mem.4, null.4, ram.4, sd.4, ttyS.4, filesystems.5, group.5, passwd.5, shells.5, termcap.5, ttytype.5, tzfile.5, utmp.5, ascii.7, bootparam.7, complex.7, cpuset.7, epoll.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 21:40:17 +00:00
|
|
|
.PP
|
2006-05-29 21:25:26 +00:00
|
|
|
The VT102 also recognized the following control characters:
|
2004-11-03 13:51:07 +00:00
|
|
|
.HP
|
|
|
|
NUL (0x00) was ignored;
|
|
|
|
.HP
|
|
|
|
ENQ (0x05) triggered an answerback message;
|
|
|
|
.HP
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
DC1 (0x11, \fB\(haQ\fP, XON) resumed transmission;
|
2004-11-03 13:51:07 +00:00
|
|
|
.HP
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
DC3 (0x13, \fB\(haS\fP, XOFF) caused VT100 to ignore (and stop transmitting)
|
2004-11-03 13:51:07 +00:00
|
|
|
all codes except XOFF and XON.
|
getent.1, intro.1, time.1, _exit.2, alloc_hugepages.2, arch_prctl.2, clock_getres.2, getitimer.2, getrusage.2, intro.2, ioctl_console.2, ioctl_list.2, ioctl_tty.2, kill.2, madvise.2, mlock.2, mmap.2, mount.2, open.2, outb.2, perf_event_open.2, ptrace.2, quotactl.2, reboot.2, recv.2, remap_file_pages.2, select.2, semctl.2, send.2, set_tid_address.2, seteuid.2, shmop.2, statfs.2, times.2, truncate.2, uname.2, uselib.2, vm86.2, wait.2, a64l.3, aio_cancel.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3, alloca.3, argz_add.3, atexit.3, basename.3, bindresvport.3, cacos.3, cacosh.3, carg.3, casin.3, casinh.3, catan.3, catanh.3, catgets.3, catopen.3, cexp.3, cfree.3, cimag.3, clog.3, conj.3, creal.3, ctime.3, des_crypt.3, dirfd.3, div.3, dlopen.3, envz_add.3, exit.3, fenv.3, flockfile.3, fmtmsg.3, fpclassify.3, fpurge.3, fseeko.3, ftime.3, ftok.3, ftw.3, getcontext.3, getcwd.3, getdate.3, getfsent.3, getgrent.3, getgrnam.3, gethostbyname.3, getipnodebyname.3, getlogin.3, getpwnam.3, getrpcent.3, getspnam.3, getutent.3, gsignal.3, hsearch.3, lockf.3, logb.3, login.3, lseek64.3, makecontext.3, malloc.3, malloc_hook.3, nan.3, nl_langinfo.3, openpty.3, posix_spawn.3, putenv.3, realpath.3, remainder.3, rint.3, rpc.3, rtime.3, scandir.3, setlogmask.3, shm_open.3, sigpause.3, statvfs.3, stdio_ext.3, strfmon.3, strftime.3, strptime.3, strtod.3, strtol.3, strtoul.3, swab.3, sysconf.3, syslog.3, tcgetpgrp.3, tempnam.3, termios.3, tmpfile.3, tmpnam.3, ttyslot.3, tzset.3, ualarm.3, usleep.3, wordexp.3, xcrypt.3, xdr.3, cciss.4, console_codes.4, full.4, hd.4, loop.4, mem.4, null.4, pts.4, ram.4, random.4, tty.4, ttyS.4, vcs.4, networks.5, nsswitch.conf.5, protocols.5, resolv.conf.5, slabinfo.5, termcap.5, ascii.7, boot.7, bootparam.7, charsets.7, icmp.7, inode.7, man.7, netdevice.7, posixoptions.7, ld.so.8: srcfix: use .PP instead of .LP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:12:54 +00:00
|
|
|
.PP
|
lseek.2, read.2, setsid.2, vhangup.2, getttyent.3, login.3, openpty.3, console_codes.4, console_ioctl.4, securetty.5, signal.7: Global fix: s/tty/terminal/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-12-31 20:54:13 +00:00
|
|
|
VT100-like DC1/DC3 processing may be enabled by the terminal driver.
|
getent.1, intro.1, time.1, _exit.2, alloc_hugepages.2, arch_prctl.2, clock_getres.2, getitimer.2, getrusage.2, intro.2, ioctl_console.2, ioctl_list.2, ioctl_tty.2, kill.2, madvise.2, mlock.2, mmap.2, mount.2, open.2, outb.2, perf_event_open.2, ptrace.2, quotactl.2, reboot.2, recv.2, remap_file_pages.2, select.2, semctl.2, send.2, set_tid_address.2, seteuid.2, shmop.2, statfs.2, times.2, truncate.2, uname.2, uselib.2, vm86.2, wait.2, a64l.3, aio_cancel.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3, alloca.3, argz_add.3, atexit.3, basename.3, bindresvport.3, cacos.3, cacosh.3, carg.3, casin.3, casinh.3, catan.3, catanh.3, catgets.3, catopen.3, cexp.3, cfree.3, cimag.3, clog.3, conj.3, creal.3, ctime.3, des_crypt.3, dirfd.3, div.3, dlopen.3, envz_add.3, exit.3, fenv.3, flockfile.3, fmtmsg.3, fpclassify.3, fpurge.3, fseeko.3, ftime.3, ftok.3, ftw.3, getcontext.3, getcwd.3, getdate.3, getfsent.3, getgrent.3, getgrnam.3, gethostbyname.3, getipnodebyname.3, getlogin.3, getpwnam.3, getrpcent.3, getspnam.3, getutent.3, gsignal.3, hsearch.3, lockf.3, logb.3, login.3, lseek64.3, makecontext.3, malloc.3, malloc_hook.3, nan.3, nl_langinfo.3, openpty.3, posix_spawn.3, putenv.3, realpath.3, remainder.3, rint.3, rpc.3, rtime.3, scandir.3, setlogmask.3, shm_open.3, sigpause.3, statvfs.3, stdio_ext.3, strfmon.3, strftime.3, strptime.3, strtod.3, strtol.3, strtoul.3, swab.3, sysconf.3, syslog.3, tcgetpgrp.3, tempnam.3, termios.3, tmpfile.3, tmpnam.3, ttyslot.3, tzset.3, ualarm.3, usleep.3, wordexp.3, xcrypt.3, xdr.3, cciss.4, console_codes.4, full.4, hd.4, loop.4, mem.4, null.4, pts.4, ram.4, random.4, tty.4, ttyS.4, vcs.4, networks.5, nsswitch.conf.5, protocols.5, resolv.conf.5, slabinfo.5, termcap.5, ascii.7, boot.7, bootparam.7, charsets.7, icmp.7, inode.7, man.7, netdevice.7, posixoptions.7, ld.so.8: srcfix: use .PP instead of .LP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 23:12:54 +00:00
|
|
|
.PP
|
2007-04-12 22:42:49 +00:00
|
|
|
The
|
2008-06-28 05:07:24 +00:00
|
|
|
.BR xterm (1)
|
2007-04-12 22:42:49 +00:00
|
|
|
program (in VT100 mode) recognizes the control characters
|
2004-11-03 13:51:07 +00:00
|
|
|
BEL, BS, HT, LF, VT, FF, CR, SO, SI, ESC.
|
|
|
|
.\"
|
2007-06-15 19:19:04 +00:00
|
|
|
.PP
|
|
|
|
.B Escape sequences
|
_syscall.2, capget.2, ioprio_set.2, semop.2, send.2, ctime.3, dysize.3, fenv.3, fmtmsg.3, ftok.3, ftw.3, getaddrinfo.3, getgrent_r.3, gethostbyname.3, getopt.3, getpw.3, getpwent_r.3, getsubopt.3, getutent.3, glob.3, if_nameindex.3, inet.3, lseek64.3, malloc_hook.3, mbrtowc.3, mkstemp.3, mq_receive.3, mq_send.3, posix_spawn.3, putgrent.3, putpwent.3, qsort.3, raise.3, rand.3, rtime.3, setaliasent.3, setbuf.3, shm_open.3, significand.3, sigqueue.3, statvfs.3, strfromd.3, strptime.3, strtol.3, strtoul.3, termios.3, tgamma.3, timeradd.3, tsearch.3, tzset.3, updwtmp.3, usleep.3, wcstok.3, console_codes.4, hd.4, hpsa.4, mem.4, null.4, ram.4, sd.4, ttyS.4, filesystems.5, group.5, passwd.5, shells.5, termcap.5, ttytype.5, tzfile.5, utmp.5, ascii.7, bootparam.7, complex.7, cpuset.7, epoll.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 21:40:17 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
VT100 console sequences not implemented on the Linux console:
|
|
|
|
.TS
|
|
|
|
l l l.
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
ESC N SS2 T{
|
|
|
|
Single shift 2. (Select G2 character set for the next character only.)
|
|
|
|
T}
|
|
|
|
ESC O SS3 T{
|
|
|
|
Single shift 3. (Select G3 character set for the next character only.)
|
|
|
|
T}
|
|
|
|
ESC P DCS T{
|
|
|
|
Device control string (ended by ESC \e)
|
|
|
|
T}
|
2004-11-03 13:51:07 +00:00
|
|
|
ESC X SOS Start of string.
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
ESC \(ha PM Privacy message (ended by ESC \e)
|
locale.1, memusage.1, pldd.1, _syscall.2, add_key.2, bind.2, bpf.2, chown.2, clone.2, copy_file_range.2, eventfd.2, execve.2, futex.2, getdents.2, getrlimit.2, ioctl_fat.2, ioctl_ns.2, kcmp.2, kexec_load.2, keyctl.2, listxattr.2, lseek.2, membarrier.2, memfd_create.2, mmap.2, mprotect.2, msgop.2, open_by_handle_at.2, perf_event_open.2, pipe.2, readdir.2, readlink.2, readv.2, recvmmsg.2, request_key.2, sched_setaffinity.2, seccomp.2, select.2, select_tut.2, sendmmsg.2, setns.2, signalfd.2, spu_run.2, stat.2, sysctl.2, tee.2, timer_create.2, timerfd_create.2, truncate.2, uname.2, unshare.2, userfaultfd.2, ustat.2, wait.2, CPU_SET.3, __ppc_get_timebase.3, argz_add.3, asprintf.3, backtrace.3, basename.3, bswap.3, bzero.3, cacos.3, cacosh.3, catan.3, catanh.3, catgets.3, clock_getcpuclockid.3, confstr.3, ctime.3, dl_iterate_phdr.3, dlinfo.3, duplocale.3, encrypt.3, end.3, endian.3, fgetws.3, fmemopen.3, fopencookie.3, fputws.3, frexp.3, ftw.3, get_nprocs_conf.3, get_phys_pages.3, getaddrinfo.3, getaddrinfo_a.3, getdate.3, getgrouplist.3, getifaddrs.3, getline.3, getlogin.3, getopt.3, getpass.3, getprotoent_r.3, getpwnam.3, getservent_r.3, getsubopt.3, glob.3, gnu_get_libc_version.3, hsearch.3, if_nameindex.3, index.3, inet.3, inet_net_pton.3, inet_pton.3, insque.3, iswblank.3, iswspace.3, makecontext.3, mallinfo.3, malloc_hook.3, malloc_info.3, mallopt.3, matherr.3, mbrtowc.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, mcheck.3, memchr.3, mq_getattr.3, mq_notify.3, newlocale.3, nl_langinfo.3, offsetof.3, perror.3, posix_spawn.3, printf.3, pthread_attr_init.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_create.3, pthread_getattr_default_np.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_mutexattr_setrobust.3, pthread_setaffinity_np.3, pthread_setname_np.3, pthread_setschedparam.3, pthread_sigmask.3, qsort.3, rand.3, readdir.3, regex.3, rpmatch.3, rtime.3, scanf.3, sem_wait.3, setaliasent.3, setbuf.3, stpcpy.3, stpncpy.3, strcat.3, strchr.3, strcpy.3, strdup.3, strerror.3, strfromd.3, strftime.3, strlen.3, strnlen.3, strsep.3, strstr.3, strtok.3, strtol.3, strtoul.3, strverscmp.3, strxfrm.3, termios.3, tsearch.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscat.3, wcscpy.3, wcslen.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcsrtombs.3, wcsstr.3, wcstok.3, wcstombs.3, wcwidth.3, wprintf.3, console_codes.4, dsp56k.4, full.4, initrd.4, loop.4, vcs.4, charmap.5, core.5, elf.5, locale.5, proc.5, repertoiremap.5, sysfs.5, termcap.5, aio.7, bpf-helpers.7, cgroups.7, charsets.7, complex.7, fanotify.7, feature_test_macros.7, inotify.7, locale.7, man-pages.7, man.7, pkeys.7, pthreads.7, rtld-audit.7, sock_diag.7, unix.7, user_namespaces.7, utf-8.7: Use '\e' rather than '\\' to get a backslash
Quoting Branden:
*roff escape sequences may sometimes look like C escapes, but that
is misleading. *roff is in part a macro language and that means
recursive expansion to arbitrary depths.
You can get away with "\\" in a context where no macro expansion
is taking place, but try to spell a literal backslash this way in
the argument to a macro and you will likely be unhappy with
results.
Try viewing the attached file with "man -l".
"\e" is the preferred and portable way to get a portable "escape
literal" going back to CSTR #54, the original Bell Labs troff
paper.
groff(7) discusses the issue:
\\ reduces to a single backslash; useful to delay its
interpretation as escape character in copy mode. For a
printable backslash, use \e, or even better \[rs], to be
independent from the current escape character.
As of groff 1.22.4, groff_man(7) does as well:
\e Widely used in man pages to represent a backslash output
glyph. It works reliably as long as the .ec request is
not used, which should never happen in man pages, and it
is slightly more portable than the more exact ‘\(rs’
(“reverse solidus”) escape sequence.
People not concerned with portability to extremely old troffs should
probably just use \(rs (or \[rs]), as it means "the backslash
glyph", not "the glyph corresponding to whatever the current escape
character is".
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2019-02-27 11:57:17 +00:00
|
|
|
ESC \e ST String terminator
|
2004-11-03 13:51:07 +00:00
|
|
|
ESC * ... Designate G2 character set
|
|
|
|
ESC + ... Designate G3 character set
|
|
|
|
.TE
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
The program
|
2008-06-28 05:07:24 +00:00
|
|
|
.BR xterm (1)
|
2006-05-29 21:25:26 +00:00
|
|
|
(in VT100 mode) recognizes ESC c, ESC # 8, ESC >, ESC =,
|
locale.1, memusage.1, pldd.1, _syscall.2, add_key.2, bind.2, bpf.2, chown.2, clone.2, copy_file_range.2, eventfd.2, execve.2, futex.2, getdents.2, getrlimit.2, ioctl_fat.2, ioctl_ns.2, kcmp.2, kexec_load.2, keyctl.2, listxattr.2, lseek.2, membarrier.2, memfd_create.2, mmap.2, mprotect.2, msgop.2, open_by_handle_at.2, perf_event_open.2, pipe.2, readdir.2, readlink.2, readv.2, recvmmsg.2, request_key.2, sched_setaffinity.2, seccomp.2, select.2, select_tut.2, sendmmsg.2, setns.2, signalfd.2, spu_run.2, stat.2, sysctl.2, tee.2, timer_create.2, timerfd_create.2, truncate.2, uname.2, unshare.2, userfaultfd.2, ustat.2, wait.2, CPU_SET.3, __ppc_get_timebase.3, argz_add.3, asprintf.3, backtrace.3, basename.3, bswap.3, bzero.3, cacos.3, cacosh.3, catan.3, catanh.3, catgets.3, clock_getcpuclockid.3, confstr.3, ctime.3, dl_iterate_phdr.3, dlinfo.3, duplocale.3, encrypt.3, end.3, endian.3, fgetws.3, fmemopen.3, fopencookie.3, fputws.3, frexp.3, ftw.3, get_nprocs_conf.3, get_phys_pages.3, getaddrinfo.3, getaddrinfo_a.3, getdate.3, getgrouplist.3, getifaddrs.3, getline.3, getlogin.3, getopt.3, getpass.3, getprotoent_r.3, getpwnam.3, getservent_r.3, getsubopt.3, glob.3, gnu_get_libc_version.3, hsearch.3, if_nameindex.3, index.3, inet.3, inet_net_pton.3, inet_pton.3, insque.3, iswblank.3, iswspace.3, makecontext.3, mallinfo.3, malloc_hook.3, malloc_info.3, mallopt.3, matherr.3, mbrtowc.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, mcheck.3, memchr.3, mq_getattr.3, mq_notify.3, newlocale.3, nl_langinfo.3, offsetof.3, perror.3, posix_spawn.3, printf.3, pthread_attr_init.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_create.3, pthread_getattr_default_np.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_mutexattr_setrobust.3, pthread_setaffinity_np.3, pthread_setname_np.3, pthread_setschedparam.3, pthread_sigmask.3, qsort.3, rand.3, readdir.3, regex.3, rpmatch.3, rtime.3, scanf.3, sem_wait.3, setaliasent.3, setbuf.3, stpcpy.3, stpncpy.3, strcat.3, strchr.3, strcpy.3, strdup.3, strerror.3, strfromd.3, strftime.3, strlen.3, strnlen.3, strsep.3, strstr.3, strtok.3, strtol.3, strtoul.3, strverscmp.3, strxfrm.3, termios.3, tsearch.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscat.3, wcscpy.3, wcslen.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcsrtombs.3, wcsstr.3, wcstok.3, wcstombs.3, wcwidth.3, wprintf.3, console_codes.4, dsp56k.4, full.4, initrd.4, loop.4, vcs.4, charmap.5, core.5, elf.5, locale.5, proc.5, repertoiremap.5, sysfs.5, termcap.5, aio.7, bpf-helpers.7, cgroups.7, charsets.7, complex.7, fanotify.7, feature_test_macros.7, inotify.7, locale.7, man-pages.7, man.7, pkeys.7, pthreads.7, rtld-audit.7, sock_diag.7, unix.7, user_namespaces.7, utf-8.7: Use '\e' rather than '\\' to get a backslash
Quoting Branden:
*roff escape sequences may sometimes look like C escapes, but that
is misleading. *roff is in part a macro language and that means
recursive expansion to arbitrary depths.
You can get away with "\\" in a context where no macro expansion
is taking place, but try to spell a literal backslash this way in
the argument to a macro and you will likely be unhappy with
results.
Try viewing the attached file with "man -l".
"\e" is the preferred and portable way to get a portable "escape
literal" going back to CSTR #54, the original Bell Labs troff
paper.
groff(7) discusses the issue:
\\ reduces to a single backslash; useful to delay its
interpretation as escape character in copy mode. For a
printable backslash, use \e, or even better \[rs], to be
independent from the current escape character.
As of groff 1.22.4, groff_man(7) does as well:
\e Widely used in man pages to represent a backslash output
glyph. It works reliably as long as the .ec request is
not used, which should never happen in man pages, and it
is slightly more portable than the more exact ‘\(rs’
(“reverse solidus”) escape sequence.
People not concerned with portability to extremely old troffs should
probably just use \(rs (or \[rs]), as it means "the backslash
glyph", not "the glyph corresponding to whatever the current escape
character is".
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2019-02-27 11:57:17 +00:00
|
|
|
ESC D, ESC E, ESC H, ESC M, ESC N, ESC O, ESC P ... ESC \e,
|
2008-06-05 20:14:50 +00:00
|
|
|
ESC Z (it answers ESC [ ? 1 ; 2 c, "I am a VT100 with
|
|
|
|
advanced video option")
|
pldd.1, bpf.2, execve.2, futex.2, ioctl_fat.2, ioctl_tty.2, keyctl.2, signalfd.2, timerfd_create.2, __ppc_get_timebase.3, a64l.3, frexp.3, pthread_setname_np.3, regex.3, rpmatch.3, scanf.3, strfmon.3, strftime.3, termios.3, console_codes.4, vcs.4, veth.4, core.5, dir_colors.5, termcap.5, ascii.7, charsets.7, glob.7, man-pages.7, operator.7, regex.7, user_namespaces.7, zic.8: Use "\(ha" rather than "^" in code
This renders better in PDF.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 20:22:39 +00:00
|
|
|
and ESC \(ha ... ESC \e with the same meanings as indicated above.
|
2004-11-03 13:51:07 +00:00
|
|
|
It accepts ESC (, ESC ), ESC *, ESC + followed by 0, A, B for
|
2006-05-29 21:25:26 +00:00
|
|
|
the DEC special character and line drawing set, UK, and US-ASCII,
|
2004-11-03 13:51:07 +00:00
|
|
|
respectively.
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
2008-06-28 05:07:24 +00:00
|
|
|
The user can configure \fBxterm\fP(1) to respond to VT220-specific
|
2006-05-29 21:25:26 +00:00
|
|
|
control sequences, and it will identify itself as a VT52, VT100, and
|
|
|
|
up depending on the way it is configured and initialized.
|
|
|
|
.PP
|
|
|
|
It accepts ESC ] (OSC) for the setting of certain resources.
|
|
|
|
In addition to the ECMA-48 string terminator (ST),
|
2008-06-28 05:07:24 +00:00
|
|
|
\fBxterm\fP(1) accepts a BEL to terminate an OSC string.
|
|
|
|
These are a few of the OSC control sequences recognized by \fBxterm\fP(1):
|
2004-11-03 13:51:07 +00:00
|
|
|
.TS
|
|
|
|
l l.
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
ESC ] 0 ; \fItxt\fP ST T{
|
|
|
|
Set icon name and window title to \fItxt\fP.
|
|
|
|
T}
|
2006-05-29 21:25:26 +00:00
|
|
|
ESC ] 1 ; \fItxt\fP ST Set icon name to \fItxt\fP.
|
|
|
|
ESC ] 2 ; \fItxt\fP ST Set window title to \fItxt\fP.
|
|
|
|
ESC ] 4 ; \fInum\fP; \fItxt\fP ST Set ANSI color \fInum\fP to \fItxt\fP.
|
|
|
|
ESC ] 10 ; \fItxt\fP ST Set dynamic text color to \fItxt\fP.
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
ESC ] 4 6 ; \fIname\fP ST T{
|
|
|
|
Change log file to \fIname\fP (normally disabled by a compile-time option)
|
|
|
|
T}
|
2006-05-29 21:25:26 +00:00
|
|
|
ESC ] 5 0 ; \fIfn\fP ST Set font to \fIfn\fP.
|
2004-11-03 13:51:07 +00:00
|
|
|
.TE
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
|
|
|
It recognizes the following with slightly modified meaning
|
|
|
|
(saving more state, behaving closer to VT100/VT220):
|
2004-11-03 13:51:07 +00:00
|
|
|
.TS
|
|
|
|
l l l.
|
|
|
|
ESC 7 DECSC Save cursor
|
|
|
|
ESC 8 DECRC Restore cursor
|
|
|
|
.TE
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
2004-11-03 13:51:07 +00:00
|
|
|
It also recognizes
|
|
|
|
.TS
|
clone.2, ioctl_tty.2, syslog.2, setlocale.3, stdio.3, console_codes.4, inode.7, namespaces.7, netlink.7, signal-safety.7, socket.7: Better table formatting
In particular, allow for rendering in widths different from
(especially less than) 80 columns.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2021-01-06 22:16:03 +00:00
|
|
|
l l lx.
|
|
|
|
ESC F T{
|
|
|
|
Cursor to lower left corner of screen (if enabled
|
|
|
|
by \fBxterm\fP(1)'s \fBhpLowerleftBugCompat\fP resource)
|
|
|
|
T}
|
2004-11-03 13:51:07 +00:00
|
|
|
ESC l Memory lock (per HP terminals).
|
|
|
|
Locks memory above the cursor.
|
|
|
|
ESC m Memory unlock (per HP terminals).
|
|
|
|
ESC n LS2 Invoke the G2 character set.
|
|
|
|
ESC o LS3 Invoke the G3 character set.
|
|
|
|
ESC | LS3R Invoke the G3 character set as GR.
|
|
|
|
ESC } LS2R Invoke the G2 character set as GR.
|
intro.1, clock_getres.2, clone.2, futex.2, ioctl_fat.2, mkdir.2, mknod.2, mmap.2, open.2, statx.2, umask.2, userfaultfd.2, glob.3, mkfifo.3, termios.3, wordexp.3, console_codes.4, sk98lin.4, vcs.4, dir_colors.5, hosts.equiv.5, proc.5, termcap.5, utmp.5, ascii.7, bpf-helpers.7, charsets.7, environ.7, glob.7, mailaddr.7, netlink.7, operator.7, suffixes.7, tcp.7, unicode.7, uri.7, zic.8: Use "\(ti" instead of "~"
A naked tilde ("~") renders poorly in PDF. Instead use "\(ti",
which renders better in a PDF, and produces the same glyph
when rendering on a terminal.
Reported-by: Geoff Clare <gwc@opengroup.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2020-08-06 19:43:46 +00:00
|
|
|
ESC \(ti LS1R Invoke the G1 character set as GR.
|
2004-11-03 13:51:07 +00:00
|
|
|
.TE
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
2007-04-12 22:42:49 +00:00
|
|
|
It also recognizes ESC % and provides a more complete UTF-8
|
2006-05-29 21:25:26 +00:00
|
|
|
implementation than Linux console.
|
2004-11-03 13:51:07 +00:00
|
|
|
.\"
|
2007-06-15 19:19:04 +00:00
|
|
|
.PP
|
|
|
|
.B CSI Sequences
|
_syscall.2, capget.2, ioprio_set.2, semop.2, send.2, ctime.3, dysize.3, fenv.3, fmtmsg.3, ftok.3, ftw.3, getaddrinfo.3, getgrent_r.3, gethostbyname.3, getopt.3, getpw.3, getpwent_r.3, getsubopt.3, getutent.3, glob.3, if_nameindex.3, inet.3, lseek64.3, malloc_hook.3, mbrtowc.3, mkstemp.3, mq_receive.3, mq_send.3, posix_spawn.3, putgrent.3, putpwent.3, qsort.3, raise.3, rand.3, rtime.3, setaliasent.3, setbuf.3, shm_open.3, significand.3, sigqueue.3, statvfs.3, strfromd.3, strptime.3, strtol.3, strtoul.3, termios.3, tgamma.3, timeradd.3, tsearch.3, tzset.3, updwtmp.3, usleep.3, wcstok.3, console_codes.4, hd.4, hpsa.4, mem.4, null.4, ram.4, sd.4, ttyS.4, filesystems.5, group.5, passwd.5, shells.5, termcap.5, ttytype.5, tzfile.5, utmp.5, ascii.7, bootparam.7, complex.7, cpuset.7, epoll.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-08-17 21:40:17 +00:00
|
|
|
.PP
|
2008-06-28 05:07:24 +00:00
|
|
|
Old versions of \fBxterm\fP(1), for example, from X11R5,
|
2006-05-29 21:25:26 +00:00
|
|
|
interpret the blink SGR as a bold SGR.
|
2007-06-08 11:56:22 +00:00
|
|
|
Later versions which implemented ANSI colors, for example,
|
2006-05-29 21:25:26 +00:00
|
|
|
XFree86 3.1.2A in 1995, improved this by allowing
|
|
|
|
the blink attribute to be displayed as a color.
|
|
|
|
Modern versions of xterm implement blink SGR as blinking text
|
|
|
|
and still allow colored text as an alternate rendering of SGRs.
|
|
|
|
Stock X11R6 versions did not recognize the color-setting SGRs until
|
|
|
|
the X11R6.8 release, which incorporated XFree86 xterm.
|
|
|
|
All ECMA-48 CSI sequences recognized by Linux are also recognized by
|
2004-11-03 13:51:07 +00:00
|
|
|
.IR xterm ,
|
2008-06-28 05:07:24 +00:00
|
|
|
however \fBxterm\fP(1) implements several ECMA-48 and DEC control sequences
|
2006-05-29 21:25:26 +00:00
|
|
|
not recognized by Linux.
|
|
|
|
.PP
|
2008-06-28 05:07:24 +00:00
|
|
|
The \fBxterm\fP(1)
|
2006-05-29 21:25:26 +00:00
|
|
|
program recognizes all of the DEC Private Mode sequences listed
|
|
|
|
above, but none of the Linux private-mode sequences.
|
2008-06-28 05:07:24 +00:00
|
|
|
For discussion of \fBxterm\fP(1)'s
|
2004-11-03 13:51:07 +00:00
|
|
|
own private-mode sequences, refer to the
|
2006-05-29 21:25:26 +00:00
|
|
|
\fIXterm Control Sequences\fP
|
|
|
|
document by
|
|
|
|
Edward Moy,
|
|
|
|
Stephen Gildea,
|
adjtimex.2, futex.2, mremap.2, seccomp.2, getnameinfo.3, random.3, console_codes.4, sysfs.5, sched.7, unicode.7: Use zero‐width space in appropriate locations
Quoting Branden:
*roff systems will interpret the period in the unpatched
page as sentence-ending punctuation and put inter-sentence
spacing after it. (This might not be visible on
nroff/terminal devices, but it is more likely to be on
typesetter/PostScript/PDF output).
groff_man(7) in groff 1.22.4 attempts to throw man page
writers a bone here:
\& Zero‐width space. Append to an input line to prevent
an end‐of‐ sentence punctuation sequence from being
recognized as such, or insert at the beginning of an
input line to prevent a dot or apostrophe from being
interpreted as the beginning of a roff request.
Reported-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Reported-by: G. Branden Robinson <g.branden.robinson@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2019-02-27 11:23:42 +00:00
|
|
|
and Thomas E.\& Dickey
|
2006-05-29 21:25:26 +00:00
|
|
|
available with the X distribution.
|
|
|
|
That document, though terse, is much longer than this manual page.
|
|
|
|
For a chronological overview,
|
|
|
|
.PP
|
2013-06-11 19:59:30 +00:00
|
|
|
.RS
|
futex.2, open_by_handle_at.2, seccomp.2, socket.2, console_codes.4, protocols.5, aio.7, capabilities.7, libc.7, netlink.7, raw.7, standards.7, unicode.7, uri.7, vdso.7: tfix
Escape hyphens in URLs.
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-29 15:21:13 +00:00
|
|
|
.UR http://invisible\-island.net\:/xterm\:/xterm.log.html
|
capget.2, futex.2, sched_setscheduler.2, spu_create.2, spu_run.2, vfork.2, getnameinfo.3, netlink.3, cciss.4, console_codes.4, dsp56k.4, hpsa.4, sk98lin.4, filesystems.5, protocols.5, aio.7, capabilities.7, charsets.7, feature_test_macros.7, futex.7, hier.7, iso_8859-16.7, iso_8859-2.7, koi8-r.7, libc.7, man.7, netlink.7, numa.7, standards.7, unicode.7, units.7, uri.7, x25.7: Global fix: use UR macro where applicable
The syntax .UR http://example.com paired with .UE will create
links which one can interact, if the pager allows that. One
way to see the effect is ask the man(1) command to use browser
display, e.g.:
man -H man7/uri.7
("\:" is optional groff syntax to permit hyphenless line breaks.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 08:02:36 +00:00
|
|
|
.UE
|
2013-06-11 19:59:30 +00:00
|
|
|
.RE
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
|
|
|
details changes to xterm.
|
|
|
|
.PP
|
2007-04-12 22:42:49 +00:00
|
|
|
The \fIvttest\fP program
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
2013-06-11 19:59:30 +00:00
|
|
|
.RS
|
futex.2, open_by_handle_at.2, seccomp.2, socket.2, console_codes.4, protocols.5, aio.7, capabilities.7, libc.7, netlink.7, raw.7, standards.7, unicode.7, uri.7, vdso.7: tfix
Escape hyphens in URLs.
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-01-29 15:21:13 +00:00
|
|
|
.UR http://invisible\-island.net\:/vttest/
|
capget.2, futex.2, sched_setscheduler.2, spu_create.2, spu_run.2, vfork.2, getnameinfo.3, netlink.3, cciss.4, console_codes.4, dsp56k.4, hpsa.4, sk98lin.4, filesystems.5, protocols.5, aio.7, capabilities.7, charsets.7, feature_test_macros.7, futex.7, hier.7, iso_8859-16.7, iso_8859-2.7, koi8-r.7, libc.7, man.7, netlink.7, numa.7, standards.7, unicode.7, units.7, uri.7, x25.7: Global fix: use UR macro where applicable
The syntax .UR http://example.com paired with .UE will create
links which one can interact, if the pager allows that. One
way to see the effect is ask the man(1) command to use browser
display, e.g.:
man -H man7/uri.7
("\:" is optional groff syntax to permit hyphenless line breaks.)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 08:02:36 +00:00
|
|
|
.UE
|
2013-06-11 19:59:30 +00:00
|
|
|
.RE
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
|
|
|
demonstrates many of these control sequences.
|
2008-06-28 05:07:24 +00:00
|
|
|
The \fBxterm\fP(1) source distribution also contains sample
|
2006-05-29 21:25:26 +00:00
|
|
|
scripts which exercise other features.
|
2007-05-16 02:54:18 +00:00
|
|
|
.SH NOTES
|
2006-05-29 21:25:26 +00:00
|
|
|
ESC 8 (DECRC) is not able to restore the character set changed with
|
|
|
|
ESC %.
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH BUGS
|
2007-04-12 22:42:49 +00:00
|
|
|
In 2.0.23, CSI is broken, and NUL is not ignored inside
|
2006-05-29 21:25:26 +00:00
|
|
|
escape sequences.
|
|
|
|
.PP
|
|
|
|
Some older kernel versions (after 2.0) interpret 8-bit control
|
|
|
|
sequences.
|
|
|
|
These "C1 controls" use codes between 128 and 159 to replace
|
|
|
|
ESC [, ESC ] and similar two-byte control sequence initiators.
|
2007-04-12 22:42:49 +00:00
|
|
|
There are fragments of that in modern kernels (either overlooked or
|
2006-05-29 21:25:26 +00:00
|
|
|
broken by changes to support UTF-8),
|
2007-04-12 22:42:49 +00:00
|
|
|
but the implementation is incomplete and should be regarded
|
2006-05-29 21:25:26 +00:00
|
|
|
as unreliable.
|
|
|
|
.PP
|
|
|
|
Linux "private mode" sequences do not follow the rules in ECMA-48
|
|
|
|
for private mode control sequences.
|
|
|
|
In particular, those ending with ] do not use a standard terminating
|
|
|
|
character.
|
|
|
|
The OSC (set palette) sequence is a greater problem,
|
2008-06-28 05:07:24 +00:00
|
|
|
since \fBxterm\fP(1) may interpret this as a control sequence
|
2006-05-29 21:25:26 +00:00
|
|
|
which requires a string terminator (ST).
|
2008-06-28 05:07:24 +00:00
|
|
|
Unlike the \fBsetterm\fP(1) sequences which will be ignored (since
|
2006-05-29 21:25:26 +00:00
|
|
|
they are invalid control sequences), the palette sequence will make
|
2008-06-28 05:07:24 +00:00
|
|
|
\fBxterm\fP(1) appear to hang (though pressing the return-key
|
2006-05-29 21:25:26 +00:00
|
|
|
will fix that).
|
|
|
|
To accommodate applications which have been hardcoded to use Linux
|
|
|
|
control sequences,
|
2008-06-28 05:07:24 +00:00
|
|
|
set the \fBxterm\fP(1) resource \fBbrokenLinuxOSC\fP to true.
|
2006-05-29 21:25:26 +00:00
|
|
|
.PP
|
|
|
|
An older version of this document implied that Linux recognizes the
|
|
|
|
ECMA-48 control sequence for invisible text.
|
|
|
|
It is ignored.
|
getent.1, intro.1, time.1, _exit.2, _syscall.2, accept.2, access.2, acct.2, adjtimex.2, alarm.2, alloc_hugepages.2, arch_prctl.2, bdflush.2, bind.2, brk.2, cacheflush.2, capget.2, chdir.2, chmod.2, chown.2, chroot.2, clock_getres.2, clock_nanosleep.2, clone.2, close.2, connect.2, create_module.2, delete_module.2, dup.2, epoll_create.2, epoll_ctl.2, epoll_wait.2, eventfd.2, execve.2, exit_group.2, faccessat.2, fchmodat.2, fchownat.2, fcntl.2, flock.2, fork.2, fstatat.2, fsync.2, futex.2, futimesat.2, get_kernel_syms.2, get_robust_list.2, get_thread_area.2, getcpu.2, getdents.2, getdomainname.2, getgid.2, getgroups.2, gethostname.2, getitimer.2, getpagesize.2, getpeername.2, getpid.2, getpriority.2, getresuid.2, getrlimit.2, getrusage.2, getsid.2, getsockname.2, getsockopt.2, gettid.2, gettimeofday.2, getuid.2, getunwind.2, getxattr.2, idle.2, init_module.2, inotify_add_watch.2, inotify_init.2, inotify_rm_watch.2, intro.2, io_cancel.2, io_destroy.2, io_getevents.2, io_setup.2, io_submit.2, ioctl.2, ioctl_list.2, ioperm.2, iopl.2, ioprio_set.2, ipc.2, kcmp.2, kill.2, killpg.2, link.2, linkat.2, listen.2, listxattr.2, llseek.2, lookup_dcookie.2, lseek.2, madvise.2, migrate_pages.2, mincore.2, mkdir.2, mkdirat.2, mknod.2, mknodat.2, mlock.2, mmap.2, mmap2.2, modify_ldt.2, mount.2, move_pages.2, mprotect.2, mq_getsetattr.2, mremap.2, msgctl.2, msgget.2, msgop.2, msync.2, nanosleep.2, nfsservctl.2, nice.2, open.2, openat.2, outb.2, pause.2, pciconfig_read.2, perf_event_open.2, perfmonctl.2, personality.2, pipe.2, pivot_root.2, poll.2, posix_fadvise.2, prctl.2, pread.2, process_vm_readv.2, ptrace.2, query_module.2, quotactl.2, read.2, readahead.2, readdir.2, readlink.2, readlinkat.2, readv.2, reboot.2, recv.2, remap_file_pages.2, removexattr.2, rename.2, renameat.2, rmdir.2, rt_sigqueueinfo.2, sched_get_priority_max.2, sched_rr_get_interval.2, sched_setaffinity.2, sched_setparam.2, sched_setscheduler.2, sched_yield.2, select.2, semctl.2, semget.2, semop.2, send.2, sendfile.2, set_thread_area.2, set_tid_address.2, seteuid.2, setfsgid.2, setfsuid.2, setgid.2, setpgid.2, setresuid.2, setreuid.2, setsid.2, setuid.2, setup.2, setxattr.2, shmctl.2, shmget.2, shmop.2, shutdown.2, sigaction.2, sigaltstack.2, signal.2, signalfd.2, sigpending.2, sigprocmask.2, sigreturn.2, sigsuspend.2, sigwaitinfo.2, socket.2, socketcall.2, socketpair.2, splice.2, stat.2, statfs.2, stime.2, swapon.2, symlink.2, symlinkat.2, sync.2, sync_file_range.2, sysctl.2, sysfs.2, sysinfo.2, syslog.2, tee.2, time.2, timerfd_create.2, times.2, tkill.2, truncate.2, umask.2, umount.2, uname.2, unimplemented.2, unlink.2, unlinkat.2, uselib.2, ustat.2, utime.2, utimensat.2, vfork.2, vhangup.2, vm86.2, vmsplice.2, wait.2, wait4.2, write.2, CPU_SET.3, INFINITY.3, MB_CUR_MAX.3, MB_LEN_MAX.3, __setfpucw.3, a64l.3, abort.3, abs.3, acos.3, acosh.3, addseverity.3, adjtime.3, aio_cancel.3, aio_error.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3, alloca.3, argz_add.3, asin.3, asinh.3, asprintf.3, assert.3, assert_perror.3, atan.3, atan2.3, atanh.3, atexit.3, atof.3, atoi.3, backtrace.3, basename.3, bcmp.3, bcopy.3, bindresvport.3, bsd_signal.3, bsearch.3, bstring.3, btowc.3, btree.3, byteorder.3, bzero.3, cabs.3, cacos.3, cacosh.3, canonicalize_file_name.3, carg.3, casin.3, casinh.3, catan.3, catanh.3, catgets.3, catopen.3, cbrt.3, ccos.3, ccosh.3, ceil.3, cerf.3, cexp.3, cexp2.3, cfree.3, cimag.3, clearenv.3, clock.3, clock_getcpuclockid.3, clog.3, clog10.3, clog2.3, closedir.3, cmsg.3, confstr.3, conj.3, copysign.3, cos.3, cosh.3, cpow.3, cproj.3, creal.3, crypt.3, csin.3, csinh.3, csqrt.3, ctan.3, ctanh.3, ctermid.3, ctime.3, daemon.3, dbopen.3, des_crypt.3, difftime.3, dirfd.3, div.3, dl_iterate_phdr.3, dlopen.3, dprintf.3, drand48.3, drand48_r.3, dysize.3, ecvt.3, ecvt_r.3, encrypt.3, end.3, endian.3, envz_add.3, erf.3, erfc.3, err.3, errno.3, error.3, ether_aton.3, euidaccess.3, exec.3, exit.3, exp.3, exp10.3, exp2.3, expm1.3, fabs.3, fclose.3, fcloseall.3, fdim.3, fenv.3, ferror.3, fexecve.3, fflush.3, ffs.3, fgetgrent.3, fgetpwent.3, fgetwc.3, fgetws.3, finite.3, flockfile.3, floor.3, fma.3, fmax.3, fmemopen.3, fmin.3, fmod.3, fmtmsg.3, fnmatch.3, fopen.3, fpathconf.3, fpclassify.3, fpurge.3, fputwc.3, fputws.3, fread.3, frexp.3, fseek.3, fseeko.3, ftime.3, ftok.3, fts.3, ftw.3, futimes.3, fwide.3, gamma.3, gcvt.3, getaddrinfo.3, getaddrinfo_a.3, getauxval.3, getcontext.3, getcwd.3, getdate.3, getdirentries.3, getdtablesize.3, getenv.3, getfsent.3, getgrent.3, getgrent_r.3, getgrnam.3, getgrouplist.3, gethostbyname.3, gethostid.3, getipnodebyname.3, getline.3, getloadavg.3, getlogin.3, getmntent.3, getnameinfo.3, getnetent.3, getnetent_r.3, getopt.3, getpass.3, getprotoent.3, getprotoent_r.3, getpt.3, getpw.3, getpwent.3, getpwent_r.3, getpwnam.3, getrpcent.3, getrpcent_r.3, getrpcport.3, gets.3, getservent.3, getservent_r.3, getspnam.3, getttyent.3, getumask.3, getusershell.3, getutent.3, getw.3, getwchar.3, glob.3, grantpt.3, gsignal.3, hash.3, hsearch.3, hypot.3, iconv.3, iconv_close.3, iconv_open.3, ilogb.3, index.3, inet.3, inet_ntop.3, inet_pton.3, infnan.3, initgroups.3, insque.3, intro.3, isalpha.3, isatty.3, isgreater.3, iswalnum.3, iswalpha.3, iswblank.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, j0.3, key_setsecret.3, ldexp.3, lgamma.3, lio_listio.3, localeconv.3, lockf.3, log.3, log10.3, log1p.3, log2.3, logb.3, login.3, longjmp.3, lrint.3, lround.3, lsearch.3, lseek64.3, makecontext.3, makedev.3, malloc.3, malloc_hook.3, mblen.3, mbrlen.3, mbrtowc.3, mbsinit.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, memccpy.3, memchr.3, memcmp.3, memcpy.3, memfrob.3, memmem.3, memmove.3, mempcpy.3, memset.3, mkdtemp.3, mkfifo.3, mkfifoat.3, mkstemp.3, mktemp.3, modf.3, mpool.3, mq_close.3, mq_getattr.3, mq_notify.3, mq_open.3, mq_receive.3, mq_send.3, mq_unlink.3, mtrace.3, nan.3, netlink.3, nextafter.3, nl_langinfo.3, offsetof.3, on_exit.3, opendir.3, openpty.3, perror.3, popen.3, posix_fallocate.3, posix_memalign.3, posix_openpt.3, pow.3, pow10.3, printf.3, profil.3, program_invocation_name.3, psignal.3, pthread_kill_other_threads_np.3, ptsname.3, putenv.3, putgrent.3, putpwent.3, puts.3, putwchar.3, qecvt.3, qsort.3, queue.3, raise.3, rand.3, random.3, random_r.3, rcmd.3, re_comp.3, readdir.3, realpath.3, recno.3, regex.3, remainder.3, remove.3, remquo.3, resolver.3, rewinddir.3, rexec.3, rint.3, round.3, rpc.3, rpmatch.3, rtime.3, rtnetlink.3, scalb.3, scalbln.3, scandir.3, scandirat.3, scanf.3, seekdir.3, sem_close.3, sem_destroy.3, sem_getvalue.3, sem_init.3, sem_open.3, sem_post.3, sem_unlink.3, sem_wait.3, setaliasent.3, setbuf.3, setenv.3, setjmp.3, setlocale.3, setlogmask.3, setnetgrent.3, shm_open.3, siginterrupt.3, signbit.3, significand.3, sigpause.3, sigqueue.3, sigset.3, sigsetops.3, sigvec.3, sin.3, sincos.3, sinh.3, sleep.3, sockatmark.3, sqrt.3, statvfs.3, stdarg.3, stdin.3, stdio.3, stdio_ext.3, stpcpy.3, stpncpy.3, strcasecmp.3, strcat.3, strchr.3, strcmp.3, strcoll.3, strcpy.3, strdup.3, strerror.3, strfmon.3, strfry.3, strftime.3, string.3, strlen.3, strnlen.3, strpbrk.3, strptime.3, strsep.3, strsignal.3, strspn.3, strstr.3, strtod.3, strtoimax.3, strtok.3, strtol.3, strtoul.3, strverscmp.3, strxfrm.3, swab.3, sysconf.3, syslog.3, system.3, sysv_signal.3, tan.3, tanh.3, tcgetpgrp.3, tcgetsid.3, telldir.3, tempnam.3, termios.3, tgamma.3, timegm.3, timeradd.3, tmpfile.3, tmpnam.3, toascii.3, toupper.3, towctrans.3, towlower.3, towupper.3, trunc.3, tsearch.3, ttyname.3, ttyslot.3, tzset.3, ualarm.3, ulimit.3, ungetwc.3, unlocked_stdio.3, unlockpt.3, updwtmp.3, usleep.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscasecmp.3, wcscat.3, wcschr.3, wcscmp.3, wcscpy.3, wcscspn.3, wcsdup.3, wcslen.3, wcsncasecmp.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcspbrk.3, wcsrchr.3, wcsrtombs.3, wcsspn.3, wcsstr.3, wcstoimax.3, wcstok.3, wcstombs.3, wcswidth.3, wctob.3, wctomb.3, wctrans.3, wctype.3, wcwidth.3, wmemchr.3, wmemcmp.3, wmemcpy.3, wmemmove.3, wmemset.3, wordexp.3, wprintf.3, xcrypt.3, xdr.3, y0.3, cciss.4, console.4, console_codes.4, console_ioctl.4, dsp56k.4, fd.4, full.4, hd.4, hpsa.4, initrd.4, intro.4, lp.4, mem.4, mouse.4, null.4, pts.4, ram.4, random.4, rtc.4, sk98lin.4, st.4, tty.4, ttyS.4, tty_ioctl.4, vcs.4, wavelan.4, acct.5, charmap.5, dir_colors.5, filesystems.5, ftpusers.5, group.5, host.conf.5, hosts.5, hosts.equiv.5, intro.5, issue.5, locale.5, motd.5, networks.5, nologin.5, nscd.conf.5, passwd.5, proc.5, protocols.5, resolv.conf.5, rpc.5, securetty.5, services.5, shells.5, termcap.5, ttytype.5, utmp.5, armscii-8.7, arp.7, ascii.7, bootparam.7, capabilities.7, charsets.7, complex.7, cp1251.7, credentials.7, ddp.7, environ.7, epoll.7, fifo.7, futex.7, glob.7, hier.7, icmp.7, inotify.7, intro.7, ip.7, ipv6.7, iso_8859-1.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-15.7, iso_8859-16.7, iso_8859-2.7, iso_8859-3.7, iso_8859-4.7, iso_8859-5.7, iso_8859-6.7, iso_8859-7.7, iso_8859-8.7, iso_8859-9.7, koi8-r.7, koi8-u.7, locale.7, mailaddr.7, man.7, mq_overview.7, netdevice.7, netlink.7, numa.7, packet.7, path_resolution.7, pipe.7, posixoptions.7, pthreads.7, pty.7, raw.7, regex.7, rtld-audit.7, rtnetlink.7, sem_overview.7, shm_overview.7, sigevent.7, signal.7, socket.7, standards.7, suffixes.7, svipc.7, tcp.7, termio.7, time.7, udp.7, udplite.7, unicode.7, unix.7, uri.7, utf-8.7, x25.7, nscd.8, sync.8, tzselect.8, zdump.8, zic.8: Global fix: remove unneeded double quotes in .SH headings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-02-24 18:01:36 +00:00
|
|
|
.SH SEE ALSO
|
2017-03-29 05:10:36 +00:00
|
|
|
.BR ioctl_console (2),
|
2004-11-03 13:51:07 +00:00
|
|
|
.BR charsets (7)
|