ttyflags(8)

ttyflags8

Set device-specific flags for terminals

Usage

ttyflags [-pv] [{-a | tty ...}]

Overview

ttyflags sets the device-specific flags for terminals, based on the flags found on the terminal's line in /etc/ttys.

The options are as follows:

-a

Set the flags for all terminals in /etc/ttys.

-p

Print out flag information about each terminal, instead of setting anything.

-v

Be verbose about what the terminal's flags will be set to.

The tty arguments are optional, but must not be specified if the -a flag is used. If specified, the tty arguments should be the base names of the ttys, as found in /etc/ttys.

Files

/etc/ttys

Releases

61 releases since OpenBSD 2.1; the text changed 5 times.

  1. 2.1–2.3
  2. 2.4
  3. 2.5–2.6
  4. 2.7–3.7
  5. 3.8–4.1
  6. 4.2–8.0

History

The ttyflags utility appeared in NetBSD 0.9a.

Bugs

The conditions on which to report an error are ill-defined. ttyflags tries to report all significant errors, perhaps going over-board at times.

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.