diff --git a/handbook/Makefile b/handbook/Makefile index 10513eba44..4e70f62b18 100644 --- a/handbook/Makefile +++ b/handbook/Makefile @@ -1,18 +1,18 @@ -# $Id: Makefile,v 1.24 1997-05-01 03:06:31 jfieber Exp $ +# $Id: Makefile,v 1.25 1997-05-02 02:20:25 ache Exp $ SRCS= authors.sgml basics.sgml bibliography.sgml boothelp.sgml SRCS+= booting.sgml contrib.sgml crypt.sgml ctm.sgml current.sgml cvsup.sgml SRCS+= cyclades.sgml development.sgml dialup.sgml dialout.sgml SRCS+= diskless.sgml dma.sgml eresources.sgml esdi.sgml SRCS+= firewalls.sgml glossary.sgml goals.sgml SRCS+= handbook.sgml history.sgml hw.sgml install.sgml isdn.sgml SRCS+= kerberos.sgml kernelconfig.sgml kerneldebug.sgml kernelopts.sgml SRCS+= lists.sgml mail.sgml memoryuse.sgml SRCS+= mirrors.sgml nfs.sgml nutshell.sgml pgpkeys.sgml policies.sgml SRCS+= porting.sgml ports.sgml ppp.sgml printing.sgml -SRCS+= quotas.sgml relnotes.sgml routing.sgml +SRCS+= quotas.sgml relnotes.sgml routing.sgml russian.sgml SRCS+= serial.sgml scsi.sgml sections.sgml sio.sgml skey.sgml slipc.sgml SRCS+= slips.sgml stable.sgml submitters.sgml sup.sgml synching.sgml SRCS+= term.sgml userppp.sgml uart.sgml linuxemu.sgml .include diff --git a/handbook/handbook.sgml b/handbook/handbook.sgml index 603c4a8e7d..e8ea0b416c 100644 --- a/handbook/handbook.sgml +++ b/handbook/handbook.sgml @@ -1,170 +1,173 @@ - + %authors; %lists; %sections; ]> FreeBSD Handbook The FreeBSD Documentation Project April 1997 Welcome to FreeBSD! This handbook covers the installation and day to day use of FreeBSD Release &rel.current;. This manual is a work in progress and is the work of many individuals. Many sections do not yet exist and some of those that do exist need to be updated. If you are interested in helping with this project, send email to the &a.doc; The latest version of this document is always available from the . It may also be downloaded in plain text, postscript or HTML from the or one of the numerous . You may also want to . Basics Introduction

FreeBSD is a 4.4BSD-Lite based operating system for Intel architecture (x86) based PCs. For an overview of FreeBSD, see . For a history of the project, read . To see a description of the latest release, read . If you're interested in contributing something to the FreeBSD project (code, equipment, sacks of unmarked bills), please see about . &nutshell; &history; &goals; &development; &relnotes; &install; &basics; Installing applications * Installing packages &ports; System Administration &kernelconfig; Users, groups and security &crypt; &skey; &kerberos; &firewalls; &printing; "as; The X Window System

Pending the completion of this section, please refer to documentation supplied by the . &hw; + Localization + &russian; + Network Communications Serial Communications &serial; &term; &dialup; &dialout; PPP and SLIP

If your connection to the Internet is through a modem, or you wish to provide other people with dialup connections to the Internet using FreeBSD, you have the option of using PPP or SLIP. Furthermore, two varieties of PPP are provided: user (sometimes referred to as iijppp) and kernel. The procedures for configuring both types of PPP, and for setting up SLIP are described in this chapter. &userppp; &ppp; &slipc; &slips; Advanced networking &routing; &nfs; &diskless; &isdn; &mail; Advanced topics ¤t; &stable; &synching; &submitters; &kerneldebug; &kernelopts; &linuxemu; FreeBSD internals &booting; &memoryuse; &dma; Appendices &mirrors; &bibliography; &eresources; &contrib; &policies; &pgpkeys; diff --git a/handbook/russian.sgml b/handbook/russian.sgml new file mode 100644 index 0000000000..28c79e1bc3 --- /dev/null +++ b/handbook/russian.sgml @@ -0,0 +1,140 @@ + + + +Russian Language +

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

+Russian console entry in /etc/rc.conf should looks like + +keymap=ru.koi8-r +keychange="61 ^[[K" +scrnmap=koi8-r2cp866 +font8x16=cp866b-8x16 +font8x14=cp866-8x14 +font8x8=cp866-8x8 + +

+NOTE: ^[ means that real ESC character must be entered into +/etc/rc.conf, +not just ^[ string. +

+This tuning means koi8-r keyboard with Alternative codeset +screen font mapped to koi8-r character set to +preserve pseudographics, Gray Delete key remapped to match Russian +termcap entry for console. +See rc.conf(5) for details. +

+For each ttyv? entry in /etc/ttys +change terminal type from cons25 to +cons25r, i.e. each entry should looks like + +ttyv0 "/usr/libexec/getty Pc" cons25r on secure + + +Locale Setup +

+There is two environment variables for locale setup: LANG +and MM_CHARSET. +The best way is using /etc/login.conf +russian user's login class +in passwd(5) entry login class position. +See login.conf(5) for details. +Login Class Method +

+As first step check your /etc/login.conf have +russian login class, this entry may looks like: + +russian:Russian Users Accounts:\ + :charset=KOI8-R:\ + :lang=ru_RU.KOI8-R:\ + :tc=default: + + +How to do it with vipw(8) +

+If you use vipw(8) for adding new users, +/etc/master.passwd +entry should looks like: + +user:password:1111:11:russian:0:0:User Name:/home/user:/bin/csh + + +How to do it with adduser(8) +

+If you use adduser(8) for adding new users, set + +defaultclass = russian + +in /etc/adduser.conf +(you must enter default class for all non-Russian +users in this case). +

+Alternative variant will be answer russian each time when you see + +Enter login class: default []: + +prompt from adduser(8), or call + +# adduser -class russian + +for each Russian user you want to add. + +How to do it with pw(8) +

+If you use pw(8) for adding new users, call it in this form: + +# pw useradd user_name -L russian + + +Shell Startup Files Method +

+If you don't want to use + +for some reasons, just set +this two environment variables in /etc/profile: + +LANG=ru_RU.KOI8-R; export LANG +MM_CHARSET=KOI8-R; export MM_CHARSET + +and /etc/csh.login: + +setenv LANG ru_RU.KOI8-R +setenv MM_CHARSET KOI8-R + +

+Alternatively you can add this instructions to +/usr/share/skel/dot.profile +(similar to /etc/profile) and +/usr/share/skel/dot.login (similar to +/etc/csh.login). + +X Window Setup +

+First off all do + as described. +

+Then go to /usr/ports/russian/X.language directory and say + +# make all install + +there. This port install latest version of KOI8-R fonts. +

+Check find "Files" section in your /etc/XF86Config, +following lines must be before any other FontPath entries: + + FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/misc" + FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/75dpi" + FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/100dpi" + +

If you use high resolution video mode, swap 75 dpi and +100 dpi lines. +

To activate Russian keyboard add + + XkbKeymap "xfree86(ru)" + +line into "Keyboard" section in your /etc/XF86Config, +also make sure that XkbDisable is turned off (commented out) +there. diff --git a/handbook/sections.sgml b/handbook/sections.sgml index cc79ad7b3c..33d5aa850c 100644 --- a/handbook/sections.sgml +++ b/handbook/sections.sgml @@ -1,61 +1,62 @@ - + +