���Υڡ��� ���Υڡ��� �ܼ���

4. ���եȥ�����������

���줫��ʲ��Υե�����ˤĤ�������ե�����Υ������ޥ������������ޤ��� /etc/profile /etc/bashrc .bashrc .bashrc .bash_profile .bash_logout .inputrc .less .lessrc .xinitrc .fvwmrc .fvwm2rc95 .Xmodmap .Xmodmap.num .Xdefaults .jedrc .abbrevs.sl .joerc .emacs �� �����ƥ�����꤬�����ޤǤϥ桼�����ɲä�Ԥ�ʤ��Ǥ�������������� �Υɥåȥե������ /etc/skel ������ޤ���

4.1 bash(1)

�����餯�������ͥ�μ��˽��פʥ��եȥ������Ǥ���bash ��ư��� ���ꤹ��ˤϰʲ��Υե�������Խ����ޤ�:

�����Υե���������ʲ��˼����ޤ����ޤ��ϺǤ���פ� /etc/profile �Ǥ������Υե�����ϡ������ǽФƤ��� Linux �ޥ������ħ��¿������ޤ��� ��Ǥޤ����Ȥ��Ƥ���������


# /etc/profile

# System wide environment and startup programs
# Functions and aliases go in /etc/bashrc

# This file sets up the following features and programs:
#
#   o path
#   o prompts
#   o a few environment variables
#   o colour ls
#   o less
#   o rxvt
#
# Users can override these settings and/or add others in their
# $HOME/.bash_profile

# set a decent path
PATH="$PATH:/usr/X11R6/bin:$HOME/bin:."

# notify the user: login or non-login shell. If login, the prompt is
# coloured in blue; otherwise in magenta. Root's prompt is red.
# See the Colour-ls mini HOWTO for an explanation of the escape codes.
USER=`whoami`
if [ $LOGNAME = $USER ] ; then
  COLOUR=44  # blue
else
  COLOUR=45  # magenta
fi

if [ $USER = 'root' ] ; then
  COLOUR=41  # red
  PATH="$PATH:/usr/local/bin"
fi

ESC="\033"
PROMPT='\h'    # hostname
STYLE=';1m'    # bold
# PROMPT='\u'  # username
# STYLE='m'    # plain
PS1="\[$ESC[$COLOUR;37$STYLE\]$PROMPT:\[$ESC[37;40$STYLE\]\w\\$ "
PS2="> "

# no core dumps, please
ulimit -c 0

# set umask
if [ `id -gn` = `id -un` -a `id -u` -gt 14 ]; then
  umask 002
else
  umask 022
fi

# a few variables
USER=`id -un`
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"  # sendmail, postfix, smail
# MAIL="$HOME/Mailbox"        # qmail
NNTPSERVER=news.myisp.it      # put your own here
VISUAL=jed
EDITOR=jed
HOSTNAME=`/bin/hostname`
HISTSIZE=1000
HISTFILESIZE=1000
export PATH PS1 PS2 USER LOGNAME MAIL NNTPSERVER
export VISUAL EDITOR HOSTNAME HISTSIZE HISTFILESIZE

# enable colour ls
eval `dircolors /etc/DIR_COLORS -b`
export LS_OPTIONS='-s -F -T 0 --color=yes'

# customize less
LESS='-M-Q'
LESSEDIT="%E ?lt+%lt. %f"
LESSOPEN="| lesspipe.sh %s"
LESSCHARDEF=8bcccbcc13b.4b95.33b. # show colours in ls -l | less
# LESSCHARSET=latin1
PAGER=less
export LESS LESSEDIT LESSOPEN VISUAL LESSCHARDEF

# fix the backspace key in rxvt/xterm
CTRL_H="\010"
NULL_STRING=" $CTRL_H" # space + backspace
if [ "$NULL_STRING" != "" ] ; then
  stty erase ^?
else
  stty erase ^H
fi

# set xterm title: full path
case $TERM in
  xterm*)
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
    ;;
esac      

