\documentclass[letterpaper,english]{article}
\nonstopmode
\akai
\usepackage{linuxdoc-sgml}
\usepackage{qwertz}
\usepackage{url}
\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage[english]{babel}
\usepackage{epsfig}
\usepackage{null}
\def\addbibtoc{
\addcontentsline{toc}{section}{\numberline{\mbox{}}\relax\bibname}
}%end-preamble
\setcounter{page}{1}
\title{¦bLinux¤U¨Ï¥Î¤¦³Á»y/¨ä¥L°ê»Ú»y¨¥ HOWTO}
\author{§@ªÌ: Niels Kristian Bech Jensen {\ttfamily nkbj@sslug.dk}\\ 
Ä¶ªÌ: ´¿¼z²[ {\ttfamily azurlachesis@msn.com}}
\date{v2.6, 9 March 2000}
\abstract{³o¥÷¤å¥ó±Ô­z¦p¦ó¬° Linux ¤Î Linux ¬ÛÃöÀ³¥Îµ{¦¡¤¦³Á»y¤Æ, ¥]¬AÁä½L³]¸m, ¦r«¬, ¯È±i¤j¤pµ¥. §Æ±æ¨ä¥L¦è¼Ú»y¨tªº Linux ¨Ï¥ÎªÌ¤]¯à±q³o¥÷¤å¥ó¤¤Àò¯q.}


\begin{document}
\maketitle
\tableofcontents

\section{¾É¨¥}

´X¥G©Ò¦³¼Ú¬wªº§@·~¨t²Î¨Ï¥ÎªÌ³£·|¹J¨ì¥H¤U¨â­Ó°ÝÃD: 
²Ä¤@, ¦p¦óÅý¹q¸£ª¾¹D§A¨Ï¥Îªº¬O«D¬ü¨tªºÁä½L; 
²Ä¤G, ¦p¦óÅý¹q¸£Åã¥Ü¯S®í¦r¤¸. 
§óÁV¿|ªº¬O, ¦³¨ÇÀ³¥Îµ{¦¡·|¦]¬°§A¤£¬O¬ü°ê¤H¦Ó­n¨D§A°µ¯S®í³]©w, ©Î¬O§ó§ïÀô¹ÒÅÜ¼Æ.

¦b Linux ¸Ì, §A¥i¥H¥Î«ü¥O{\ttfamily loadkeys} ©M {\ttfamily xmodmap} ¨Ó§ïÅÜÁä½L³]©w.
{\ttfamily loadkeys} «ü¥O¥u§ó§ï¯Â Linux Àô¹Ò¤UªºÁä½L, 
¦Ó {\ttfamily xmodmap} ¦b Linux ©M X11 ¤§¶¡¥æ´«¦r¤¸ªºµ{§Ç¤£§¹¾ã®É, ·|°µ¾A·íªº½Õ¾ã.

¬°¤F­n¥¿½TÅã¥Ü¦r¤¸, §A¥²»Ý§i¶DÀ³¥Îµ{¦¡§A¨Ï¥Îªº¬O ISO-8859-1 ( ¥ç§YLatin-1) ªº°ê»Ú¦r¤¸¶°.
¹ï¬Y¨Ç±`¥ÎªºÀ³¥Îµ{¦¡¨Ó»¡, ³o¬O¥²­nªº¨BÆJ.

³o¥÷ HOWTO ¤å¥ó¥Øªº¦b©ó§i¶D¤¦³Á»y¨Ï¥ÎªÌ¦p¦óÅª¼g¤¦³Á»y.
¦pªG¦b¾\Åª³o¥÷¤å¥ó«á, §AÁÙ¬O¸I¨ì°ÝÃD, ½Ð°Ñ¦Ò¼w»y HOWTO, Linux Áä½L©M±±¨î¥x HOWTO , ©Î¬O ISO 8859-1 National Character Set FAQ.
¥»¤å¥ó¤¤³\¦hªº´£¥Ü»¡©ú³£¬O¥X¦Û³o¤T¥÷¤å¥óªº¤º®e. 
½Ð°Ñ¨£ \ref{docs} {(¨ä¥L¬ÛÃö¤å¥ó)} ¨Ó³sµ²¨ì³o¨Ç¤å¥ó.
¦P®É, ½Ð§A±H«Hµ¹§Ú, ¨Ã±Ô­z§A¸I¨ìªº°ÝÃD.

³Ì«á¤@­Ó°ÝÃD¬O: ³\¦hÀ³¥Îµ{¦¡ªº¿ù»~°T®§, ¿ï³æ©M»¡©ú¤å¥ó³£¬O­^¤åªº.
¦³¤@­Ó GNU ­p¹º¥¿¦bµÛ¤â¸Ñ¨M³o­Ó°ÝÃD.
§A¥i¥H±q§A³ß·Rªº GNU ¬M®g¯¸¤¤¤U¸ü {\ttfamily ABOUT-NLS} ©Î¬O {\ttfamily gettext-0.10.tar.gz} ¥]»q¥H¤F¸Ñ¦¹­p¹º.
³o­Ó­p¹º»Ý­n¦ÛÄ@ªÌ°Ñ»PÂ½Ä¶¤u§@. 
¦pªG§A·Q­n¬°­p¹º¤¤ªº¤¦³Á»y³¡¥÷¥X¤O, ½Ð±H«H¨ì {\ttfamily da-request@li.org} ¨Ã¦b¤º®e¼g¤W "subscribe".
{\ttfamily gettext} ¤¤ªº»¡©ú¤å¥ó·|§i¶D§A¦p¦ó¦b§Aªºµ{¦¡¤¤¨Ï¥ÎÂ½Ä¶.






\section{³]©wÁä½L}


\subsection{¸ü¤JÁä½Lªí (keytable)\label{loadkbd}}

§A¥i¨Ï¥Î¨â­Ó¤u¨ã¨Ó³]©w§AªºÁä½L. ¦b¯Â Linux Àô¹Ò¤U, §A¥i¥H¥Î{\ttfamily loadkeys} , ¦Ó¦b X11 ¤U«h¥Î {\ttfamily xmodmap}.

±ý¨Ï¥Î {\ttfamily loadkeys} «ü¥O, §A¥i¥H°õ¦æ:

\begin{verbatim}
loadkeys /usr/lib/kbd/keytables/dk.map 
\end{verbatim}

©Î
\begin{verbatim}
loadkeys /usr/lib/kbd/keytables/dk-latin1.map
\end{verbatim}


³o¨â­ÓÁä½L¹ïÀ³ªí (keymap) ªº®t²§¦b©ó,  {\ttfamily dk-latin1.map} ¥i¥H¨Ï¥Î¦ºÁä, ¦Ó {\ttfamily dk.map} ¤£¦æ.
¦ºÁä¦b \ref{deadkeys} {(¦ºÁä©M­«­µ¦r¤¸)} ¤¤·|¸ÑÄÀ¨ì.
{\ttfamily loadkeys} ©M keymap ³£¬O Linux ¸Ì³q¦æªº {\ttfamily kbd-0.??.tar.gz} ( ?? ¥Nªí¤£¦Pª©¥») ¥]»q¤¤ªº¤@³¡¥÷.

{\ttfamily loadkeys} ³q±`¬O¦b¨t²Î±Ò°Ê®É, ±q {\ttfamily /etc/rc.d/} ¥Ø¿ý¤Uªº¬Y¤@­Ó©R¥O½Z (script) °õ¦æªº.
¤£¦Pªº¨t²Î©Mª©¥»§@ªk¦U¤£¬Û¦P.

(µù, µ¹«D¤¦³Á»yÅªªÌ: ¨ä¥L»y¨tªº¤ä´©¤]¬O¥HÃþ¦ü¤èªk³]©wªº, ¨Ò¦p¦è¯Z¤ú»yÁä½L¬O¥Î {\ttfamily es.map} .)

XFree86 ±q 3.1.2 ¥H¤Wªºª©¥» (¥]¬A3.1.2) ³q±`³£¨Ï¥Î¯Â Linux Àô¹Ò¤Uªº keymap, ¦ý¦b X11 ¤U§A¥i¥H¥Î {\ttfamily xmodmap} ¨Ó§ïÅÜÁä½L³]©w.
¦pªG¦b§Aªº home ¥Ø¿ý¤U¦³¤@­Ó¥s {\ttfamily .Xmodmap} ªºÀÉ®×, X11 ´N·|¦b±Ò°Ê®É¦Û°Ê´À§A°õ¦æ³o­Ó«ü¥O.

­Y¨Ï¥Îª©¥» 3.2 ¥H¤Wªº XFree86, ¦b§Aªº {\ttfamily /etc/XF86Config} (©Î {\ttfamily /etc/X11/XF86Config}) ÀÉ®×¤¤, À³¦³¤@­Ó{\ttfamily Keyboard} °Ï¶ô¦p¤U¦C
( ¦pªG¿ï¾Ü¨Ï¥Î¤¦³Á»yªº keytable, ¤@­Ó¥s  {\ttfamily XF86Setup}  ªºµ{¦¡À³¸Ó·|¦Û°Ê´À§A°µ¦n³o¥ó¨Æ) :

\begin{verbatim}
Section "Keyboard"
   Protocol        "Standard"
   XkbRules        "xfree86"
   XkbModel        "pc101"
   XkbLayout       "dk"
   XkbVariant      "nodeadkeys"
EndSection
\end{verbatim}


¥Ø«e¥u¦³{\ttfamily "nodeadkeys"} ¬O¥i¥ÎªºÁä½LÅÜ¼Æ, ¦ý§A¤´¥i¥H³]©w¦ºÁä. 
½Ð°Ñ¨£ \ref{deadkeys} {(¦ºÁä©M­«­µ¦r¤¸)} ¥H±o¨ì§ó¦h¸ê°T.






\subsection{¦b X11 ¤U¨Ï¥Î AltGr Áä}

­Y¨Ï¥Îª©¥» 3.1.2 ¥H¤Wªº XFree86 (¥]¬A 3.1.2), §AÀ³¸Ó­×§ïÀÉ®× {\ttfamily /etc/XF86Config} (©Î {\ttfamily /etc/X11/XF86Config}) ¨Ã½T©w¥H¤U³o¦æ

\begin{verbatim}
RightAlt    ModeShift
\end{verbatim}


¥X²{¦b {\ttfamily Keyboard} °Ï¶ô¤¤. 
³q±`, §A¥u»Ý­n¦b¾A·íªº¦a¤è²¾¥hµù¸Ñ²Å¸¹§Y¥i.
¦bª©¥» 3.1.2 ªº XFree86 ¤¤, §A¥i¥Î {\ttfamily AltGr} §@¬° {\ttfamily RightAlt} ªº§OÁä.

¦pªG§A¦³¿ï¾Ü¤¦³Á»yªºÁä½L¤ä´©, {\ttfamily AltGr} Áä¦bª©¥» 3.2 ¥H¤Wªº XFree86 À³·|¦p¹w´Á¦aµo´§§@¥Î.






\subsubsection{¦b Metro-X ¤U¨Ï¥Î $\{$, {[}, {]}  ©M $\}$ }

¦b Metro-X ¦øªA¾¹¤U, §A±NµLªk¿é¤J ``$\{$'' {\ttfamily ($<$AltGr$>$$<$7$>$)},
``{[}'' {\ttfamily ($<$AltGr$>$$<$8$>$)}, ``{]}''
{\ttfamily ($<$AltGr$>$$<$9$>$)} ©M ``$\}$'' {\ttfamily ($<$AltGr$>$$<$0$>$)} µ¥¦r¤¸.
³o­Ó bug ·|¦b 3.1.5 ©M 3.1.8 ªº¦øªA¾¹ª©¥»¤¤¥X²{.

­n­×¥¿³o­Ó bug, §A¥²¶·­×§ïÀÉ¦W¥s§@ {\ttfamily /usr/X11R6/lib/X11/xkb/symbols/dk} ªºÀÉ®×¨Ã§â¥H¤U¥y¤l: 

\begin{verbatim}
key <AE07> {    [               7,           slash      ]       };
key <AE08> {    [               8,       parenleft      ]       };
key <AE09> {    [               9,      parenright      ]       };
key <AE10> {    [               0,           equal      ]       };
\end{verbatim}

§ï¦¨
\begin{verbatim}
key <AE07> {    [               7,           slash      ],
                [       braceleft,        NoSymbol      ]       };
key <AE08> {    [               8,       parenleft      ],
                [     bracketleft,        NoSymbol      ]       };
key <AE09> {    [               9,      parenright      ],
                [    bracketright,        NoSymbol      ]       };
key <AE10> {    [               0,           equal      ],
                [      braceright,        NoSymbol      ]       };
\end{verbatim}





\subsection{¦ºÁä©M­«­µ¦r¤¸\label{deadkeys}}

©Ò¿×¦ºÁä, ´N¬O¦b«ö¤U¤§«á, ÁÙ¥²¶·¦A«ö¨ä¥LÁä¤~¯à°÷§@¥ÎªºÁä.
§A¦pªG¬O¦b¯Â Linux Àô¹Ò¤U¨Ï¥Î  {\ttfamily dk-latin1.map} keymap, ¨ºÃE¤Æ²Å¸¹ (tilde, Ä¶ª`: ¨Ò¦p¦è¯Z¤ú»y¦r¥À¤Wªº¡ã) ©MÅÜ­µ (umlaut, Ä¶ª`: ¦r¥À¤W¥[¨âÂI) ³£¬O¦ºÁä.
¥t¥~, ¦b·L³nµøµ¡§@·~¨t²Î¤U, Áä½L¹w³]¤]¬O¦p¦¹.






\subsubsection{²¾°£¦ºÁä¥\¯à}

\begin{itemize}
\item ¦b¯Â Linux »P XFree86 v3.1.2 Àô¹Ò¤U²¾°£¦ºÁä¥\¯à

¦b¯Â Linux Àô¹Ò¤U, ¿é¤J
\begin{verbatim}
loadkeys dk.map
\end{verbatim}

\item ¦bª©¥» 3.2 ¥H¤Wªº XFree86 ¤¤²¾°£¦ºÁä¥\¯à

¦bÀÉ®× {\ttfamily /etc/XF86Config} (©Î {\ttfamily /etc/X11/XF86Config}) ¤¤, ¦b {\ttfamily Keyboard} °Ï¶ô¤¤¥[¤J¥y¤l: 
\begin{verbatim}
XkbVariant      "nodeadkeys"
\end{verbatim}
\end{itemize}





\subsubsection{±Ò°Ê¦ºÁä¥\¯à}

\begin{itemize}
\item ¦b¯Â Linux Àô¹Ò¤U±Ò°Ê¦ºÁä¥\¯à.

¦b¯Â Linux Àô¹Ò¤U¿é¤J
\begin{verbatim}
loadkeys dk-latin1.map
\end{verbatim}

\item ¦b X11R6 ¤U±Ò°Ê¦ºÁä¥\¯à.

­º¥ý, ½T»{§A¶]ªº¬Oª©¥» 3.1.2 ¥H¤Wªº XFree86. ¦pªG§Aªºª©¥»§C©ó 3.1.2, §A¥²¶·¤U¸ü¨Ã¦w¸Ë©Ò¦³©M³Ì·sª©¥»¬ÛÃöªºÀÉ®×.
¦b X11R6 À³¥Îµ{¦¡¤¤, ­n¨Ï¥Î±Æ¦r (compose) ©Î¦ºÁä, ´N¥²¶·±Nµ{¦¡©M­«­µ¦r¤¸ (8-bit) ¤ä´©¤@°_½sÄ¶.
{\ttfamily GNU emacs} v. 19.30 (©Î§ó°ªªºª©¥») ¬O¤@­Ó¨Ò¤l.

µM¦Ó, ¬Y¨Ç X11 À³¥Îµ{¦¡¨ÌµM¤£¤ä´©³oºØ¿é¤Jªk. 
­±¹ï³o­Ó°ÝÃD, §A¥i¥H¿ï¾Ü­×§ï§Aªºµ{¦¡, ©Î¬O±H¤@«Ê­×Ãã·Å©Mªº bug ³ø§iµ¹µ{¦¡§@ªÌ.
«áªÌ¬O¤ñ¸û¦³®Äªº¸Ñ¨M¤§¹D.
½Ð°Ñ¨£ \ref{programming} {(¦b X11¤U½s¼gµ{¦¡ªº¤@¨Ç¤p§Þ¥©)} ¥HÀò±o¬ÛÃö¸ê°T.

±µ¤U¨Ó, §A»Ý­n±N¤@­ÓÁä¹ïÀ³¨ì {\ttfamily Multi\_key} ({\ttfamily Compose}.) 
­Y§A¨Ï¥Îª©¥» 3.1.2 ªº XFree86, {\ttfamily Scroll Lock} Áä«Ü¥i¯à¤w¸g³Q¹ïÀ³¤F(§A¥i¥H¥Î {\ttfamily xev} ³o­Óµ{¦¡­×§ï³]©w).
¦pªG­n¹ïÀ³¥kÃäªº {\ttfamily Control} Áä, 
§A¥u»Ý­n¦b XFree86 ªº configuration file (³q±`¬O {\ttfamily /etc/XF86Config} ©Î {\ttfamily /etc/X11/XF86Config}) ¤¤ªº {\ttfamily Keyboard} °Ï¶ô¸Ì¥h±¼­Y¤zµù¸Ñ²Å¸¹§Y¥i.
­Y§A·Q¨Ï¥Î¨ä¥LªºÁä, ©ÎªÌ§A¬O¥Îª©¥» 3.1.2 ¥H¤Wªº XFree86 ¦Ó¥B§A·Q§ïÅÜ¹w³], §A¥i¥H¦bÀÉ®× {\ttfamily \~{}/.Xmodmap} ¤¤¥[¤J:
\begin{verbatim}
keycode 78 = Multi_key
\end{verbatim}

¤W­±³o¤@¦æ½d¨Ò°µªº¬O©w¸q {\ttfamily Scroll Lock} Áä¬° {\ttfamily Compose} Áä.
¦bª©¥» 3.2 ¥H¤Wªº XFree86 ¤¤, ¹w³]ªº {\ttfamily Compose} Áä¬O {\ttfamily $<$Shift$>$$<$AltGr$>$}.

ª©¥» 3.2 ¥H¤Wªº XFree86 ¨Ã¤£¤ä´©¦b¼Ð·Ç¤¦³ÁÁä½L¨Ï¥Î¦ºÁä.
­n±Ò°Ê¦ºÁä, ¦bÀÉ®× {\ttfamily /usr/X11R6/lib/X11/xkb/symbols/dk} ªº {\ttfamily xkb\_symbols "basic"} °Ï¶ô¤¤­×§ï³o´X¦æ:
\begin{verbatim}
key <AE12> {    [           acute,           grave      ],      
                [             bar,     dead_ogonek      ]       };
key <AD12> {    [       diaeresis,     asciicircum      ],      
                [      asciitilde,     dead_macron      ]       };
\end{verbatim}

§â¥¦§ï¦¨
\begin{verbatim}
key <AE12> {    [      dead_acute,      dead_grave      ],      
                [             bar,     dead_ogonek      ]       };
key <AD12> {    [  dead_diaeresis, dead_circumflex      ],      
                [      dead_tilde,     dead_macron      ]       };
\end{verbatim}


±µ¤U¨Ó, ²¾°£ÀÉ®× {\ttfamily /etc/XF86Config} (©Î {\ttfamily /etc/X11/XF86Config}) ¤¤ {\ttfamily Keyboard} °Ï¶ô¸Ìªº³o¤@¦æ: 
\begin{verbatim}
XkbVariant      "nodeadkeys"
\end{verbatim}


(µù, µ¹«D¤¦³Á»yÅªªÌ: ¦b {\ttfamily /usr/X11R6/lib/X11/xkb/symbols} ¤¤¦³¦UºØ»y¨t keymap ªºÀÉ®×.)

¥i¯àªº¦r¤¸¹ïÀ³ªí¦C©óÀÉ®× {\ttfamily /usr/X11R6/lib/X11/locale/iso8859-1/Compose} ¤¤.
³o­ÓÀÉ®×¸Ì¦³¤@¨Ç§A©Î³\·|·Q­×¥¿ªº bug:
\begin{itemize}
\item ¤U­±³o¤@¦æ
\begin{verbatim}
<dead_tilde> <space>                    : "~"   tilde
\end{verbatim}

À³³Q§ï¬°
\begin{verbatim}
<dead_tilde> <space>                    : "~"   asciitilde
\end{verbatim}

\item ¦b¬Y¨Ç¦a¤è, {\ttfamily asciicircum} ³Q»~«÷¬° {\ttfamily asciicirum}
\end{itemize}


³Ì«á, ½T©w§Aªº shell (©ÎªÌÁÙ¦³À³¥Îµ{¦¡) ¤w¸g¦p \ref{apps} {(¯S©wÀ³¥Îµ{¦¡¤¤ªº°ê»Ú¦r¤¸¶°)} ¤¤©Ò±Ô­zªº,
°µ¦n ISO-8859-1 ¬Û®e©Êªº³]©w.
\end{itemize}





\subsection{¨Ï¥Î \$ (¿ú²Å¸¹), \o{} (oslash) ©M \O{} (Oslash) ¦r¤¸}


\subsubsection{\$ (the dollar sign)}

¤¦³Á keymap ¤¤¦³­Ó bug ·|¨Ï¿ú²Å¸¹ªº¹ïÀ³Áä²Õ¦X¬° {\ttfamily $<$Shift$>$$<$4$>$}, ¦Ó¤£¬O {\ttfamily $<$AltGr$>$$<$4$>$}.
­Y§A¦³³o­Ó°ÝÃD, ½Ð¬d¬Ý§A¦b±Ò°Ê¨t²Î®É¸ü¤Jªº¬O­þ­Ó keymap.
³o¶µ³]©w¦ì©ó {\ttfamily /etc/rc.d/} ¥Ø¿ý¤U, ©ÎªÌ§A¤]¥i¥H¦b±Ò°Ê¨t²Î®Éª`·N¤@¤U.
¦b§Úªº¹q¸£¤W, §Úªº keymap ¬O¥s {\ttfamily /usr/lib/kbd/keytables/dk-latin1.map}. 
§A¥i¥H§ï keymap ÀÉ®×¤¤ªº
\begin{verbatim}
keycode   5 = four             dollar           dollar          
\end{verbatim}

³o¤@¦æ§ï¦¨
\begin{verbatim}
keycode   5 = four             currency         dollar
\end{verbatim}

µM«á¦p \ref{loadkbd} {(¸ü¤J keytable)} ©Ò­z, (­«·s)¸ü¤J keytable.

³f¹ô²Å¸¹ (dansk: ``soltegn'') ¦b¤¦³ÁÁä½L¤Wªº¹w³]¬O {\ttfamily $<$Shift$>$$<$4$>$}.

¥H¤Wªº¤èªk¦b X11 ©M Linux Àô¹Ò¤UÀ³¸Ó³£¯à³q¦æ.




\subsubsection{\o{} (oslash) ©M \O{} (Oslash)}

¦b¬Y¨Ç¤ñ¸ûÂÂªº¨t²Î¸Ì, ``\o{}'' and ``\O{}'' ¥H¤À (cent) ©Î¶ê (yen)ªº§ÎºA¥X²{.
¦b§Aªº keymap ÀÉ®×¤¤, ¥i¥H§ä¨ì keycode 40 ªº³o¤@¦æ¥y¤l: 
\begin{verbatim}
keycode  40 = cent              yen
\end{verbatim}

§A¥i¥H§â¥¦§ï¬°
\begin{verbatim}
keycode  40 = +oslash           +Ooblique
\end{verbatim}


¦¹ bug ¤w¦b {\ttfamily kbd-0.88.tar.gz} ¥H¤Wªºª©¥»¤¤­×¥¿.

¬°¤FÅý {\ttfamily Caps Lock} ¥¿±`¹B§@, ¨º­Ó + ²Å¸¹¬O¥²­nªº. 
¦b {\ttfamily kbd-0.90.tar.gz} ©Î§ó·sªºª©¥»¤¤, ``Oslash'' ±`¥Î¨Ó·í§@ ``Ooblique'' ªº§O¦W.

§A¥i¥H¦b\nameurl{http://www.ibbnet.nl/~anne/keyboard.html}{³o¸Ì}±o¨ì§ó¦h¸ê°T.




\section{³]©wÅã¥Ü©MÀ³¥Îµ{¦¡}

¤j³¡¥÷ªºÀ³¥Îµ{¦¡¥²¶·³Q½sÄ¶¬° ``8-bit-clean'' ¤~¯à¦¨¥\¨Ï¥Î¼Ú¬wªº¦r¤¸, ¦³¨Ç¬Æ¦ÜÁÙ»Ý­nÃB¥~ªº¤@¨Ç­×§ï.






\subsection{¦b±±¨î¥x¤¤¸ü¤J ISO-8859-1 ¦r«¬}

¦b shell ´£¥Ü¦r¤¸«á°õ¦æ¥H¤U«ü¥O:
\begin{verbatim}
setfont lat1u-16.psf
\end{verbatim}


¦b Red Hat Linux 5.2 ©Î§ó·sªºª©¥»¤U, §A¥i¥H¦bÀÉ®× {\ttfamily /etc/sysconfig/i18n} ¤¤¥[¤J¤U¦C¥y¤l:
\begin{verbatim}
SYSFONT=lat1u-16.psf
SYSTERM=linux
\end{verbatim}

¥Ñ©ó Red Hat Linux 5.2 ªº {\ttfamily ncurses} ¥]»q¤¤¦³ bug, §A±o§âÀÉ®× {\ttfamily /etc/profile.d/lang.sh} ¤¤ªº ``linux-lat'' §ï¬° ``linux''.
Red Hat Linux 6.0 «h¨S¦³¦¹°ÝÃD.




\subsection{¼Ú¤¸²Å¸¹}

¤¦³Á¦r¤¸¶°¸Ì·s¼W¤F¤@­Ó²Å¸¹: ¼Ú¤¸²Å¸¹ (¼Ú¬w³f¹ôÁp·ùªº·s¹ô­È).
·sªº¦r¤¸¶°¥s§@ ISO-8859-15, ¤]´N¬O latin0 (©Î latin9) ¥H¨ú¥N­ì¥ýªº ISO-8859-1 (latin1).
¬°¨ú±o latin0 ¤ä´©, §A¥²¶·¨Ï¥Î \nameurl{ftp://ftp.freshmeat.net/pub/euro-patch/}{EURO} ¥]»q.
³o­Ó¥]»q¤¤¥]§t¦r«¬©M keymap.




\subsection{Linux Àô¹Ò¤U¥iÅã¥Üªº¦r¤¸}

¦b¦r¤¸´£¥Ü¿é¤J {\ttfamily dumpkeys -l $|$ less} §Y¥iª¾¹D­þ¨Ç¦r¤¸¬O¥i¥Îªº.
§A¥i¥H¨Ì \ref{loadkbd} {(¸ü¤J keytable)} ¤¤©Ò­zªº±N¥¦¹ïÀ³¨ì§AªºÁä½L.




\subsection{¯S©wÀ³¥Îµ{¦¡¤¤ªº°ê»Ú¦r¤¸¶°\label{apps}}

¬Y¨ÇÀ³¥Îµ{¦¡»Ý­n¯S®íªº³]©w. ¥»¸`¦®¦b±Ô­z³]©wªº¤èªk.

\begin{description}
\item[{\ttfamily bash}:] \mbox{}

¦bÀÉ®× {\ttfamily \~{}/.inputrc} ¤¤¥[¤J:
\begin{verbatim}
set meta-flag on
set convert-meta off
set output-meta on
\end{verbatim}




\item[{\ttfamily elm}:] \mbox{}

¦bÀÉ®× {\ttfamily \~{}/.elm/elmrc} ¤¤¥[¤J¥H¤U©w¸q:
\begin{verbatim}
charset = iso-8859-1
displaycharset = iso-8859-1
textencoding = 8bit
\end{verbatim}


¬Y¨Çª©¥» {\ttfamily elm} ¤£±µ¨ü³o¼Ëªº³]©w. ­Y¨Ï¥Î{\ttfamily metamail}, «h¥i¥H¦b {\ttfamily elm} ¤¤±o¨ì³¡¥÷ªº {\bfseries MIME} ¤ä´©.



\item[{\ttfamily emacs}:] \mbox{}

¦bÀÉ®× {\ttfamily \~{}/.emacs} ©Î¾ã­Ó¨t²Îªºªì©l³]©wÀÉ (³q±`¬O {\ttfamily /usr/lib/emacs/site-lisp/default.el} ©Î {\ttfamily /usr/share/emacs/site-lisp/default.el})
¤¤¥[¤J¥H¤U¦æ¦C:
\begin{verbatim}
(standard-display-european t)
(set-input-mode (car (current-input-mode))
        (nth 1 (current-input-mode))
        0) 
\end{verbatim}


­Y§A¨Ï¥Î GNU emacs v19.30 ¥H¤Wªºª©¥», ©Î¬O XFree86 v3.1.2 ¥H¤Wªºª©¥», ¦b GNU emacs ¸Ì§AÀ³¸Ó¥i¥H¨Ï¥Î¦ºÁä (¹ï§Ú¦Ó¨¥, ¨âªÌ³£¨S°ÝÃD);
¦]¦¹§A±N¤£»Ý­n¯S¦a¥h§ä¹³¬O¦³ ``electric keys'' ³]©wªº elisp ¥]»q.
¦pªG§A·Q­n¦b emacs ¤¤¨Ï¥Î¼Ú¬wÁä½L³]©w, «o¤£¥´ºâª@¯Å, §A³Ì¦n±q \nameurl{ftp://sunsite.auc.dk/pub/emacs/auctex/ftp/auctex/}{SunSite DK} ¤U¸ü {\ttfamily remap} ¥]»q.
°£¦¹¤§¥~, {\ttfamily iso-acc.elc} ¤Î {\ttfamily iso-trans.elc} ³o¨â­Ó¥]§t emacs ªº¥]»q¤]¦³Ãþ¦üªº¥\¯à, ¥u¬O¨S¦³¨º»ò±j¤j.



\item[{\ttfamily groff}:] \mbox{}

­Y§A·Q­n ISO-8859-1 ªº¤å¦r¿é¥X, °õ¦æ«ü¥O
\begin{verbatim}
groff -Tlatin1 <your_groff_input_file>
\end{verbatim}


½Ðª`·N: ­nÅý latin1 ªº¦r¤¸¦b {\ttfamily man} (¤£­n²¾°£ {\ttfamily -mandoc} ªº switch) ¦¨¥\¹B§@, ¥²¶·¦b {\ttfamily /etc/man.config} ¤¤°õ¦æ³o¶µÅÜ§ó.





\item[{\ttfamily ispell} --- ¤¦³Á»y«÷¦rÀË¬d:] \mbox{}

­º¥ý, ½T©w§A¦w¸Ëªº¬Oª©¥» 3.1.20 ¦Ó¤£¬O 4.0 ªº {\ttfamily ispell}.
«áªÌ¤£¦ý¹L®É, ¦Ó¥B³]­p«ÜÁV¿|.
§A¥i¥H±q \nameurl{ftp://sunsite.auc.dk/pub/gnu/}{the GNU archive}
¤U¸ü {\ttfamily ispell}, ¨Ã±q\nameurl{http://www.sslug.dk/ispell/idanish/dansk.html}{SSLUG} ¨ú±o¤¦³Á»y¦r¨å. 
¨Ì·ÓÀÉ®×¤¤ªº½sÄ¶«ü¥Ü¥h°µ, ´NÀ³¸Ó¤£·|¦³°ÝÃD.
(Äµ§i: ¦b¬°½sÄ¶§@ÅÜ¼Æ©w¸q®É, ¦pªG§Aªº Linux ¬O Sys V typs OS, §A¥²¶·©w¸q {\ttfamily USG} ³o­ÓÅÜ¼Æ¥H§iª¾ ispell.)

¬° {\ttfamily ispell} ¦w¸Ë¦n¦r¨å«á, §A¥i¥H°õ¦æ¥H¤U«ü¥O¨Ó°µ¤@­Ó¤¦³Á»yÀÉ®×ªº«÷¦rÀË¬d:
\begin{verbatim}
ispell -d danish -T latin1 -w "æøåÆØÅ" <§Aªº¤¦³Á»y¤å¦rÀÉ> 
\end{verbatim}


(µù, µ¹«D¤¦³Á»yÅªªÌ: §A¥i¥H¦b {\ttfamily ispell} ªº¸ê·½ÀÉ®× {\ttfamily Where} ¤¤§ä¨ì¤j³¡¥÷¦è¤è»y¤åªº¦r¨å.)



\item[{\ttfamily joe}:] \mbox{}

°õ¦æ«ü¥O
\begin{verbatim}
joe -asis
\end{verbatim}

©Î¦bÀÉ®× {\ttfamily \~{}/.joerc} ¤¤¥[¤J:
\begin{verbatim}
-asis
\end{verbatim}


³s¦r¸¹ ( - ) ¤@©w­n©ñ¦b²Ä¤@¦æ¸Ì! 



\item[{\ttfamily kermit}:] \mbox{}

§Ú¯à°µ¨ì³Ì¦nªº¦a¨B¬O, ¦bÀÉ®× {\ttfamily \~{}/.kermrc} ¤¤¥[¤J:
\begin{verbatim}
set terminal bytesize 8
set command bytesize 8
set file bytesize 8
set language danish
set file character-set latin1-iso
set transfer character-set latin1-iso
set terminal character-set latin1-iso
\end{verbatim}


§ÚÄ±±oÀ³¸Ó¤£¥u­n³]©w³o¨ÇÅÜ¼Æ, ¦ý§Ú¤£ª¾¹DÁÙ¦³­þ¨Ç.
¦pªG§Aªº»·ºÝ¨t²Î¬O¥H DOS ©Î OS/2 °µ®Ú¾Úªº, §A¥²¶·°µ¥H¤Wªº³]©w.





\item[{\ttfamily less}:] \mbox{}

³]©wÀô¹ÒÅÜ¼Æ:
\begin{verbatim}
LESSCHARSET=latin1
\end{verbatim}

¦pªG§Aªº¨t²Î¤ä´©°Ï°ì¤Æ¸ê®Æ®w (locale), ´N¤£»Ý­n°µ³o¶µ§ó§ï, ¥u»Ý­n³]©w {\ttfamily LANG}, {\ttfamily LC\_CTYPE} ©Î {\ttfamily LC\_ALL} 
(½Ð°Ñ¨£ \ref{locale} {(¦b libc 5.4.x ¥H¤Wª©¥»¤¤¤ä´©°Ï°ì¤Æ¸ê®Æ®w (locale))}.)



\item[{\ttfamily ls}:] \mbox{}

°õ¦æ«ü¥O
\begin{verbatim}
ls -N
\end{verbatim}

©Î¬O
\begin{verbatim}
ls --8bit
\end{verbatim}




\item[{\ttfamily lynx}:] \mbox{}

¦bÀÉ®× {\ttfamily \~{}/.lynxrc} ¤¤¥[¤J©w¸q:
\begin{verbatim}
character_set=ISO Latin 1
\end{verbatim}


§A¤]¥i¥H¦b {\ttfamily lynx} ªº {\ttfamily Options} ¿ï³æ¤¤°µ¥X¦P¼Ëµ²ªGªº³]©w. 
Áä¤J `o' ¨Ã³]©w¬ÛÃö¿ï¶µ. 



\item[{\ttfamily man}:] \mbox{}

½Ð°Ñ¨£¥»¸`¤¤ªº {\ttfamily groff} ³¡¤À.



\item[{\ttfamily metamail}:] \mbox{}

³]©wÀô¹ÒÅÜ¼Æ:
\begin{verbatim}
MM_CHARSET=ISO-8859-1
\end{verbatim}




\item[{\ttfamily nn}:] \mbox{}

¦bÀÉ®× {\ttfamily \~{}/.nn/init} ¤¤¥[¤J:
\begin{verbatim}
set data-bits 8
\end{verbatim}




\item[{\ttfamily pine}:] \mbox{}

¦bÀÉ®× {\ttfamily \~{}/.pinerc} ¤¤¥[¤J©w¸q:
\begin{verbatim}
character-set=ISO-8859-1
\end{verbatim}


§A¤]¥i¥H¦b {\ttfamily pine} ªº {\ttfamily Setup}, {\ttfamily Config} ¿ï³æ¿ï¶µ¤¤°µ¥X¬Û¦Pµ²ªGªº³]©w.
¥t¥~, §A¤]¥i¥H©ñ¤ß¦a¦b¿ï³æ¤¤¿ï¾Ü {\ttfamily enable-8bit-esmtp-negotiation} ©M {\ttfamily enable-8bit-nntp-posting} (for news).



\item[{\ttfamily rlogin}:] \mbox{}

°õ¦æ«ü¥O
\begin{verbatim}
rlogin -8 foo.bar.dk
\end{verbatim}




\item[{\ttfamily sendmail}:] \mbox{}

¦bÀÉ®× {\ttfamily /etc/sendmail.cf} ¤¤¥[¤J (©Î¥h±¼µù¸Ñ²Å¸¹):
\begin{verbatim}
O SevenBitInput=False
O EightBitMode=pass8
O DefaultCharSet=iso-8859-1
\end{verbatim}




\item[{\ttfamily tcsh}:] \mbox{}

¦bÀÉ®× {\ttfamily /etc/csh.login} ©Î {\ttfamily \~{}/.tcshrc} ¤¤¥[¤J:
\begin{verbatim}
setenv LANG C
\end{verbatim}


¨Æ¹ê¤W, §A¥u»Ý­n©w¸q {\ttfamily LANG} ©Î {\ttfamily LC\_CTYPE} ³o¨â­ÓÀô¹ÒÅÜ¼Æªº¨ä¤¤¤@­Ó. 
ÅÜ¼Æªº­ÈµLÃöºò­n. ½Ð¾\Åª {\ttfamily tcsh} man page ¥HÀò±o§ó¦h¸ê°T.



\item[{\ttfamily telnet}:] \mbox{}

¦bÀÉ®× {\ttfamily \~{}/.telnetrc} ¤¤, ¬°"¨C¤@­Ó"§A·Q­n¨Ï¥Î {\ttfamily telnet} µn¤Jªº host ¥[¤J¥H¤U¥y¤l:
\begin{verbatim}
<hostname> set outbinary true
\end{verbatim}


¨Ò¦p:
\begin{verbatim}
localhost set outbinary true
foo.bar.dk set outbinary true
\end{verbatim}


\label{latex}

\item[\TeX{}/\LaTeX{}:] \mbox{}

¦b¨Ï¥Î \TeX{}/\LaTeX{} ®É,·|¸I¨ì­Ó°ÝÃD¬O: §A§Æ±æ¯à¦b \LaTeX{} ¤¤¨Ï¥Î¯S®í¦r¤¸, ¤S¤£§Æ±æ \LaTeX{} 
¦b¨C­Ó³¹¸`ªº¶}ÀY¥[¤J¹³ "Chapter'' ¤§Ãþªº­^¤å¦r, ¤]¤£·Q­n¨Ï¥Î­^¤åªº¤å¦r±Æª©.

¦b \LaTeXe{} ¤U, §A¶×¤JªºÀÉ®×ªº header À³¸Ó·|¬Ý°_¨Ó¹³³o¼Ë:
\begin{verbatim}
\documentclass[letterpaper,english]{article}

\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage[danish]{babel}
\end{verbatim}


²Ä¤@­Ó {\ttfamily usepackage} ªº¥y¤l½T«O \LaTeX{} ·|¥¿½T¸ÑÅª¼Ú¬w¦r¤¸, ¦]¦¹, §A¤£¥²¯S¦a¨Ï¥Î escape ¦r¤¸¨Ó¿é¤J¼Ú¬w¦r¤¸.
²Ä¤G­Ó {\ttfamily usepackage} ªº¥y¤l¨Ã«D¥²­n, ¦ý­Y­n¨Ï¥Î·sªº EC ¦r«¬ (¥H«e³QºÙ§@ DC ¦r«¬), «h«ØÄ³¥[¤J.
²Ä¤T­Ó {\ttfamily usepackage} ªº¥y¤l©w¸q­Y¤z¤¦³Á»yªº¤å¦r±Æª©.

©Ò¦³¥D­nªº Linux ª©¥»³£¥]§t {\bfseries teTeX} ¥]»q.
­Y­n³]©w teTex, §A¥²¶·°õ¦æ©R¥O½Z (script) {\ttfamily texconfig}. 
¦b¦¹§A¥i¿ï¾Ü¤¦³Á»yªº³s¦r²Å¸¹ (dansk: ``orddeling''), ¬° {\ttfamily dvips} ©M {\ttfamily xdvi} ³]©w A4 ¯È±i¤j¤pµ¥µ¥.

©Ò¦³°÷·sªº Linux ª©¥»³£¥]§t \LaTeXe{}, ¦ý¦b¤ñ¸û¦ÑÂÂªº¨t²Î¸Ì, §A¨Ï¥Îªº¥i¯à¬O \LaTeX{} 2.09. 
¦pªG¬O³o¼Ëªº¸Ü, §A¥i¥H¥Î 
\begin{verbatim}
\documentstyle[a4,isolatin]{article}
\end{verbatim}

¨Ó¤ä´© ISO-8859-1 ¦r¤¸©M¼Ú¬w¯È±i¤j¤p³W®æ. 
¦ý§Ú«ØÄ³§A³Ì¦n­n¨D¨t²Î administrator ª@¯Å¨ì \LaTeXe{}.

§A¥i¥H±q¥ô¤@ \nameurl{ftp://sunsite.auc.dk/pub/tex/ctan/}{CTAN servers}
ºô¯¸¤U¸ü {\ttfamily isolatin.sty}.

¬Y¨Ç¤H°¾¦n¨Ï¥Î¯S®í¼Ò¦¡¤Uªº emacs, ¦]¬°¥i¥H±N"¯S®í"¦r¥ÀÂàÅÜ¦¨ \TeX{} escape ½X.
³o­Ó¤èªk¤w¸g¤£¾A¥Î¤F.



\item[{\ttfamily tin}:] \mbox{}

¦b§AªºÀÉ®× {\ttfamily \~{}/.tin/headers} ¤¤¥[¤J:
\begin{verbatim}
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
\end{verbatim}


¦p¦¹¤@¨Ó, §A´N¥i¥H¦b°T®§¤¤¨Ï¥Î¤¦³Á¦r¤¸.

\end{description}





\section{¨ä¥L°ÝÃD}


\subsection{®É°Ï}

¤¦³Áªº®É°ÏÄÝ©ó¤¤¼Ú®É°Ï (CET ©Î MET), (¦b¥V¤Ñ®É) ¬Ûµ¥©ó®æªL«Âªv¼Ð·Ç®É¨è+1 (GMT+1.)
¦b Linux ¨t²Î¤U³]©w®É°Ïªº¤è¦¡¬O«Ø¥ß¤@­Ó±¶®|,
³sµ² {\ttfamily /usr/lib/zoneinfo/localtime} ©M¦ì©ó {\ttfamily /usr/lib/zoneinfo/} ¥Ø¿ý¤U²Å¦X§Aªº®É°Ï©Î°ê®aªºÀÉ®×¦W.
­Y§A¬O¤¦³Á¤H, §A¥i¥H°õ¦æ¥H¤U«ü¥O:
\begin{verbatim}
ln -sf /usr/lib/zoneinfo/MET /etc/localtime
\end{verbatim}

