From: Can BAYTAN M.D. (Physiology) (cbaytan@meds.ktu.edu.tr)
Date: Thu 19 Oct 2000 - 18:01:01 EEST
Selamlar arkadaslar,
Slackware sonunda Turkce oldu (KDE dahil), yardimlari icin arkadasim
Ersen'e, Murat Koc ve Gorkem Cetin'e tesekkur ederim, simdi yaptiklarimi
siralayayim gelecekte arkadaslara yardimi dokunabilir.
1-linux.org.tr deki sanirim Murat beyin hazirladigi
Turkce-1-0.i386.rpm dosyasi aliniyor, slackware'de bulunan rpm2tgz
donusturucu programla gz file haline donusturuluyor (rpm2tgz
Turkce-1-0.i386.rpm) sonra "tar -xzvf Turkce-1-0.i386.gz -C /" komutuyla
veya gunzip edip tar dosyasi haline getirmisseniz ( gunzip
Turkce-1-0.i386.gz) "tar -xvf Turkce-1-0.i386.tar -C /" komutu ile
dosyalarin gerekli yerlere gitmesini sagliyorsunuz.
2- Ikinci olarak /etc/inputrc dosyasinin icine varsa "#8bits support"
satirinin altina boyle bir dosyaniz yoksa yaratip icine:
set meta-flag on
set convert-meta off
set input-meta on
set output-meta on
satirlarini ekliyorsunuz
3- Son onemli is, /etc/profile dosyasinin icine
export INPUTRC=/etc/inputrc
satirini ekliyorsunuz, tabii daha baska export MOZILLA gibi gordugunuz
satirlarin en altina. Bundan sonra cok gereklimidir bilmiyorum ama
bilgisayari reboot ediyorsunuz.
4- Simdi X (Benim vakamda KDE bende KDE kullanmanizi kuvvetle tavsiye
ederim, cunku en azindan bu ayarlar tarafimdan mesela gnome'da test
edilmemistir) ekranina geldiginizde K Baslangic butonu-> Settings->
Desktop-> Fonts ayarlarini acip 5 adet yazi tipinideki karakter setlerini
iso-8859-9'a getiriyorsunuz, zaten simdiye kadar yaptiginiz islerin dogru
olup olmadigi burada karakter seti kucuk penceresinde iso-8859-9 gorunup
gorunmemesiyle anlasilabilir. Ayrica yaziyuzu penceresindede helvetica
yerine lucida ve fixed yerine courier kullanmanizda rahat okuma acisindan
tavsiye edilir, diger bazi yazi yuzlerinde zaten iso-8859-9'u
goremeyeceksiniz.
5- Gelelim Keyboard ayarlarina, KDE control center'e girip Input Devices->
International Keyboarda girip oradan-> add Turkish'i seciyorsunuz,
Ingilizceyi'de yerinde birakmaniz tavsiye edilir, yalniz Turkish eger altta
ise onu "up" dugmesine basarak Turkce'nin ilk olarak baslamasini sagliyoruz.
Daha sonra ->advanced bolumune girip "Codes for pc keyboard with windows
keys" tabini seciyoruz, sonra ok-> apply->a basiyoruz.
6-Control Centerde Desktop-> Language-> Dil'in yanindaki oka basip birinci
dil olarak Turkce, ikinci dil olarak US english ve ucuncu dilide default
olarak birakiyoruz, bunlar benim tercihim, desktop'u, desktop panel'i Turkce
gormek istemiyorsaniz oldugu gibi birakabilirsiniz.
7- Daha sonra bilgisayari reboot etmeden X'den cikiyor ve yine giriyoruz
8- Evet Turkce karakterlerinizin emrinize amade olmasi lazim, eger
goremiyorsaniz Turkce dosyasini install ettiginizde ekraninizda beliren
Turkce ikonuna basmayi unutmayin. Otomatik olarak reboot'la nasil calistigi
sonra belirtilecektir (Listeden bilgi aldiktan sonra).
9- Simdi geldik en son ise, shell olarak Turkce karakterleri taniyan "kvt"yi
shell programi yapmaya. panel'de shell iconuna sag tiklayin ->properties'e
gidin orada -> calistir tabina basin ve oraya sadece (kvt) veya
(kvt -caption "%c" %i %m -ls) (parantezsiz) boylece konsolda shelliniz kvt
olsun (Birinci genel tabina dokunmayin), boylece shelliniz Turkceyi
problemsiz calistiracaktir.
Ornek /etc/inputrc ve /etc/profile dosyalari atac edilmistir.
Iyi calismalar.
Can Baytan M.D. http://meds.ktu.edu.tr/cbaytan/cbaytan.html
Karadeniz (Blacksea) Technical University
Medical School, Dept. of Physiology--Trabzon/TR
Fax:+90(462)325-2270 cbaytan@yahoo.com (BX15TGE)
## Linux-Mandrake Configuration
# Chmouel Boudjnah <chmouel@mandrakesoft.com>
# Show all if ambigious.
set show-all-if-ambiguous on
# 8Bits supports.
set meta-flag on
set convert-meta off
set input-meta on
set output-meta on
# Keyboard configuration
"^[[2~": yank # Insert
"^[[3~":delete-char # Suppr
"^[[1~": beginning-of-line # Home
"^[[4~": end-of-line # End
"^[[5~": previous-history # Previous
"^[[6~": next-history # Next
# Just a little exemple, how do you can configure your keyboard
# If you type Control-x s it's add a su -c " " around the command
# See the info files (readline) for more details.
#
# "\C-xs": "\C-e\"\C-asu -c \""
# Include user definition menu.
$include ~/.inputrc
# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.
# Set the values for some environment variables:
export OPENWINHOME=/usr/openwin
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man/preformat:/usr/man:/usr/X11R6/man:/usr/openwin/man
export HOSTNAME="`cat /etc/HOSTNAME`"
export LESSOPEN="|lesspipe.sh %s"
export LESS="-M"
export MOZILLA_HOME=/usr/lib/netscape
export INPUTRC=/etc/inputrc
# Set the default system $PATH:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:$OPENWINHOME/bin:/usr/games"
# For root users, ensure that /usr/local/sbin, /usr/sbin, and /sbin are in
# the $PATH. Some means of connection don't add these by default (sshd comes
# to mind).
if [ "`id -u`" = "0" ]; then
echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null
if [ ! $? = 0 ]; then
PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
fi
fi
# For non-root users, add the current directory to the search path:
if [ ! "`id -u`" = "0" ]; then
PATH="$PATH:."
fi
# I had problems using 'eval tset' instead of 'TERM=', but you might want to
# try it anyway. I think with the right /etc/termcap it would work great.
# eval `tset -sQ "$TERM"`
if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
TERM=linux
fi
# Set a default shell prompt:
#PS1='`hostname`:`pwd`# '
if [ "$SHELL" = "/bin/pdksh" -o "$SHELL" = "/bin/ksh" ]; then
PS1="! $ "
elif [ "$SHELL" = "/bin/zsh" ]; then
PS1="%m:%~%# "
elif [ "$SHELL" = "/bin/ash" ]; then
PS1="$ "
else
PS1='\h:\w\$ '
fi
PS2='> '
ignoreeof=10
export PATH DISPLAY LESS TERM PS1 PS2 ignoreeof
export INPUTRC=/etc/inputrc
# Default umask. A umask of 022 prevents new files from being created group
# and world writable.
umask 022
# Set up the LS_COLORS and LS_OPTIONS environment variables for color ls:
if [ "$SHELL" = "/bin/zsh" ]; then
eval `dircolors -z`
elif [ "$SHELL" = "/bin/ash" ]; then
eval `dircolors -s`
else
eval `dircolors -b`
fi
# Notify user of incoming mail. This can be overridden in the user's
# local startup file (~/.bash.login or whatever, depending on the shell)
if [ -x /usr/bin/biff ]; then
biff y
fi
# Append any additional sh scripts found in /etc/profile.d/:
for file in /etc/profile.d/*.sh ; do
if [ -x $file ]; then
. $file
fi
done
Listeden cikmak icin:
unsub linux
mesajini listeci@bilkent.edu.tr adresine gonderiniz.
Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
Listeci arayuzu: http://listweb.bilkent.edu.tr/yardim/bilkent/linux.html
Liste arsivinin adresi: http://listweb.bilkent.edu.tr/