CWDREG(1)
π CWDREG(1) β the cwdreg girlies' guide π
okay so bestie, welcome to cwdreg, from the General Commands Manual corner of the universe. pull up a chair, grab a boba, and let's get your characters and words registered into the binary format dictionary. no cap, this is the whole vibe. π¦
β¨ NAME β¨
cwdreg β to register characters/words into the binary format dictionary.
like. it does the thing. that's the thing. π
πΈ SYNOPSIS πΈ
cwdreg [-D server ] -n envname
-d dicno < textdic
OR
cwdreg [-D server ] -n envname
-L filename < textdic
two routes, same destination, pick your fighter. β¨
π DEFAULT PATH π
/usr/local/bin/cWnn4/cwdreg
that's where she lives. that's her address. π
π DESCRIPTION π
so basically, this function lets you register characters/words into the specified binary dictionary, and you do it with either the dictionary number dicno or the dictionary filename filename. you choose, bestie, you're the main character here. β¨
server is the machine name of the server. and listen β if you don't specify it, the default cserver indicated by the environment variable CSERVER gets taken instead. she's self-sufficient like that. π
-n envname must be specified, okay? no skipping this one, fr fr. envname is the environment name. and pro tip from me to you: you may execute
cwnnstat -E
to see the current environment name. it's giving "look it up before you guess." π«Ά
Either -d dicno or -L filename must be specified. neither is optional, you gotta pick one.
dicnois the dictionary number.filenameis the filename of the dictionary.- and
-L?-Lis used for when the dictionary is from the local machine. local legend behavior. π
< means to pipe the textdic as an input to the cwdreg command. classic. iconic. the little arrow that could. π«
textdic is the text file where the user enters the characters/words to be registered. and the format of this text file must be the same as that in the system text format dictionary. that is:
--------------------------------------------------
| Pinyin Word Cixing Frequency |
| : : : : |
--------------------------------------------------
refer to the cWnn manual for details on the dictionary β she's got the lore, I'm just the messenger. π
and by using cwdreg, all the characters/words in textdic will be registered into the specified binary dictionary permanently. PERMANENTLY, bestie. like, no take-backs. no undo button. it's committed, the way it should be. πβ¨
π NOTE π
- the parts in
[ ]are options. they may be omitted. that's it, that's the note. π
lowkey important reminder: [ ] = optional, everything else = not optional. don't come for me when it yells at you. π
okay that's the whole page!! this one came from the General Commands Manual, and the version/date energy is 13 May 1992 β yeah, she's vintage, she's an icon, she was doing this before it was cool. ππ go register those words, bestie. periodt. ππ
π¦ where this page comes from
- debian bookworm: freewnn-cserver 1.1.1~a021+cvs20130302-7+b2
- ubuntu jammy: freewnn-cserver 1.1.1~a021+cvs20130302-7build1
- ubuntu noble: freewnn-cserver 1.1.1~a021+cvs20130302-8build1
- ubuntu questing: freewnn-cserver 1.1.1~a021+cvs20130302-8build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms