����Linux�Ż�
Linux����

FreeBSD�µ�vi֧��������ʾ�ͱ༭

����ʱ��:2006-02-24 15:12:04��Դ:��������:reing
��ǰ��ʹ��putty���ӵ�freebsd�������ϣ����Ǻ����������������⣬����ʹ��F-Secure SSH Client 5.4��ʹ�� SSH ClientҲ���ԣ���puttyǿ�㣬����û����ô���㡣
Ҫʹvi�еĴ�������ȣ�����Ҫʹ��bash��freebsdĬ����csh������Ҫ�޸�һ�£�
����:
% chpass heiyeluren
#Changing user database information for heiyeluren.
Shell: /usr/local/bin/bash
Full Name: heiyeluren
Office Location:
Office Phone:
Home Phone:
Other information:

������shell��csh����ô����޸ij�Shell: /usr/local/bin/bash
��ô��������м��������ˣ�������lsһ�µĻ������ܿ�����ͬ��ɫ��
Ȼ�������Ŀ¼�¾ͻ���� .bash_profile �ļ���������������ļ��������ó�����������
����:
1 #PS1="[\u@\H \w]\\$ "
2 PS1="[\w]\\$ "
3 alias vi='vim'
4 alias ll='ls -al'
5 LANG=zh_CN.EUC
6 EDITOR=vim
7 TERM=linux
8 #TERM=xterm
9 export LANG EDITOR TERM
10 export CLICOLOR=1
11 export PATH=/usr/local/bin:$PATH
12 export CVSROOT=:pserver:heiyeluren@cvs:/home/cvs/CVS

ע�����漸�����ݣ�LANG=zh_CN.EUC��TERM=linux֮��ģ����޸�һ�¸��������ơ�
������޸� .exrc �ļ�����������ӣ�
1 syntax on
2 set tabstop=4
3 set autoindent
4 set nu
�����޸ľͿ����ˡ�������ʱ��Ҫ�رձ��նˣ�������⿪һ���նˣ�Ȼ�����ӹ�ȥ������ܵ�½��ã����ܵ�½�����޸Ļ�ȥ���Ǻǡ�
���ھ��ܹ�������ʾ�ļ��������ܹ�֧����ʾ�ͱ༭�����ˣ��Ƚ�ˬ�˰ɡ�
�Ƽ�ʹ��F-Secure SSH Client ,���Ұѱ�����Ϊ��ɫ��OK�ˡ�
��������

���� 0 ������