Glossary
The terms this guide uses, in one place. Each was defined where it first appeared; these are the short forms to come back to.
ANSI escape sequence — an
instruction embedded in terminal
output, beginning with the ESC
character, that tells the terminal
to change colour, move the cursor,
or similar. Colour in this guide is
always escape sequences
(ESC[38;5;252m and kin) — chapter 5.
Browser (Glow's) — the full-screen document list Glow opens when run with no argument on a terminal — chapter 11. Not a web browser.
Configuration file — glow.yml,
the small settings file Glow writes
on first run and reads thereafter —
chapter 12.
DSR (Device Status Report) — the
terminal request ESC[6n, asking
"where is the cursor?"; Glow uses
the answer as a synchronising marker
when asking a terminal its colours —
chapter 8.
Extension rule — Glow's habit of deciding whether a file is Markdown mostly by its name's final extension — chapter 2.
glamour — the rendering library Glow is built on; styles are its data files — chapters 2 and 8.
Markdown — the plain-text
formatting language (#, **,
pipes) that Glow reads. The language
itself is the subject of this
series' Markdown guide — chapter 13.
notty — Glow's plain style: no colour, ASCII table rules, the reading a pipe receives — chapter 6. The name is "no TTY" worn down.
OSC 8 — the escape sequence that marks text as a clickable hyperlink for terminals that support it; Glow emits it around links in every style, including the plain one — chapter 5.
OSC 10 / OSC 11 — the escape
sequences by which a program asks a
terminal its foreground and
background colours; the questions
behind auto — chapter 8.
Pager — a program that presents
long output one screen at a time for
scrolling and searching. Glow offers
an external one via -p (yours,
less by default) and its own via
-t — chapters 7 and 11.
Pipe — the shell's channel
(|) carrying one program's output
into another program, a file, or a
script. Output into a pipe is "not a
terminal", which changes Glow's
behaviour — chapter 6.
Reading — this guide's word for what Glow produces: an interpretation of a document, made for the moment. The document is the file; the reading is not — chapter 1.
stdin (standard input) — the stream a program reads when it reads "from the terminal side"; when it is not a terminal, it overrules Glow's file argument — chapter 6.
Style — a named definition of
the rendering's colours and habits
(dark, light, notty, …), or a
JSON file of the same kind —
chapter 8.
TTY / terminal — the interactive screen-and-keyboard device. Half of Glow's behaviour turns on whether its input and output are attached to one.
Wrap / width — the column at
which Glow folds rendered lines;
80 by default, set by -w or the
configuration file — chapter 9.