©Î
\begin{verbatim}
ln -sf /usr/lib/zoneinfo/Europe/Copenhagen /etc/localtime
\end{verbatim}


¦p¦¹¤@¨Ó, ¦b®L¤Ñªº®É­Ô, ¨t²Î±N·|¦Û°Ê³]©w¤é¥ú¸`¬ù®É¶¡ (GMT+2.)

­Y»Ý­n±N¨t²Î®É¶¡»P CMOS ®ÉÄÁ¦P¨B, §A»Ý¥H root ¨­¥÷°õ¦æ«ü¥O {\ttfamily clock}. 
­Y§Aªº CMOS ®ÉÄÁ¬O³]©w¬° GMT (¤S¦W UTC --- the standard on proper Unix systems), ½Ð°õ¦æ
\begin{verbatim}
clock -u -s
\end{verbatim}

¦Ó­Y§Aªº CMOS ®ÉÄÁ¬O³]¬°¥»¦a®É¶¡, «h°õ¦æ
\begin{verbatim}
clock -s
\end{verbatim}





\subsection{A4 ¯È±i¤j¤p}

\begin{itemize}
\item {\ttfamily ghostscript}:
¥[¤J©R¥O¦C¿ï¶µ {\ttfamily -sPAPERSIZE=a4}.
\item {\ttfamily ghostview}: ©w¸q¥H¤U Xresource:
\begin{verbatim}
Ghostview.pageMedia:  A4
\end{verbatim}

\item {\ttfamily \TeX{}/\LaTeX{}}, {\ttfamily dvips}, {\ttfamily xdvi}: ½Ð°Ñ¨£ \ref{latex} {(¯S©wÀ³¥Îµ{¦¡¤¤ªº°ê»Ú¦r¤¸¶°)} ¤¤ \TeX{}/\LaTeX{} ªº³¡¤À.
\end{itemize}





\subsection{¨ä¥L§@·~¥­¥xªº¤å¦rÀÉ®æ¦¡}

§A¥i¥H¨Ï¥Î {\ttfamily recode} ¥]»q±N ISO-8859-1 ®æ¦¡ªº¤å¦rÀÉÂàÄ¶¬°¨ä¥L®æ¦¡, ¨Ò¦p¨Ï¥Î codepage 850 ªº DOS ¤å¦rÀÉ.
¨Ï¥Î¤U¦C«ü¥O
\begin{verbatim}
recode cp850:latin1 foo.txt
\end{verbatim}

´N¥i¥H±N¤@­Ó¦W¬° {\ttfamily foo.txt} ªºÀÉ®×Âà¬°¾A·íªº UNIX ÀÉ.

±ý¨ú±o {\ttfamily recode}, §A¥i¥H±q \nameurl{ftp://sunsite.auc.dk/pub/gnu/}{the GNU archive} 
ªº¥ô¤@¬M®g¯¸¤¤¤U¸ü {\ttfamily recode-3.4.tar.gz}.




\section{¦b libc 5.4.x ¥H¤Wª©¥»¤¤¤ä´©°Ï°ì¤Æ¸ê®Æ®w (locale)\label{locale}}

{\ttfamily libc 5.4.x} ª©¥»¤w¸g¨ã³Æ locale ¤ä´©. 
¦pªG§Aªº¨t²Î¤ä´© locale, §A´N¤£»Ý­n¹³ \ref{apps} {(¯S©wÀ³¥Îµ{¦¡¤¤ªº°ê»Ú¦r¤¸¶°)} ¨º¼Ë°w¹ï¨C­Óµ{¦¡°µ³]©w.
±ý¦b Debian ¤¤¨ú±o¦¹¤ä´©, §A¥²¶·¦w¸Ë {\ttfamily wg15-locale} ¥]»q. 
¨ã³Æ {\ttfamily GNU libc 2} ({\ttfamily libc 6.x}) ªº¨t²Î«h¹w³]¤ä´© locale (¸Ô¨£¥»¸`¤ºÃö©ó Red Hat Linux 5.0 ª©¥»ªº¸ê°T.)

