termios(7)

๐Ÿ“ฆ
version 6.20 ยท 2 versions
, in arch rolling, nixpkgs unstable

๐Ÿ’– termios(7) โ€” terminal input/output settings ๐Ÿ’–

okay bestie, gather round, because we're talking about the termios page from the Miscellaneous Information Manual and it's literally the blueprint for how your terminal talks to your programs. no cap. ๐Ÿ’…


โœจ NAME โœจ

termios โ€” terminal input/output settings ๐ŸŽ€


๐Ÿ“š LIBRARY ๐Ÿ“š

Standard C library (libc, -lc) ๐Ÿซถ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

#include <termios.h>

that's it. that's the whole vibe. one header and you've got the keys to the whole terminal kingdom ๐Ÿ‘‘


๐Ÿ’ซ DESCRIPTION ๐Ÿ’ซ

so like. the termios functions describe a general terminal interface that's provided to control asynchronous communications ports. it's giving "I am the main character of every tty on this machine." ๐Ÿ”ฅ


๐Ÿ”ง Retrieving and changing terminal settings ๐Ÿ”ง

get ur settings, set ur settings. the whole glow-up pipeline bestie โœจ


๐Ÿฆ‹ Canonical and noncanonical mode ๐Ÿฆ‹

See termios(3type).

iykyk. the two modes have lore and that's where you find it ๐Ÿ“–


๐Ÿ’€ Raw mode ๐Ÿ’€

no filtering, no buffering, just pure unhinged byte-for-byte energy. iconic honestly.


๐ŸŒˆ Line control ๐ŸŒˆ

breaking, draining, flushing, flowing โ€” it's a whole little ecosystem of line-management slay ๐Ÿ’…


โšก Line speed โšก

get the output speed, set the output speed, get the input speed, set the input speed, and set them BOTH at once because efficiency is hot ๐Ÿ”ฅ


๐Ÿ“ STANDARDS ๐Ÿ“

POSIX.1-2024. periodt. ๐Ÿ‘‘


๐Ÿ•ฐ๏ธ HISTORY ๐Ÿ•ฐ๏ธ

POSIX.1-2001, BSD. it's been around since forever and it still ate ๐Ÿ“


๐Ÿ‘€ SEE ALSO ๐Ÿ‘€

reset(1), setterm(1), stty(1), tput(1), tset(1), tty(1), ioctl_console(2), ioctl_tty(2), cc_t(3type), speed_t(3type), tcflag_t(3type), setserial(8)

the whole friend group, all tagged in the group chat ๐Ÿซถ


ok that's the page bestie, go forth and configure ur terminals with confidence ๐Ÿ’–โœจ

this has been the termios(7) page from Linux man-pages 6.20, dated 2026-07-02 โ€” mwah, take care of ur tty, she's doing her best ๐Ÿ’…๐ŸŽ€๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from
  • arch rolling: man-pages 6.20-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
  • nixpkgs unstable: man-pages 6.20
  • ๐Ÿ“œ the page's license: GPL-2.0-or-later
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms