VIS-DIGRAPH(1)
π« VIS-DIGRAPH(1) π«
okay so bestie, listen β this is a page from section 1 of the General Commands Manual, which means it's a user command, and it's genuinely one of the cutest little tools ever. say hi to vis-digraph π
β¨ NAME β¨
vis-digraph β print a Unicode character using mnemonics π
like, you give it a lil mnemonic and it gives you the whole entire glyph back. iconic behavior honestly.
π¦ SYNOPSIS π¦
vis-digraph digraph ...
vis-digraph -
two modes, two vibes, pick your fighter π
πΈ DESCRIPTION πΈ
so what it does: vis-digraph reads a digraph from a command line argument or from standard input, and then prints the corresponding Unicode character to standard output β encoded in the current locale. yes, the locale matters, we'll get to that. no cap.
digraphβ a set of two (or more) characters that get replaced by a single Unicode character. that's the whole deal. two-ish chars in, one gorgeous glyph out π§-β read the digraph from standard input instead. useful when you wanna pipe things in, iykyk π«Ά
and here's the fun part: if you run it with no argument at all, vis-digraph displays all available digraphs along with a description. literally the full menu. obsessed ππ
π ENVIRONMENT π
LC_CTYPEβ the locale definition, and it's the thing setting the encoding format of the Unicode character that gets printed out. seelocale(1)for more info, bestie, it's all there π
π₯ EXIT STATUS π₯
the numbers mean things, and the numbers are:
0β digraph correctly read, recognised and printed out. slay π β¨1β digraph not recognised. it said "who?" π2β the digraph is the beginning of an existing digraph, but it does not correspond to a full digraph. so close, but not a complete one β it's giving cliffhanger π3β an error occurred and the digraph could not be read or printed. rough one π
π SEE ALSO π
(go read them, they're right there, it's a whole ecosystem π¦)
β STANDARDS β
vis-digraph follows the digraph format from RFC 1345:
http://tools.ietf.org/rfc/rfc1345.txt
periodt. that's the standard, that's the source of truth π
heads up bestie: the encoding of what comes out depends on LC_CTYPE, so if your locale's weird, your output's gonna be weird too. not a bug, just locale things π«Ά
and that's the whole page!! this is Vis version v0.9-531-gd89b6c27-dirty, dated January 27, 2017 β one of the docs in the VIS-DIGRAPH(1) family, and honestly? a lil legend. bye bestie, go print some glyphs πππΈ
π¦ where this page comes from
- arch rolling: vis 0.9.r531.gd89b6c27-1 Β· custom:ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms