|
发表于 2003-6-26 19:42:54
|
显示全部楼层
我记得应该是这样的,看看我的吧!
这是.cshrc
# $FreeBSD: src/etc/root/dot.cshrc,v 1.28 2001/01/10 02:37:16 archie Exp $
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
#
alias h history 25
alias j jobs -l
alias la ls -a
alias lf ls -FA
alias ll ls -lA
alias ls 'gnuls --show-control-chars'
# A righteous umask
umask 22
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin)
setenv EDITOR vi
setenv PAGER more
setenv BLOCKSIZE K
setenv LC_ALL zh_CN.EUC
setenv LANG zh_CN.EUC
if ($?prompt) then
# An interactive shell -- set some stuff up
set prompt = "`hostname -s`# "
set filec
set history = 100
set savehist = 100
set mail = (/var/mail/$USER)
if ( $?tcsh ) then
bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
endif
endif
这是.profile
# $FreeBSD: src/etc/root/dot.profile,v 1.20 1999/08/27 23:24:09 peter Exp $
#
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
export PATH
HOME=/root
export HOME
TERM=${TERM:-cons25}
export TERM
PAGER=more
export PAGER
#export LC_ALL=zh_CN.EUC
#export LANG=zh_CN.EUC
LANG=zh_CN.EUC
LC_ALL=zh_CN.EUC
export LANG LC_ALL
另外你还要设置.xinitrc
export XMODIFIERS=@im=fcitx
fcitx&
exec gnome-session
fcitx不是版本的问题,我想你是没有安装LINUX的兼容包吧!到/usr/ports/emulators/下面找到linux_base,到里面先安装了再说吧!
而且如果你是给root设置的那其它的就还要再设才行! |
|