termios(7)
๐ 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
- Copyright 2006-2015, Michael Kerrisk <mtk.manpages@gmail.com>
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms