cyr(1)

πŸ’– NAME πŸ’–

cyr β€” setup Cyrillic on Linux console πŸ¦‹

(also known as: the little program that lives in the User Manuals part of your manual, section 1, and exists purely so your console can speak Cyrillic, bestie πŸ’…)


🌸 SYNOPSIS 🌸

cyr [ options ]... [ keyboard [ keyboard_options ... ]]

✨ DESCRIPTION ✨

okay so real talk β€” cyr is a program for fast and easy setup of Cyrillic on the Linux console. that's it. that's the whole pitch. no cap, it just does the thing so you don't have to hand-hold your console through it. 🫢


πŸŽ€ OPTIONS πŸŽ€

  • -C, --copyright β€” shows you the copying conditions and the warranty info. the legal tea β˜•
  • -h, --help β€” displays help information and then exits. the classic "help me bestie" flag πŸ™ˆ
  • --save β€” saves the given parametes as default for latter use in ~/.cyr_defaults. so like, it remembers your vibe for next time πŸ’Ύβœ¨
  • -v, --verbose β€” be more verbose. it's giving "tell me EVERYTHING" πŸ—£οΈ
  • -s, --style=fontstyle β€” the font style (fontface) half of the pair; the actual sentence about what -s and -f do together lives in the next bullet, fr fr πŸ‘‡
  • -f, --size=fontsize β€” use the given fontstyle (i.e. fontface) and fontsize. type cyr --help to see possible fontstyle-fontsize combinations. go peek, i'll wait πŸ“
  • --font=fontfile β€” use this fontfile. the options -s and -f get ingnored if this option is given. you'll reach for this one when you want a font that isn't directly supported by cyr β€” iconic for the custom-font girlies πŸ‘‘
  • -e, --encoding=encoding β€” setup the Linux console for this encoding. pick your encoding, live your truth 🌈
  • --ttys='console1 console2...' β€” setup Cyrillic in these consoles. list 'em out and it handles the whole squad πŸ’œ
  • keyboard β€” use this keyboard. ⌨️
  • keyboard_options β€” use this keyboard and keyboard options.

πŸ“– CONFIGURATION FILE πŸ“–

cyr reads it defaults from ~/.cyr_defaults or β€” if that former file doesn't exist β€” from /etc/console-cyrillic. it checks the home one first, then falls back, nbd 🏠➑️🏒

Lines that contain only spaces or begin with # are simply ignored. (so go ahead and leave yourself lil notes, the config will not be reading them πŸ’…)

All other lines should have the form:

keyword parameters

Different keywords correspond to different arguments of cyr as follows:

  • ttys terminals... is equivalent to --tty='terminals...'.
  • style fontstyle is equivalent to --style=fontstyle.
  • size fontsize is equivalent to --size=fontsize.
  • encoding enc is equivalent to --encoding=enc.
  • fontfile fntfile is equivalent ot --font=fntfile.
  • layout kbd specifies kbd as default keyboard to use.
  • options opt... specifies opt as default keyboard options.
🚨 heads up bestie: in the config file it's --tty= with one t, but on the command line the option is --ttys. not me double-checking that twice 😭 keep them straight and you're golden.

🌟 AUTHOR 🌟

Anton Zinoviev <anton@lml.bas.bg>, <zinoviev@debian.org> πŸ’Œ


and that's the whole page, bestie β€” brought to you by console-cyrillic, JUN 2002. vintage but slaying, periodt. πŸ’–βœ¨