/usr/local/apache/htdocs/lib/public_html/book/CYRILLIC/Cyrillic-HOWTO-4.html Библиотека на Meta.Ua Cyrillic-HOWTO-html
Попробуй новую версию Библиотеки!
Онлайн переводчик

Miscellaneous utilities setup

4. Miscellaneous utilities setup

Contents of this section

4.1 bash

Three variables should be set on order to make bash understand the 8-bit characters. The best place is ~/.inputrc file. The following should be set:

set meta-flag on
set convert-meta off
set output-meta on

4.2 csh/tcsh

The following should be set in .cshrc:

setenv LC_CTYPE ISO-8859-5
stty pass8

4.3 remote access

Use 'rlogin -8'

4.4 emacs

The minimal cyrillic support in emacs is 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))

This allows the user to view and input documents in Russian.

However, such mode is not of a big convenience because emacs doesn'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 special emacs command and emacs itself is responsible for re-mapping the character set. There are, at least, two packages of that type. One is cyr.el. It can be found in most Emacs-Lisp archives. The other one is the package remap which tries to make such support more generic. This package is written by Per Abrahamsen (abraham@iesd.auc.dk) and is accessible at ftp.iesd.auc.dk.

4.5 less

So far, less doesn't support the KOI-8 character set, but the following environment variable will do the job:


4.6 ispell

Check the sunsite.unc.edu:/pub/academic/russian-studies/Software for the russian dictionary created by Neal Dalton (nrd@cray.com) for the ispell package.

4.7 Netscape

Set the following resource:

*documentFonts*registry:        koi8

Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter

Войти под своим именем

Текст сообщения:
Введите код:  

добавить сайт | реклама на портале | контекстная реклама | контакты Copyright © 1998-2018 <META> Все права защищены