Next Previous Contents

5. shell

5.1 bash

bash 8- , . ~/.inputrc.

:

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

, ~/.inputrc bash - GNU readline, bash-. .inputrc bash, ( GNU readline).

GNU readline , ~/.inputrc /etc/inputrc /etc/Inputrc. "" . , . /etc/inputrc, INPUTRC /etc/inputrc.

5.2 csh/tcsh

.cshrc :

setenv LC_CTYPE iso_8859_5
stty pass8

POSIX- stty ( Linux), :

stty -istrip cs8

5.3 zsh

, csh ( csh). - .zshrc /etc/zshrc.

5.4 ksh

public domain ksh - pdksh 5.1.3 , 8- vi . :

set -o vi

5.5 less

(. ) ( ), less LESSCHARSET:

export LESSCHARSET=koi8-r

8- .

less , koi8-r latin1. 128-159. .

(. ) LESSCHARSET . , ~/.lesskey

#env
LESSCHARSET=

LESSCHARSET= "" ( , man). lesskey ~/.less. setlocale(LC_CTYPE,"") , , icase search .

5.6 mc (The Midnight Commander)

mc, full 8 bits Options/Display .

mc , nroff.

man - man.

, Linux .

off-topic: mc Xterm , -, COLORTERM:

COLORTERM= ; export COLORTERM

5.7 nroff

nroff "" , -Tlatin1. - ( bash, .bashrc)

  alias nroff='nroff -Tlatin1'

mc nroff ( , mc, Slackware'96). /usr/lib/mc/mc.ext nroff' -Tascii -Tlatin1.

5.8 man

(, , - - ). man, ,

, , man ar .

/usr/lib/man.config less (. less).

5.9 ls

(. ), ls . : ls -N, dir -N ls --show-control-chars.

5.10 rlogin

, shell . rlogin , , 'rlogin -8'.

( bash, .bashrc)

  alias rlogin='rlogin -8'

5.11 Samba

Samba /etc/smb.conf :


[global]
character set = koi8-r
client code page = 866
preserve case = yes
short preserve case = yes

5.12 telnet

, ~/.telnetrc :

DEFAULT set outbinary

cp1251 -- "" 0xff. TELNET 0xff -- . "", : 0xff, 0xff. KOI8-R .

off-topic: telnet ssh - Secure Shell - .

5.13 IrcII

~/.ircrc :

/set translation russian
/set eight_bit_characters on


Next Previous Contents