­Y§Aªº¨t²Î¤£¤ä´© locale, §A¥i¥H¨Ï¥Î¥H¤U¤èªk¨ú±o¤ä´©:
\begin{enumerate}
\item ½T©w§A¨Ï¥Î³Ì·sªº {\ttfamily libc 5.4.x} library. ­Y¨S¦³, §A¥i¥H±q \nameurl{ftp://ftp.yggdrasil.com/private/hjl/}{Yggdrasil Computing} ¨ú±o.
\item ½T©w§A¤w¦w¸Ë {\ttfamily localedef}. ³o­Óµ{¦¡¬O¸òµÛ library ¤@°_¦w¸Ëªº.
\item ¨ú±o locale ¨Ó·½ÀÉ. ¥i±q DKUUG ¨ú±o. §A¥²¶·¦P®É¾Ö¦³
\nameurl{ftp://dkuug.dk/i18n/WG15-collection/locales/}{locale}
©M \nameurl{ftp://dkuug.dk/i18n/WG15-collection/charmaps/}{charmap}
¨Ó·½ÀÉ.
\item ±N locale ¨Ó·½ÀÉ©ñ¤J {\ttfamily /usr/share/i18n/locales/}, ¨Ã±N charmap ¨Ó·½ÀÉ©ñ¤J {\ttfamily /usr/share/i18n/charmaps/}.
\item °õ¦æ {\ttfamily localedef} ¥H«Ø¥ß locale ¸ê®ÆÀÉ:
\begin{verbatim}
localedef -ci da_DK -f ISO_8859-1:1987 da_DK
\end{verbatim}

(µù, µ¹«D¤¦³Á»yÅªªÌ: ¨ä¥L»y¨¥ªº locale ¤]¥i¥H¦P¼Ë¤è¦¡«Ø¥ß. ©Ò¦³ locale ©M charmap ¨Ó·½ÀÉ³£¦b DKUUG ºô¯¸¤W.)
\end{enumerate}


§A¥i³]©w¤U¦C¨â­ÓÀô¹ÒÅÜ¼Æ¤¤ªº¨ä¤¤¤@­Ó¥H¨ú±o¤¦³Á»y locale ¤ä´©:
\begin{verbatim}
LANG=da_DK
\end{verbatim}

©Î
\begin{verbatim}
LC_ALL=da_DK
\end{verbatim}


¦pªG {\ttfamily da\_DK} ¦æ¤£¦P, ½Ð¸Õ¸Õ {\ttfamily da\_DK.ISO\_8859-1}.

³o¨â­ÓÀô¹ÒÅÜ¼Æ³£·|³]©w©Ò¦³ªº locale ¥Ø¿ý. 
­Y­n³]¥ß¤@­Ó³æ¿Wªº locale ¥Ø¿ý, ½Ð±N¥Ø¿ý¦W³]¬°Àô¹ÒÅÜ¼Æ.
locale ¥Ø¿ý¦p¤U:
\begin{verbatim}
Locale category         Application
---------------         -----------
LC_COLLATE              ¦r¦ê®Õ¹ï (±Æ§Ç)
LC_CTYPE                ¦r¤¸¤ÀÃþ¤ÎÂà´«
LC_MESSAGES             yes ©Î no ªº°T®§Â½Ä¶
LC_MONETARY             ³f¹ô²Å¸¹®æ¦¡
LC_NUMERIC              «D¼Æ¦r²Å¸¹®æ¦¡ 
LC_TIME         ¤é´Á»P®É¶¡®æ¦¡
LC_ALL                  ¥H¤W©Ò¦³ªº³]©w (±N·|ÂÐ¼g¥H¤W©Ò¦³ªº³]©w)
LANG                    ³]©w©Ò¦³¥Ø¿ý, ¦ý¥i³Q¥H¤W¥ô¤@³æ¿Wªº¥Ø¿ýÂÐ¼g±¼
\end{verbatim}


¦b Red Hat Linux 5.2 ¤U, §A¥i¥H¦bÀÉ®×  {\ttfamily /etc/sysconfig/i18n} ¤¤³]©wÀô¹ÒÅÜ¼Æ LANG ¥H¤Î/©Î LC\_ALL:
\begin{verbatim}
LC_ALL=da_DK
\end{verbatim}


