aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii1999-04-08 12:17:13 +0000
committerEli Zaretskii1999-04-08 12:17:13 +0000
commit36e20969343c1a24e27c0fc3bb5a103d5a3a0359 (patch)
treeafb52742617b7ebf1a23a84766846e614d97085a
parentfb7f676dd3d817657df8a664ba131f73e2efff4e (diff)
downloademacs-36e20969343c1a24e27c0fc3bb5a103d5a3a0359.tar.gz
emacs-36e20969343c1a24e27c0fc3bb5a103d5a3a0359.zip
Describe Far-Eastern DOS terminal support.
-rw-r--r--man/msdog.texi35
1 files changed, 23 insertions, 12 deletions
diff --git a/man/msdog.texi b/man/msdog.texi
index 0c9ec991a71..695f3587ba9 100644
--- a/man/msdog.texi
+++ b/man/msdog.texi
@@ -531,18 +531,27 @@ codepage for Emacs to use by setting the variable @code{dos-codepage} in
531your init file. 531your init file.
532 532
533@cindex language environment, automatic selection on @r{MS-DOS} 533@cindex language environment, automatic selection on @r{MS-DOS}
534 Multibyte Emacs supports only certain DOS codepages, those that encode 534 Multibyte Emacs supports only certain DOS codepages, those which can
535a single ISO 8859 character set, and it knows which ISO character set 535display Far-Eastern scripts, like the Japanese codepage 932, and those
536based on the codepage number. Emacs automatically creates a coding 536that encode a single ISO 8859 character set.
537system to support reading and writing files that use the current 537
538codepage, and uses this coding system by default. The name of this 538 The Far-Eastern codepages can directly display one of the MULE
539coding system is @code{cp@var{nnn}}, where @var{nnn} is the codepage 539character sets for these countries, so Emacs simply sets up to use the
540number.@footnote{The standard Emacs coding systems for ISO 8859 are not 540appropriate terminal coding system that is supported by the codepage.
541quite right for the purpose, because typically the DOS codepage does not 541The special features described in the rest of this section mostly
542match the standard ISO character codes. For example, the 542pertain to codepages that encode ISO 8859 character sets.
543letter @samp{@,{c}} (@samp{c} with cedilla) has code 231 in the standard 543
544Latin-1 character set, but the corresponding DOS codepage 850 uses code 544 For the codepages which correspond to one of the ISO character sets,
545135 for this glyph.} 545Emacs it knows which ISO character set is that based on the codepage
546number. Emacs automatically creates a coding system to support reading
547and writing files that use the current codepage, and uses this coding
548system by default. The name of this coding system is
549@code{cp@var{nnn}}, where @var{nnn} is the codepage number.@footnote{The
550standard Emacs coding systems for ISO 8859 are not quite right for the
551purpose, because typically the DOS codepage does not match the standard
552ISO character codes. For example, the letter @samp{@,{c}} (@samp{c}
553with cedilla) has code 231 in the standard Latin-1 character set, but
554the corresponding DOS codepage 850 uses code 135 for this glyph.}
546 555
547@cindex mode line @r{(MS-DOS)} 556@cindex mode line @r{(MS-DOS)}
548 All the @code{cp@var{nnn}} coding systems use the letter @samp{D} (for 557 All the @code{cp@var{nnn}} coding systems use the letter @samp{D} (for
@@ -550,6 +559,8 @@ Latin-1 character set, but the corresponding DOS codepage 850 uses code
550system and the default coding system for file I/O are set to the proper 559system and the default coding system for file I/O are set to the proper
551@code{cp@var{nnn}} coding system at startup, it is normal for the mode 560@code{cp@var{nnn}} coding system at startup, it is normal for the mode
552line on MS-DOS to begin with @samp{-DD\-}. @xref{Mode Line}. 561line on MS-DOS to begin with @samp{-DD\-}. @xref{Mode Line}.
562Far-Eastern DOS terminals do not use the @code{cp@var{nnn}} coding
563systems, and thus their initial mode line looks like on Unix.
553 564
554 Since the codepage number also indicates which script you are using, 565 Since the codepage number also indicates which script you are using,
555Emacs automatically runs @code{set-language-environment} to select the 566Emacs automatically runs @code{set-language-environment} to select the