See http://koi8.pp.ru/unix.html for possible updates.

------------------------------------------------------------------------------

todos/fromdos: point-to-point cp866<->koi8-r decoder with CR/LF
	       translation
towin/fromwin: best match cp1251<->koi8-r decoder with CR/LF
	       translation

Usage:
    todos [-b] [-v] [-u] < koi8-r(unix)TextFile > cp866(dos)TextFile
    todos [-b] [-v] [-u] [-p] [-o outdir] koi8-r(unix)TextFile ...

    fromdos [-b] [-v] [-u] < cp866(dos)TextFile > koi8-r(unix)TextFile
    fromdos [-b] [-v] [-u] [-p] [-o outdir] cp866(dos)TextFile ...

    towin [-b] [-v] [-u] < koi8-r(unix)TextFile > cp1251(win)TextFile
    towin [-b] [-v] [-u] [-p] [-o outdir] koi8-r(unix)TextFile ...

    fromwin [-b] [-v] [-u] < cp1251(win)TextFile > koi8-r(unix)TextFile
    fromwin [-b] [-v] [-u] [-p] [-o outdir] cp1251(win)TextFile ...

    todos/fromdos/towin/fromwin [-h|-?]
Options:
    -h or -?:   short help (you see it)
    -b:		binary mode, disable CR/LF translation
    -v:		verbose mode, some additional info
    -p:         preserve modification times, if possible
    -u:         unbuffered mode
    -o outdir:	place output file(s) into 'outdir' directory

------------------------------------------------------------------------------

a2kfcnv: EGA/VGA raw screen fonts converter: AltCodes font -> koi8-r font

Usage:
    a2kfcnv EGA/VGA_alt_screen_font  EGA/VGA_koi8-r_screen_font
    a2kfcnv [-h|-?]
Options:
    -h or -?:   short help (you see it)

------------------------------------------------------------------------------

Both programs written according to RFC 1489

Copyright (C) 1993-2003 by Andrey A. Chernov, Moscow, Russia
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.