¬Y¨Çµ{¦¡, ¹³¬O {\ttfamily bash} ©M {\ttfamily GNU emacs} ¤´»Ý­n¦p\ref{apps} {(¯S©wÀ³¥Îµ{¦¡¤¤ªº°ê»Ú¦r¤¸¶°)} ¤¤©Ò­zªº¯S®í³]©wµ{§Ç,
¦ý¤j³¡¥÷ªºµ{¦¡´N¤£»Ý­n¶i¤@¨Bªº­×§ï. 
¦b¸g¹L¥H¤W¨BÆJ«á, ­ì¥ý¤£±µ¨ü 8-bit ¦r¤¸ªºµ{¦¡, ½Ñ¦p {\ttfamily nvi}, À³¸Ó´N¥i¥H¥Î¤F.

¨ã³Æ {\ttfamily GNU libc 2} ªºª©¥»©¹©¹¤ä´© locale, ¦ý½Ðª`·N: ÁöµM Red Hat Linux 5.0 
¨ã³Æ {\ttfamily GNU libc 2}, ¦ý¥¦«o¤£¤ä´© locale. 
§A¥²¶·¦Û¤v°õ¦æ {\ttfamily localedef} ¥H«Ø¥ß locale ¸ê®ÆÀÉ. 
¥H¤U«ü¥O±N·|«Ø¥ß¤¦³Á»y locale ¸ê®ÆÀÉ:
\begin{verbatim}
localedef -c -i da_DK -f ISO-8859-1 da_DK
\end{verbatim}


{\ttfamily glibc-2.0.7-4.i386.rpm} ªº library ¤¤¤w¥]§t locale ¸ê®ÆÀÉ, ¤£»Ý­nÃB¥~ªº³]©w.




\section{¦b X11¤U½s¼gµ{¦¡ªº¤@¨Ç¤p§Þ¥©\label{programming}}

Åã¥Ü 8-bit ¦r¤¸¬O«Ü®e©öªº. ¤èªk»P¨Ï¥Î 7-bit ASCII ¬Û¦P.
µM¦Ó, ­nÅýÀ³¥Îµ{¦¡±µ¨ü¯S®í¦r¤¸¿é¤J´N¨S¦³¨º»òÂ²³æ¤F.

­Y§A¨Ï¥Î¹³ Xt toolkit ³o¼Ëªºµ{¦¡, ©Î¬OÃþ¦ü Motif ªº¬É­±¤u¨ã¶°, 
§A¥u»Ý­n¦b§Aªºµ{¦¡¤¤¥[¤J¤@¦æ¥y¤l.
¦b§A"²Ä¤@¦¸"¨Ï¥Î Xt®É, ¨Ï¥Î {\ttfamily XtSetLanguageProc} ¦p¤U:
\begin{verbatim}
    int main (int argc, char** argv)
    {
        ...
        XtSetLanguageProc (NULL, NULL, NULL);
        top = XtAppInitialize ( ... );
        ...
    }
\end{verbatim}


³o¼Ë, §Aªºµ{¦¡·|¦Û°Ê¦b {\ttfamily /usr/X11R6/lib/X11/locale/} ¥Ø¿ý¤U¨Ì¾Ú {\ttfamily Compose} table ¨Ó¹ï·Ó {\ttfamily LC\_CTYPE} ÅÜ¼Æ,
¨Ã¸ÑÅª¦ºÁäµ¥. 
³o­Ó¤èªkÀ³¯à³q¦æ©Ò¦³¦è¼Ú³W®æÁä½L.
ÀHµÛ XFree86 ¦h»y¨t¤ä´©¥\¯àªº¶i¨B, §Aªºµ{¦¡±NºCºC¯à°÷¦bªF¼Ú©M¤¤¼Ú³q¥Î.

Xt, Xlib, ©M Motif (¥]¬A v1.2 ¥H¤Wªºª©¥») ³£¤ä´©³oºØ¿é¤Jªk. 
®Ú¾Ú§Ú©Ò±o¨ìªº®ø®§, Xaw ¥u³¡¥÷¤ä´©¦¹¿é¤Jªk. 
­Y§A¦³¶i¤@¨Bªº¸ê°T, ½Ð³qª¾§Ú.

¥»¸`ªº¤º®e¨ú¦Û Michael Gschwind ªº Programming for Internationalization. 
§A¥i¥H±q\ref{docs} {(¨ä¥L¬ÛÃö¤å¥ó)}³sµ²¨ì¨º¥÷¤å¥ó.




\section{¦b X11 À³¥Îµ{¦¡¤¤¨Ï¥Î¤¦³Á»y}

·Q­n¦b X11 ªºÀ³¥Îµ{¦¡¤¤¬Ý¨£¤¦³Á»yªº¿ï³æ, «ö¶sµ¥, §A¥u»Ý­n±NÂ½Ä¶©w¸q³o¨Ç¤å¦rªº¨Ó·½¦r¦ê.
Jacob Nordfalk ¤w¬°³\¦hÀ³¥Îµ{¦¡°µ¤F³o¼ËªºÂ½Ä¶, ¥]¬A {\ttfamily Netscape} ©M {\ttfamily Ghostview}. 
§A¥i¥H¦b \nameurl{http://alf.nbi.dk/~nordfalk/ovs/}{³o¸Ì} §ä¨ìÂ½Ä¶©M¦w¸Ë»¡©ú.




\section{¸ê°T¸ê·½}


\subsection{¨ä¥L¬ÛÃö¤å¥ó\label{docs}}

§A¥i¥H±q {\ttfamily www.linuxdoc.org} ªº¥ô¤@¬M®g¯¸¨ú±o³o¨Ç HOWTO.
\nameurl{http://sunsite.auc.dk/ldp/HOWTO/}{SunSite DK} ¬O¤@­Ó¤¦³Á¬M®g¯¸.

Winfried Tr\"umper ¼gªº¼w»y HOWTO. ¨ä¥L¹³¬OªâÄõ»y, ¦è¯Z¤ú»y, ©MªiÄõ»y³£¤w¸g¦³¤F¥H¥À»y¼g¦¨ªº HOWTO.

Andries Brouwer ¼gªº Linux Áä½L©M±±¨î¥x HOWTO.

\nameurl{http://www.vlsivie.tuwien.ac.at/mike/i18n.html}{³o¸Ì}¦³ ISO 8859-1 National Character Set FAQ,
Programming for Internationalization, ¥H¤Î³\¦h¨ä¥L  Michael Gschwind ¼gªº¤å¥ó.






\subsection{FTP ¤Îºô¯¸\label{ftp}}

\nameurl{http://www.sslug.dk/}{SSLUG (Sk\aa{}ne Sj\ae{}lland Linux User Group)} ¬O¤@­Ó·ç¨å»y/¤¦³Á»y Linux user group.
§A¥i¥H±q¥L­Ìªº«H¥ó¸s²Õ¤¤±o¨ì³\¦h¥H¤¦³Á»y(©Î·ç¨å»y)¼g¤UªºLinux¬ÛÃö°ÝÃD.
³o­Ó user group ¦P®É­t³dºûÅ@\nameurl{http://www.sslug.dk/DanishHowto/}{³o¥÷¤å¥ó}.

\AA{}lborg ªº AUC  ªº¥D¯¸¬O \nameurl{ftp://sunsite.auc.dk/pub/os/linux/}{SunSite DK}. ¥¦­Ìµo¦æ Debian ¤Î Red Hat ª©¥»ªº Linux, 
³Ì·sªº kernel, ¥H¤Î \nameurl{http://sunsite.auc.dk/ldp/}{Linux Documentation Project}, \nameurl{ftp://sunsite.auc.dk/pub/os/linux/sunsite/}{metalab.unc.edu} ¤Î \nameurl{ftp://sunsite.auc.dk/pub/gnu/}{the GNU archive}
ªº¬M®g¯¸. 
¥t¥~, §A¥i¥H±q \nameurl{ftp://sunsite.auc.dk/pub/tex/ctan/}{the CTAN archive} ³o­Ó¬M®g¯¸±o¨ì¤@¤Á©M \TeX{} »P \LaTeX{} ¬ÛÃöªº¸ê°T.






\section{ª©Åv}

·PÁÂ Peter Dalgaard, Anders Majland, Jon Haugsand, Jacob Nordfalk, ¼w»y HOWTO ªº§@ªÌ­Ì, Michael Gschwind ¥H¤Î³\¦h¨ä¥L¤Hµ¹¤©§Úªº«ØÄ³©MÀ°§U.
§Ú°J¤ß·P¿E Aalborg University Center ªº¤H, ¬O¥L­Ì¼g¥X¨Ãµo¦æ³\¦h¥»¤å¥ó¤¤©Ò´£¤Îªº¥]»q.
¯S§O·PÁÂ¥»¤å¥óªº­ì§@ªÌ, Thomas Petersen.




\subsection{ª©Åv©Ò¦³}

¥»¤å¥óªº§@ªÌ¨Ã¤£¯à°÷§¹¥þ«OÃÒ¤å¥ó¤º®e¤¤©Ò¦³´£¨Ñªº¸ê°T³£¬O¨S¦³¿ù»~ªº. 
§A¥²¶··r°u±¡ªp¨Ï¥Î¤å¥ó¤¤ªº´£¥Ü©M½d¨Ò.

Copyright \copyright{} 1996 by Thomas Petersen. Copyright \copyright{} 1997-2000
by Niels Kristian Bech Jensen.
³o¥÷¤å¥ó¥u¯à¦b²Å¦X\nameurl{http://www.linuxdoc.org/COPYRIGHT.html}{http://www.linuxdoc.org/COPYRIGHT.html} ¸Ìªº LDP license ªº±¡ªp¤Uµo¦æ.

(­ì¤å)
Trademarks are owned by their owners.

Although the information given in this document is believed to be correct,
the author will accept no liability for the content of this document. Use
the tips and examples given herein at your own risk.

Copyright \copyright{} 1996 by Thomas Petersen. Copyright \copyright{} 1997-2000
by Niels Kristian Bech Jensen. This document may be distributed only subject
to the terms and conditions set forth in the LDP license at \nameurl{http://www.linuxdoc.org/COPYRIGHT.html}{http://www.linuxdoc.org/COPYRIGHT.html}.



\end{document}
