Go to the first, previous, next, last section, table of contents.


Configuration using Country

The COUNTRY variable is recommended for people which also have access to MS-DOS system files and documentation. If you don't have access to these, I'd suggest you'd rather use explicit tables instead.

Syntax:

COUNTRY="country[,[codepage], country-file]"

This tells mtools to use a Unix-to-DOS translation table which matches codepage and an lowercase-to-uppercase table for country and to use the country-file file to get the lowercase-to-uppercase table. The country code is most often the telephone prefix of the country. Refer to the DOS help page on "country" for more details. The codepage and the country-file parameters are optional. Please don't type in the square brackets, they are only there to say which parameters are optional. The country-file file is supplied with MS-DOS, and is usually called `COUNTRY.SYS', and stored in the `C:\DOS' directory. In most cases you don't need it, as the most common translation tables are compiled into mtools. So, don't worry if you run a Unix-only box which lacks this file.

If codepage is not given, a per country default code page is used. If the country-file parameter isn't given, compiled-in defaults are used for the lowercase-to-uppercase table. This is useful for other Unices than Linux, which may have no `COUNTRY.SYS' file available online.

The Unix-to-DOS are not contained in the `COUNTRY.SYS' file, and thus mtools always uses compiled-in defaults for those. Thus, only a limited amount of code pages are supported. If your preferred code page is missing, or if you know the name of the Windows 95 file which contains this mapping, could you please drop me a line at Alain.Knaff@poboxes.com.

The COUNTRY variable can also be set using the environment.


Go to the first, previous, next, last section, table of contents.