for i in /etc/profile.d/*.sh ; do
  if [ -x $i ]; then
    . $i # beware - variables and aliases might get overridden!
  fi
done

# call fortune, if available
if [ -x /usr/games/fortune ] ; then
  echo ; /usr/games/fortune ; echo
fi

���� /etc/bashrc �Ǥ�:


# /etc/bashrc

# System wide functions and aliases
# Environment stuff goes in /etc/profile
# Insert PS1 definitions here if you experience problems.

export CDPATH="$CDPATH:~"

# common aliases
alias cp='cp -i'
alias l=less
alias ls="ls $LS_OPTIONS"
alias mv='mv -i'
alias rm='rm -i'
alias rmbk='/bin/rm -f .*~ *~ *aux *bak *log *tmp 2> /dev/null'
alias u='cd ..'
alias which="type -path"
alias x=startx

# A few useful functions
c ()    # cd to the new directory and list its contents
{
  cd $1 ; ls
}

inst()  # Install a .tar.gz archive in current directory
{
  if [ $# != 0 ]; then tar zxvf $1; fi
}

cz()    # List the contents of a .zip archive
{
  if [ $# != 0 ]; then unzip -l $*; fi
}

ctgz()  # List the contents of a .tar.gz archive
{
  for file in $* ; do
    tar ztf ${file}
  done
}

tgz()   # Create a .tgz archive a la zip.
{
  if [ $# != 0 ]; then
    name=$1.tar; shift; tar -rvf ${name} $* ; gzip -9 ${name}
  fi
}

crpm()  # list information on an .rpm file
{
  if [ $# != 0 ]; then rpm -qil $1 | less; fi
}

����� .bashrc ����Ǥ���


# $HOME/.bashrc
# Source global definitions

if [ -f /etc/bashrc ]; then
  . /etc/bashrc
fi

# this is needed to notify the user that they are in non-login shell
if [ "$GET_PS1" = "" ] ; then
  COLOUR=45; ESC="\033"; STYLE=';1m';  # STYLE='m'
  USER=`whoami`
  export PS1="\[$ESC[$COLOUR;37$STYLE\]$USER:\[$ESC[37;40$STYLE\]\w\\$ "
fi

# personal aliases
alias backup='tar -Mcvf /dev/fd0'
alias dial='eznet up myisp'
alias f='cd ~/fortran'
alias hangup='eznet down'
alias lyx='lyx -width 580 -height 450'
alias restore='tar -M -xpvf /dev/fd0'

# personal functions
xj()    # Launch xjed and a file in background
{
  xjed $1 &
}

����� .bash_profile ����Ǥ���


# $HOME/.bash_profile

# User specific environment and startup programs
# This file contains user-defined settings that override
# those in /etc/profile

# Get user aliases and functions
if [ -f ~/.bashrc ]; then
  GET_PS1="NO"  # don't change the prompt colour
  . ~/.bashrc
fi
    
# set a few `default' directories
export CDPATH="$CDPATH:$HOME:$HOME/text:$HOME/text/geology"

����� .inputrc ����Ǥ���


# $HOME/.inputrc

# key bindings
"\e[1~": beginning-of-line
"\e[3~": delete-char
"\e[4~": end-of-line
# (F1 .. F5) are "\e[[A" ... "\e[[E"
"\e[[A": "info \C-m"

set bell-style visible          # please don't beep
set meta-flag On                # allow 8-bit input (i.e, accented letters)
set convert-meta Off            # don't strip 8-bit characters
set output-meta On              # display 8-bit characters correctly
set horizontal-scroll-mode On   # scroll long command lines
set show-all-if-ambiguous On    # after TAB is pressed

xterm �� ¾�� X11 ���ץꥱ�������� backspace �� del ������ ������ư�����ˤϰʲ��Τ褦�ˤ��Ƥ�������:

rxvt �ξ��ˤϡ�����ѥ�����Τ����Ĥ��Υ��ץ����ư��� �ƶ�����ʤɡ��ۤ�ξ�������ʣ���Ǥ����ܤ����Ͼ嵭�� /etc/profile �򸫤Ƥ���������

����˾ܤ�������ˤĤ��Ƥ� man �ڡ����� bash(1) �� readline(3) �򸫤Ƥ���������

���ƤΥ��ץꥱ�������������ư���ȤϹͤ��ʤ��Ǥ�������! �㤨�� xterm ��� joe ��¹Ԥ���ȡ������Υ�����ư��ޤ� ��Ʊ�����꤬�����ΥС������� rxvt �Ǥⵯ����ޤ���

4.2 ls(1)

ls �ϥե�����������Ȥ˰�ä����ǥե����������ɽ���Ǥ��ޤ��� ���ε�ǽ��ͭ���ˤ��뤿��ˤϡ�/etc/profile �˾�Ǽ������� �򤤤��Ĥ��ɲä���ɬ�פ�����ޤ�����������rxvt �ΥС������ˤ�� �ƤϤ������ư���ޤ�������� xterm �Ϥ�ü�����ߥ�졼���� �ȤäƤ����������Ť� rxvt �ΰ����ˤϡ��Ķ��ˤ�äƤϴĶ��ѿ� ������Ѥ��ʤ��ʤ�Ȥ����Х�������褦�Ǥ���

Caldera �� ls �ǤϿ����Фʤ��褦�Ǥ����������Ʊ���� color-ls ������ޤ����ʲ��ιԤ� /etc/bashrc ���� �ä��Ƥ�������:

alias ls="color-ls $LS_OPTIONS"

4.3 less(1)

����ͥ�줿�ڡ�������Ѥ���ȡ��ƥ�����ʸ������Ǥʤ���gzip �ǰ��̤� �줿�ե����롢tar �� zip �Υ��������֡� man �ڡ����ʤɤ��ɤळ�Ȥ��Ǥ� �ޤ�������ϰʲ��Τ褦�˹Ԥ��ޤ�:

4.4 emacs(1)

��Ϥ��ޤˤ��� emacs ��Ȥ��ޤ���Τǡ������Ĥ��� tips ������ �����Ǥ��ޤ��� �����Ĥ��� emacs �ǥ����ȥ�ӥ塼�����ǤϿ��դ��乽ʸ��Ĵɽ �����ǽ�����ꤵ��Ƥ��ޤ��󡣰ʲ��ιԤ� .emacs ���ɲä��Ƥ� ������:

(global-font-lock-mode t)
(setq font-lock-maximum-decoration t)

����ϡ�X11 �Ǥ���ͭ���Ǥ�������� ����������դ�ʸ����Ȥ���褦�ˤ��� �ˤϡ��ʲ��ιԤ��ɲä��Ƥ���������

(standard-display-european 1)

��ʬ����˾�˹礦�褦�����ꤹ�뤿��� emacs �Τ��٤ƤΥɥ��� ���Ȥ���ɤ���Τϡ��ɼԤγ�����ˤ�Ǥ�����ޤ����⤷������ȥϥå��� ���ˤϲ�����⤫���뤫�⤷��ޤ��󤬡�Dotfile generator ( ����ץ������ ������������)���ɤ��� �����Ȥʤ�Ǥ��礦��

4.5 joe(1)

joe �Τ����Ĥ��ΥС������ϡ����󥽡���ǿ����Ȥ��ޤ��󡣤� �������Ĥ����ü쥭����ư��ޤ������Ԥ�����μ�ü���ᤤ�����ˡ�� (���ޤ꤭�줤�ǤϤ���ޤ���)�ʲ��ΤȤ���Ǥ�:

~$ export TERM=vt100
~$ joe myfile
   (edit your file)
~$ export TERM=linux

�ü쥭����ư����뤿��ˤ��뤳�Ȥϡ�.joerc, .jstarrc ���뤤�Ϥ���������Υ��ߥ�졼�����Υե�������Խ������Ǥ��� �ޤ��� /usr/lib/joe �ˤ��륷���ƥ����Τ�����ե����뤫�� ����Ȥ褤�Ǥ��礦�������ơ�4 ���ܤΥ��������(�����������)��õ���Ƥ� ��������Home ������ End ������ͭ���ˤ�������ϰʲ��Τ褦�ˤʤ�ޤ�:

bol ^[ [ 1 ~    Go to beginning of line
eol ^[ [ 4 ~    Go to end of line

�Ȥ��������������ץ������󥹤�Ĵ�٤�ˤϡ�cat ��¹Ԥ��Ƥ��� �����ü쥭���򲡤��ޤ���

4.6 jed(1)

����ϻ�Τ���������Υ��ǥ����Ǥ���ư��ڤ��ơ�emacs �� ������꤬��ñ�ǡ�¾�Υ��ǥ�������¤˥��ߥ�졼�Ȥ��Ƥ����Ȥ������� ���˻�ε��Ƥ�����ΤǤ��� �����ؤǤ⡢VMS �Υ����ƥ२�ǥ��� EDT �򥨥ߥ�졼�Ȥ��뤿��ˡ� ¿���Υ桼���� jed ��ȤäƤ��ޤ���

jed ������ե�����ϡ�.jedrc �� /usr/lib/jed/lib/* �ǡ����Ԥϸ�Ԥ� jed.rc ���� �Ѥ��ƺ�뤳�Ȥ��Ǥ��ޤ���

4.7 pine(1)

/usr/lib/pine.conf �ˤ������Τ�������Խ����Ƥ����������� �κݤˤϡ����ʤ��Ȥ�ʲ��Υե�����ɤ����դ��Ƥ�������: user-domain, smtp-server, nntp-server�� inbox-path �Ϥ��Ȥ��� MTA �ˤ�äưۤʤ��������դ��Ƥ��������� sendmail �� postfix ��ȤäƤ�����ˤϡ��ѥ��� var/spool/mail/$USER �ˤʤ�Ǥ��礦��Qmail �ξ��ˤ� /home/$USER/Mailbox �Ȥʤ�ޤ�(������ root �桼���� /var/qmail/alias/Mailbox ��Ȥ��ޤ�)��

4.8 minicom(1)

root �����Τ�����ե�������Ѱդ��ʤ��¤ꡢ�桼���� minicom ��Ȥ��ޤ�������ե�����κ�����˺��ʤ��褦�ˤ��ޤ��礦��

4.9 efax(1)

���Υѥå������ϴ�ñ�ʥե��å����Τ��Ȥ�ˤϤ�äȤ������Ǥ��礦�� /usr/bin/fax ������ץȤ򾯤��Ѥ���ɬ�פ����뤫�⤷��ޤ��� �礷���Ż��ǤϤ���ޤ��󤬡�Ƭ���ˤ���ʬ�⤢��ޤ�:

���줬����ä��顢root �ʳ��Υ桼���Ǥ�ե��å�������������Ǥ���褦 �ˤ��뤿��ˡ������Ĥ��Υѡ��ߥå������ѹ����ޤ����ǥ��쥯�ȥ� /var/lock �� /var/spool/fax �Ͻ񤭹��߲�ǽ�� �ʤ���Фʤ�ޤ��󡣽񤭹��߲�ǽ�ˤ���ˤϡ����롼�� faxusers ������������Υ��롼�פ˥桼�����ɲä����ʲ��Υ��ޥ�ɤ�¹Ԥ��ޤ�:

~# chown root.faxusers /var/lock
~# mkdir /var/spool/fax
~# chown root.faxusers /var/spool/fax; chmod g+w /var/spool/fax

4.10 Ghostscript

���ν��פʥġ���ϡ�����äȤ����㳲�αƶ�������ޤ�������ꥫ�罰�� ��ͭ̾��͢�����¤Τ��ᡢpdf2ps �ϰŹ沽���줿 .pdf �ե������ �Ф���ư��ʤ��ΤǤ����Ǥ������ۤ��뤳�ȤϤ���ޤ���: WWW �֥饦���� http://www.ozemail.com.au/~geoffk/pdfencrypt �˹Ԥ��� pdf_sec.ps �����������ɤ�������� Ghostscript �����ۤ˴ޤ� ��Ƥ���Ʊ̾�Υե�����Ⱥ����ؤ��Ƥ���������

4.11 TeX �Ȥ�����֤���

teTeX ����äƤ���Ȳ��ꤷ�ޤ���

4.12 PPP������򵯤����ʤ������

���ʤ��Υ����ͥ�ˡ�PPP �� TCP/IP �����ݡ��Ȥ���Ƥ��ꡢ �롼�ץХå� �ǥХ������Ȥ���褦�ˤʤäƤ��ơ�pppd �ѥå����������������� ���ȡ��뤵�졢root �� suid ����Ƥ���Ȥ��ޤ��� ������󡢤��Ȥ��Υץ��Х����� PPP �򥵥ݡ��Ȥ��Ƥ��ʤ���Фʤ�ޤ���

PPP ��ư�����ˤ�2�Ĥ���ˡ������ޤ���a) ������ꤹ����ˡ�ȡ� b) ��ˡ�Τ褦�˼�ưŪ�������ԤäƤ����ץ����������Ѥ�����ˡ�Ǥ��� �ɤ���ˤ��Ƥ⡢�ʲ��ξ����ɬ�פǤ�:

��ư�Ǥ���������ʺ�ȤǤ������ʤΤϥե�������Խ��䥹����ץȤε� �Ҥ���ʬ�Ǥ���������礷����ȤǤϤʤ��ΤǤ������ְ㤤�򵯤����䤹���� ¿���ξ�硢�鿴�ԤˤϤȤäĤ��ˤ�����ȤǤ���PPP-HOWTO ���Ѱդ���Ƥ� �ޤ���������ʳ��ˤ��ξ����ҤͤƤ��ơ���ϼ�ư�Ǥ�äƤ����ġ� �뤬����ޤ���

Gnome �� KDE �ˤϤ��줾�� gnome-ppp �� kppp �Ȥ����ġ� �뤬��°���Ƥ��ꡢ�����Ȥäƴ�ñ�������Ԥ��ޤ�������ʳ��ˤ⡢ 2 �Ĥ� tty �١����Υġ���򤪴��ᤷ�Ƥ����ޤ��� wvdial �� eznet �Ǥ��� �����Υץ������� ISP �������ֹ桢���ʤ���̾�����ѥ���ɤ�Ϳ���� �� PPP ���Ȥ��ޤ����ۡ���ڡ����� http://www.worldvisions.ca/wvdial �� http://www.hwaci.com/sw/eznet �Ǥ����ɤ�����ɤ��ġ���Ǥ� ����ɮ�Ԥϸ�ԤΤۤ������ߤǤ���

�����Ȥ��� eznet

�ޤ��ǽ�ˡ��ʲ��Τ褦�� /etc/resolv.conf ��������ޤ�:

nameserver w.x.y.z

�����ˤϡ����ʤ��Υץ��Х����Υ͡��ॵ���ФΥ��ɥ쥹�����Ϥ��Ƥ��������� eznet���Ѥ��ƥ�������Ȥ��������ˤϡ��ʲ��Υ��ޥ�ɤ�¹Ԥ� �Ƥ�������:

#~ eznet add service=YOUR_ISP user=NAME password=PASSWORD phone=PHONE

����ˤ�� /var/eznet/eznet.conf ����������ޤ�����ͭ�Ԥ� root.root �ǥѡ��ߥå����� 600 �Ǥ���ï�Ǥ��ɤ��褦�ˤ�������С� 666 �� chmod ���Ƥ������������줫�� eznet up YOUR_ISP �Ȥ��� ISP �����ä򤫤��Ƥ������������ä����äȥ�������ȡ�����ԤäƤ�����³ ���ʤ��褦�Ǥ���С��ʲ��Υ��ޥ�ɤ��Ƥ�������:

#~ eznet change YOUR_ISP init0=atx3

���ä��ڤ�ˤ� eznet down ���ޥ�ɤ�Ȥ��ޤ������ä�������� �Ǥ�!

�����Ȥ��� wvdial

wvdial������Ϥ�ä��᤯�����ޤ��� wvdialconf /etc/wvdial.conf ��¹Ԥ������줬���Ϥ���ե����� ���Խ����ƥ桼��̾���ѥ���ɡ������ֹ��񤭹��ߤޤ��������� wvdial ���˼¹Ԥ��Ƥ��顢�������ڤäƵ���ޤ������ä��ڤ� �ˤϡ�Ctrl-C �ǥץ�������ߤ�ޤ���

4.13 POP ���饤�����

POP �����Ф���᡼��������ˤϡ�fetchpop �� fetchmail �ʤɤ� POP ���饤����Ȥ�Ȥ��ޤ�����Ԥ�������ǽ�� ͥ��Ƥ��ޤ�����sendmail ��ư��Ƥ���ɬ�פ�����ޤ��� �������ǽ���㤤�ޥ���Ǥϡ�������ô�ˤʤ�ޤ����ɤ���Υ��եȥ������� ftp://metalab.unc.edu/pub/Linux/system/mail/pop ��������Ǥ��ޤ���

�����Υ��饤����Ȥϰʲ��Τ褦�����ꤷ�ޤ�:

4.14 X ������ɥ������ƥ�(XFree86)

X ����������

�����Ϥ�ޤ��礦���Τۤɤ��񤷤�����ޤ��󤫤�ġ� ���ƤΥ᥸�㡼�ʥǥ����ȥ�ӥ塼�����ˤ� X11������ ���뤿��Υġ��� �����äƤ��ޤ� (�㤨�� XConfigurator, sax, XF86Setup�����ʤ��Ȥ� xf86config���餤�����äƤ��ޤ�)�� �Ƕ�Ǥ� X ������ϻ��¾弫ư�Ǥ��������ޤ��Ԥ��ʤ��ӥǥ������ɤ⤤�� �Ĥ�����褦�Ǥ�����ξ�硢X ����������꤬�Ф��Ȥ��ˤϡ�ɬ��ư�� ñ�����ˡ��ȤäƤ��ޤ�:

��ξ��ˤϤ���Ǻ��ޤǤ��ޤ��ԤäƤ��ޤ��������ʤ��ξ��ˤϤ����Ǥ� �����⤷��ޤ���X11 ����ư���ʤ��Τ�¿���ξ�硢��˥����Ф�������� ���ڥå����⤹����(!)���Ȥ���ͳ�ʤΤ�Ф��Ƥ����Ƥ��������� �ǽ�� 800x600 �ɥå� 256 ���ʤɤΰ���¦�˴�ä����꤫��Ϥᡢ�������� �����夲�Ƥ����ޤ��礦���ٹ�: ���������ϴ����Ǥ��ꡢ ��˥�������Ƥ��ޤ����⤷��ޤ���

�ƥ󥭡�

����ޤǡ������Ĥ����ü쥭����ư����������򤤤��Ĥ����Ƥ��ޤ����� ����ץ�� .Xmodmap �� Xjed �ǤϤ����ȻȤ��ޤ������ƥ󥭡� �ϻȤ��ޤ��󡣲��˼��� .Xmodmap.num �Ȥ����⤦��Ĥ�����ե� ���뤬ɬ�פǤ�:

! Definitions can be found in <X11/keysymdef.h>

keycode 77  = Num_Lock
keycode 112 = KP_Divide
keycode 63  = KP_Multiply
keycode 82  = KP_Subtract
keycode 86  = KP_Add
keycode 79  = KP_7
keycode 80  = KP_8
keycode 81  = KP_9
keycode 83  = KP_4
keycode 84  = KP_5
keycode 85  = KP_6
keycode 87  = KP_1
keycode 88  = KP_2
keycode 89  = KP_3
keycode 90  = KP_0
keycode 91  = KP_Decimal

/etc/X11/XF86Config�˰ʲ��� 3 �Ԥ��ʤ����Ȥ��ǧ���Ƥ�������:

  ServerNumLock
  Xleds
  XkbDisable

�⤷���ä��顢�����ȥ����Ȥ��Ƥ����������ƥ󥭡���Ƥ����Ѳ�ǽ�ˤ��� �ˤϡ�xmodmap .Xmodmap.num ��¹Ԥ��Ƥ���������

xdm ��Ȥä�����ե�����ʥ�������

����ե�������������Ȥ������ʤ顢/etc/inittab ���Խ����Ƥ��������� �ʲ��Τ褦�ʹԤ�����Ϥ��Ǥ�:

x:5:respawn:/usr/bin/X11/xdm -nodaemon

�����ǡ�5 �� X11 ���б��������٥�Ǥ�(S.u.S.E �ξ��� 4 �Ǥ�)�� �ǥե���ȥ���٥�����(�̾� 2 �� 3)�򤳤Υ���٥�˽������ޤ�:

id:5:initdefault:

������ /etc/X11/xdm/Xserver �ǻ��ꤵ��Ƥ��ޤ�:

:0 local /usr/X11R6/bin/X :0 -bpp 16 vt07  # first X server, 65k colours
:1 local /usr/X11R6/bin/X :1 -bpp 32 vt08  # second X server, true colour

�⤷���� .xinitrc ������ʤ顢.xsession �˥��ԡ����� chmod +x .xsession �Ȥ��Ƽ¹Բ�ǽ�ˤ��Ƥ��������� �����ǡ�telinit 5 ��¹Ԥ���С����ޤ�ư���Ϥ��Ǥ���

������ɥ��ޥ͡�����

X ��ư���褦�ˤʤä��顢�����������ˤ�̵�¤β�ǽ��������ޤ�������� ��ǽ�������Ѥ��륦����ɥ��ޥ͡�����ˤ��ޤ������٤륦����ɥ��ޥ͡� ����ϲ����Ĥ⤢��ޤ���¿���ξ��ϡ��ۡ���ǥ��쥯�ȥ�ˤ��� 1 �Ĥ� �뤤��ʣ���� ASCII �ե�������Խ����뤳�Ȥˤʤ�ޤ������ˤ�äƤϡ� �������ä��Խ���ɬ�פϤʤ������ץ�åȤ��˥塼��Ȥ��ޤ���

��򤤤��Ĥ��󤲤ޤ�:

�ޤȤ�: ����ե�������Խ�����Ǥʤ��ʤ� icewm, fvwm*, blackbox �ʤɡ������Ǥʤ��ʤ麣�ΤȤ����� KDE �� Gnome, WindowMaker, XFCE ���褤�Ǥ��礦��

���ˡ�.xinitrc ��Ŭ�ڤǤ��뤳�Ȥ���פǤ����ʲ�����򼨤��ޤ�:

#!/bin/sh
# $HOME/.xinitrc

usermodmap=$HOME/.Xmodmap
xmodmap $usermodmap

xset s noblank  # turn off the screen saver
xset s 300 2    # screen saver start after 5 min
xset m 10 5     # set mouse acceleration

rxvt -cr green -ls -bg black -fg white -fn 7x14 \
  -geometry 80x30+57+0 &

if [ "$1" = "" ] ; then  # default
  WINMGR=wmaker
else
  WINMGR=$1
fi

$WINMGR

���Ф�ɬ�פʤ櫓�ǤϤ���ޤ��󤬡�chmod +x .xinitrc �Ȥ��Ƽ¹Բ�ǽ�ˤ��Ƥ����ޤ���

����.xinitrc �ǥ�����ɥ��ޥ͡����㤬���򤵤�ޤ�:

$ startx startkde # or other w.m.

(�������������ΥС������� S.u.S.E �Ǥ�ư��ޤ���)

X11 ���ץꥱ�������Υǥե������

app-defaults �ǥ��쥯�ȥ꤬������򸫤Ĥ��Ƥ�������(�� ��� /usr/X11R6/lib/X11/app-defaults �ΤϤ��Ǥ�)�������� ����ե����뤬���륢�ץꥱ������󤬤����Ĥ�����ޤ���

4.15 �桼�����Ȥ�����

���եȥ���������������Ǥ�ä��褦�ˡ��ɥå� �ե�������Խ������ä��� /etc/skel �˥��ԡ����Ƥ���������

4.16 .rpm ���

rpm �ϡ�.tar.gz ���������֤���Υ��󥹥ȡ�������ݤ����ɡ� �����ü�ʥ�����(�㤨�Х������ƥ�)�˴ޤޤ��ѥå�������������� ��ˡ�Ȥ��ƤϤȤƤ�ͥ��Ƥ��ޤ���tar ���������֤򥤥󥹥ȡ��뤹����ϡ� ����� .rpm ���������֤��Ѵ����Ƥ��饤�󥹥ȡ��뤹�뤳�Ȥ��θ���ޤ��� ����������ˡ�ˤĤ��Ƥ� RPM HOWTO ���������������ޤ��� egcs �� pgcc �Ȥ��ä��Ƕ�ΥС������� gcc ��Ȥ����ϡ��ʲ�������� /etc/rpmrc ������Ƥ����Ȥ褤���� ����ޤ���:

optflags: i386 -O2 -mpentium

4.17 ���åץ��졼��

�ޥ���Υ��åץ��졼�ɤ򤹤���ˤϡ��̾��̤�ΥХå����åפ˲ä��ơ� �����Ĥ��Υե��������¸���Ƥ����褦�ˤ��Ƥ��������� /etc/X11/XF86Config, /usr/bin/fax, /usr/local ������ơ������ͥ������ե����롢 /etc ������/var/spool/mail ������ƤΥ᡼�� ���Ǥ���

���줫�顢�ǥ����ȥ�ӥ塼��������°�Υ��ץꥱ�������Υ��åץ��졼�� (���ޤ˥����󥰥졼�ɤΤ��Ȥ�!)��ѥå��������ɲä�Ԥ��ޤ��� ���ä��ѥå������Υꥹ�Ȥ���¸���ޤ��礦��


���Υڡ��� ���Υڡ��� �ܼ���