
Miscellaneous utilities setup 4. Miscellaneous utilities setup
4.1 bash
Three variables should be set on order to make
bashunderstand the 8-bit characters. The best place is~/.inputrcfile. The following should be set:
set meta-flag on set convert-meta off set output-meta on4.2 csh/tcsh
The following should be set in
.cshrc:
setenv LC_CTYPE ISO-8859-5 stty pass84.3 remote access
Use '
rlogin -8'4.4 emacs
The minimal cyrillic support in
emacsis done by adding the following calls to one's.emacs(provided that the Cyrillic character set support is installed for console or X respectively):
(standard-display-european t) (set-input-mode (car (current-input-mode)) (nth 1 (current-input-mode)) 0)This allows the user to view and input documents in Russian.
However, such mode is not of a big convenience because
emacsdoesn't recognize the usual keyboard commands while set in Cyrillic input mode. There is a number of packages which use the different approach. They don't rely on the input mode stuff established by the environment (either X or console. Instead, they allow the user to switch the input mode by the specialemacscommand andemacsitself is responsible for re-mapping the character set. There are, at least, two packages of that type. One iscyr.el. It can be found in most Emacs-Lisp archives. The other one is the packageremapwhich tries to make such support more generic. This package is written by Per Abrahamsen (abraham@iesd.auc.dk) and is accessible atftp.iesd.auc.dk.4.5 less
So far,
lessdoesn't support the KOI-8 character set, but the following environment variable will do the job:
LESSCHARSET=latin14.6 ispell
Check the
sunsite.unc.edu:/pub/academic/russian-studies/Softwarefor the russian dictionary created by Neal Dalton (nrd@cray.com) for theispellpackage.4.7 Netscape
Set the following resource:
*documentFonts*registry: koi8Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter