From 1ac3565dc6d61eee775768972e407aed5bea42e5 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Fri, 2 May 1997 08:37:48 +0000 Subject: [PATCH] More formatting + more info --- handbook/russian.sgml | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/handbook/russian.sgml b/handbook/russian.sgml index 774867773e..3b7eeb6525 100644 --- a/handbook/russian.sgml +++ b/handbook/russian.sgml @@ -1,14 +1,17 @@ - + -Russian Language +Russian Language (KOI8-R encoding)

Contributed by &a.ache; 1 May 1997. +

See more info about KOI8-R encoding at +. Console Setup

- Russian console entry in /etc/rc.conf should looks like +Russian console entry in /etc/rc.conf should looks like keymap=ru.koi8-r keychange="61 ^[[K" @@ -22,8 +25,8 @@ font8x8=cp866-8x8 /etc/rc.conf, not just ^[ string.

-This tuning means koi8-r keyboard with Alternative -screen font mapped to koi8-r character set to +This tuning means KOI8-R keyboard with Alternative +screen font mapped to KOI8-R encoding to preserve pseudographics, Gray Delete key remapped to match Russian termcap(5) entry for FreeBSD console.

@@ -31,7 +34,7 @@ RUS/LAT switch will be CapsLock. Old CapsLock function still available via Shift+CapsLock. CapsLock LED will indicate RUS mode, not CapsLock mode. - For each ttyv? entry in /etc/ttys +For each ttyv? entry in /etc/ttys change terminal type from cons25 to cons25r, i.e. each entry should looks like @@ -43,9 +46,10 @@ ttyv0 "/usr/libexec/getty Pc" cons25r on secure

The best way is using /etc/login.conf @@ -77,7 +81,7 @@ user:password:1111:11:russian:0:0:User Name:/home/user:/bin/csh

If you use adduser(8) for adding new users: - Set +Set defaultclass = russian @@ -86,7 +90,7 @@ in /etc/adduser.conf users in this case); - Alternative variant will be answering russian +Alternative variant will be answering russian each time when you see Enter login class: default []: @@ -94,7 +98,7 @@ Enter login class: default []: prompt from adduser(8); - Another variant: call +Another variant: call # adduser -class russian @@ -117,13 +121,13 @@ this in the following shell startup files: - /etc/profile: +/etc/profile: LANG=ru_RU.KOI8-R; export LANG MM_CHARSET=KOI8-R; export MM_CHARSET - /etc/csh.login: +/etc/csh.login: setenv LANG ru_RU.KOI8-R setenv MM_CHARSET KOI8-R @@ -132,20 +136,21 @@ setenv MM_CHARSET KOI8-R

Alternatively you can add this instructions to - /usr/share/skel/dot.profile: +/usr/share/skel/dot.profile:

(similar to /etc/profile above); - /usr/share/skel/dot.login: +/usr/share/skel/dot.login:

(similar to /etc/csh.login above). X Window Setup

+Step by step instructions: - First off all do - as described. +Do + first as described.

NOTE: