Mercurial > emacs
changeset 24594:2105eae5069b
Describe Far-Eastern DOS terminal support.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Thu, 08 Apr 1999 12:17:13 +0000 |
parents | ffe7dfc452d7 |
children | 5b4c1048b2da |
files | man/msdog.texi |
diffstat | 1 files changed, 23 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/man/msdog.texi Thu Apr 08 11:55:45 1999 +0000 +++ b/man/msdog.texi Thu Apr 08 12:17:13 1999 +0000 @@ -531,18 +531,27 @@ your init file. @cindex language environment, automatic selection on @r{MS-DOS} - Multibyte Emacs supports only certain DOS codepages, those that encode -a single ISO 8859 character set, and it knows which ISO character set -based on the codepage number. Emacs automatically creates a coding -system to support reading and writing files that use the current -codepage, and uses this coding system by default. The name of this -coding system is @code{cp@var{nnn}}, where @var{nnn} is the codepage -number.@footnote{The standard Emacs coding systems for ISO 8859 are not -quite right for the purpose, because typically the DOS codepage does not -match the standard ISO character codes. For example, the -letter @samp{@,{c}} (@samp{c} with cedilla) has code 231 in the standard -Latin-1 character set, but the corresponding DOS codepage 850 uses code -135 for this glyph.} + Multibyte Emacs supports only certain DOS codepages, those which can +display Far-Eastern scripts, like the Japanese codepage 932, and those +that encode a single ISO 8859 character set. + + The Far-Eastern codepages can directly display one of the MULE +character sets for these countries, so Emacs simply sets up to use the +appropriate terminal coding system that is supported by the codepage. +The special features described in the rest of this section mostly +pertain to codepages that encode ISO 8859 character sets. + + For the codepages which correspond to one of the ISO character sets, +Emacs it knows which ISO character set is that based on the codepage +number. Emacs automatically creates a coding system to support reading +and writing files that use the current codepage, and uses this coding +system by default. The name of this coding system is +@code{cp@var{nnn}}, where @var{nnn} is the codepage number.@footnote{The +standard Emacs coding systems for ISO 8859 are not quite right for the +purpose, because typically the DOS codepage does not match the standard +ISO character codes. For example, the letter @samp{@,{c}} (@samp{c} +with cedilla) has code 231 in the standard Latin-1 character set, but +the corresponding DOS codepage 850 uses code 135 for this glyph.} @cindex mode line @r{(MS-DOS)} All the @code{cp@var{nnn}} coding systems use the letter @samp{D} (for @@ -550,6 +559,8 @@ system and the default coding system for file I/O are set to the proper @code{cp@var{nnn}} coding system at startup, it is normal for the mode line on MS-DOS to begin with @samp{-DD\-}. @xref{Mode Line}. +Far-Eastern DOS terminals do not use the @code{cp@var{nnn}} coding +systems, and thus their initial mode line looks like on Unix. Since the codepage number also indicates which script you are using, Emacs automatically runs @code{set-language-environment} to select the