HIME(1)

πŸ’– HIME(1) β€” the hime input method platform πŸ’–

okay bestie, gather round, because we're about to talk about hime, aka the input method server that is literally carrying the whole Traditional Chinese typing situation on its back 🫢


✨ NAME ✨

hime β€” an input method server πŸ‘‘


🌸 SYNOPSIS 🌸

hime [-h|-v|--version]

πŸ’… DESCRIPTION πŸ’…

so. hime is an input method (IM) server, and its main character energy is aimed squarely at Traditional Chinese. but don't let that fool you β€” it's also lowkey super useful for Simplified Chinese, Japanese, and a whole bunch of other languages too 🌈

the IM table format in hime is almost exactly the same as the ones in scim and xcin. which means β€” and this is the slay part β€” users can add their own IMs to hime very easily. no gatekeeping here, we're all about that open-door policy ✨

πŸŽ€ heads up bestie: if you're actually looking for the configuration tool for hime, you want the manpage for hime-setup, not this one. different girl, different job.

πŸ”₯ OPTIONS πŸ”₯

  • -h, -v, --version β€” shows you the version of hime. that's it. that's the whole option list. she's simple, she's iconic, she doesn't overexplain πŸ’…

πŸŽ€ FILES πŸŽ€

  • /usr/share/hime/table/gtab.list β€” this is the list of input methods available to hime. you're absolutely allowed to copy it over to $HOME/.config/hime/ and edit it however you like, no permission needed πŸ’– but here's the tea: if you don't have a $HOME/.config/hime/gtab.list, then /usr/share/hime/table/gtab.list is what gets used instead. so like, the system one is the fallback bestie πŸ¦‹
  • /usr/share/hime/script/utf8-edit β€” a file that helps hime find text editors when it needs one. you can add any UTF-8 compatible text editor to it. go wild, add five, nobody's stopping you 🌸

🌈 ENVIRONMENT VARIABLES 🌈

okay this section is where the setup girlies live. let's go one by one, no skipping ✨

  • LC_CTYPE

For bash:

export LC_CTYPE=zh_TW.UTF-8

For csh:

setenv LC_CTYPE zh_TW.UTF-8
  • XMODIFIERS

For bash:

export XMODIFIERS=@im=hime

For csh:

setenv XMODIFIERS @im=hime
  • GTK_IM_MODULE

For bash:

export GTK_IM_MODULE=hime

For csh:

setenv GTK_IM_MODULE hime
  • QT_IM_MODULE

For bash:

export QT_IM_MODULE=hime

For csh:

setenv QT_IM_MODULE hime
  • HIME_CONNECT_MSG_ON β€” displays messages for socket connections. little peek behind the curtain, we love to see it πŸ‘€
  • HIME_DBG_TMP β€” displays additional debug messages. more tea, more logging πŸ“
  • HIME_ERR_COREDUMP β€” an option for debugging. it's giving "for the devs, not for me" energy but ok πŸ”§
  • HIME_IM_CLIENT_NO_AUTO_EXEC β€” disables auto-evoke in the hime protocol. no auto-evoking today bestie, we're being intentional πŸ™ˆ
  • HIME_OUTPUT_FILTER β€” assigns an output filter to process data before the IM server sends it off to clients. yes, pre-send glow-up for your data, obsessed πŸ’œ
  • HIME_TABLE_DIR β€” assigns a directory for IM tables other than /usr/share/hime/table. pick your own adventure, pick your own table folder 🧚

πŸ‘‘ SEE ALSO πŸ‘‘

hime-setup(1), hime-cin2gtab(1), hime-phoa2d(1), hime-juyin-learn(1), hime-message(1)

go read the whole friend group, they're all iconic in their own way 🫢


πŸ’œ AUTHORS πŸ’œ

  • Edward Der-Hua Liu β€” wrote hime and the associated tools. the founder, the blueprint, the moment ⭐
  • Friend of Chanjei IM, Malaysia <www.chinesecj.com> β€” author of the original Chanjei IM version 5 table. periodt πŸ’…
  • Dayi Co., Ltd. <http://www.dayi.com> β€” author of Dayi IM. slay πŸŽ€

and that's the whole page bestie!! no cap, you now know hime better than most people know their own keyboard layout πŸ˜­πŸ’–

this was HIME 0.8, dated 2 FEB 2008 β€” yeah she's been serving looks since 2008 and she's still here, still an icon, still an input method server. mwah πŸ¦‹βœ¨