notcurses-info(1)

πŸ’– notcurses-info πŸ’–

okay bestie, welcome to notcurses-info from the notcurses manual gang πŸŽ€ this is the one that spills ALL the tea about your terminal β€” no cap πŸ’…

✨ NAME ✨

notcurses-info β€” display information about the terminal environment πŸ¦‹


✨ SYNOPSIS ✨

notcurses-info [-v]

✨ DESCRIPTION ✨

okay so notcurses-info literally prints everything it knows about the terminal environment you're sitting in rn 😌 that's material loaded from terminfo(5) (which it figures out from the TERM environment variable), plus the replies your terminal sends back when we query it, plus a bunch of built-in heuristics. it's giving investigative journalist energy fr fr πŸ”

the Unicode half block, quadrant, sextant, octant, and Braille glyphs are all included in the output ✨ so if their appearance looks irregular and kinda cursed, it might behoove you to choose another font πŸ’€ that's a you problem, not a notcurses problem, bestie.

the first five lines (aka the Notcurses initialization banner; peep notcurses_init(3)) provide:

  • the Notcurses version and the derived terminal name, possibly including the terminal version πŸ‘‘ if Notcurses was able to unambiguously query the connected terminal, the internal name for the terminal will be shown. otherwise, the terminal described by the TERM environment variable will be displayed. the terminal version is only acquired via query β€” no query, no version, periodt.
  • the current cell geometry, cell-pixel geometry, and the derived window pixel geometry, the size of the crender structure, the number of colors in the palette, and whether RGB TrueColor is supported 🌈
  • the compiler name and version used to build Notcurses, the size of the nccell structure, and the endianness with which Notcurses was compiled 🧚 this buildtime endianness must match the runtime endianness β€” mismatch = not the vibe.
  • the version of libterminfo against which Notcurses was compiled πŸ“š
  • the version and name of the multimedia backend 🎬

the next five lines describe properties of the terminal environment:

  • the first line indicates that a given capability is present with a plus sign ('+'), or not present/detected with a minus sign ('-'):
    • af: foreground color can be set
    • ab: background color can be set
    • sum: Synchronized Update Mode is supported
    • vpa: cursor can be moved to an absolute vertical coordinate
    • hpa: cursor can be moved to an absolute horizontal coordinate
    • sgr0: styling can be reset via a single escape
    • op: colors can be reset via a single escape
    • fgop: foreground can be reset via a single escape
    • bgop: background can be reset via a single escape
    • bce: the back-color-erase property is in play
    • rect: rectangular editing is available
  • the second line is more of the same, bestie:
    • bold: boldface is available
    • ital: italics are available
    • struck: strikethrough is available
    • ucurl: curled underlines are available
    • uline: straight underlines are available
    • u7: cursor position reporting
    • ccc: palette can be reprogrammed
    • rgb: colors can be specified as RGB, eight bits per channel
    • el: clearing can be performed through the end of the line
  • the third line also covers UTF8 and decoding capabilities:
    • utf8: this is a UTF8 environment
    • 2x1: upper- and lower-half blocks are available
    • 2x2: quadrant blocks are available
    • 3x2: sextant blocks are available
    • 4x2: octant blocks are available
    • 4x2: Braille characters are available
    • img: images can be decoded
    • vid: video can be decoded
    • indn: multiple-line scrolling is available
    • gpm: connection is established to the GPM server
    • kbd: the Kitty keyboard protocol is in use
  • the fourth line indicates the default background color, and whether that color is treated as transparent by the terminal (only kitty is known to do this 🐱), and the default foreground color. pmouse indicates whether pixel-precise mouse events are supported πŸ–±οΈ
  • the fifth line describes the available bitmap graphics πŸ–ΌοΈ if Sixels are available, the maximum number of color registers and maximum Sixel geometry are reported. if Linux framebuffer graphics are available, that is reported. if the Kitty graphics protocol is detected, that will be reported with "rgba graphics are available"; if Kitty's animation support is also present, that will be reported with "rgba pixel animation support" ✨

to the right of all this material is the Notcurses homepage's URI, and the Notcurses logo 🫢 (the logo only shows up if bitmap graphics are available β€” so, you know, main character energy only when earned πŸ’…).

the final eleven lines, only printed when in a UTF8 locale, show various Unicode glyphs 🌸 the first four lines include the quadrant, sextant, octant, and box-drawing characters. the next four lines include the entire Braille set. the following two lines include many of the Symbols for Legacy Computing introduced in Unicode 13. the final line includes many emoji πŸ“πŸŽ€πŸ’œ


✨ OPTIONS ✨

  • -v β€” be verbose πŸ—£οΈ

✨ NOTES ✨

the behavior of notcurses-info (and honestly, of all of Notcurses, the whole entire library) depends on the TERM and LANG environment variables, the installed POSIX locales, and the installed terminfo(5) databases 🌈 change any of those and the vibes change with them, iykyk.


✨ SEE ALSO ✨

tack(1), notcurses(3), terminfo(5)


✨ AUTHORS ✨

nick black nickblack@linux.com πŸ‘‘


and that's the whole page, bestie!! this gorgeousness is v3.0.17 of the notcurses-info(1) manual β€” go forth, run the thing, and admire your terminal's whole entire lore πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from