Extract a codepage from an msdos codepage file
codepage [ -c ] | [ -l ] | -L ] | [ -a | nnn ] <file.cpi>
The codepage command extracts codepages from an MSDOS codepage file.
-c
Input file is a single codepage
-L
Print header info (you don't want to see this).
-l
List all codepages contained in the file.
-a
Extract all codepages from the file
nnn
(3 digits): extract codepage nnn from the file.
To create a file 850.cp, with codepage 850 from a file ega.cpi, execute:
codepage ega.cpi 850