CODEPAGE(1) General Commands Manual CODEPAGE(1)

codepage - 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.

Input file is a single codepage
Print header info (you don't want to see this).
List all codepages contained in the file.
Extract all codepages from the file
(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
2002-02-19 kbd