--- etc/Makefile +++ etc/Makefile @@ -45,10 +45,12 @@ remote \ rpc \ services \ + sh.shrc \ shells \ sysctl.conf \ syslog.conf \ termcap.small \ + tmpdirrc \ .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc64" BIN1+= libmap32.conf --- etc/csh.cshrc +++ etc/csh.cshrc @@ -1,3 +1,6 @@ # $FreeBSD: src/etc/csh.cshrc,v 1.3.62.2 2012/11/17 11:36:10 svnexp Exp $ # # System-wide .cshrc file for csh(1). + +set history=511 +alias tset 'set noglob histchars=""; eval `/usr/bin/tset -s \!*`; unset noglob histchars' --- etc/csh.login +++ etc/csh.login @@ -4,12 +4,19 @@ # Uncomment this to give you the default 4.2 behavior, where disk # information is shown in K-Blocks # setenv BLOCKSIZE K +setenv TMPDIR `/usr/bin/mkinittmpdir` +setenv MANPATH `/usr/bin/manpath` +setenv INFOPATH '/usr/share/info:/usr/local/info:/compat/linux/usr/info' +setenv HTTP_AUTH 'basic:*' +setenv CVSROOT /home/CVShome +setenv FONTSERVER xfs:7100 + # # For the setting of languages and character sets please see # login.conf(5) and in particular the charset and lang options. # For full locales list check /usr/share/locale/* # # Check system messages -# msgs -q +msgs -q # Allow terminal messages -# mesg y +mesg y --- etc/login.conf +++ etc/login.conf @@ -26,8 +26,8 @@ :passwd_format=sha512:\ :copyright=/etc/COPYRIGHT:\ :welcome=/etc/motd:\ - :setenv=MAIL=/var/mail/$,BLOCKSIZE=K:\ - :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin ~/bin:\ + :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES,EDITOR=/usr/bin/vi,NNTPSERVER=news,CPU=FREEBSD,PAGER=less,LESS=-x8,SM_SAVE_DIR=~/.desk,ENV=~/.bashrc,GTK_RC_FILES=/usr/X11R6/etc/gtkrc:\ + :path=~/bin /usr/contrib/bin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin /usr/games /usr/local/andrew/bin /usr/local/interviews/bin/FREEBSD:\ :nologin=/var/run/nologin:\ :cputime=unlimited:\ :datasize=unlimited:\ @@ -78,6 +78,8 @@ # Russian Users Accounts. Setup proper environment variables. # russian|Russian Users Accounts:\ + :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,EDITOR=/usr/bin/vi,FTP_PASSIVE_MODE=YES,NNTPSERVER=news,CPU=FREEBSD,PAGER=less,LESS=-x8,SM_SAVE_DIR=~/.desk,ENV=~/. bashrc,GTK_RC_FILES=/usr/X11R6/etc/gtkrc,LC_ALL=ru_RU.KOI8-R,XRACER_HOME=/usr/local/lib/xracer,TMPDIR=:\ + :passwordtime=90d:\ :charset=KOI8-R:\ :lang=ru_RU.KOI8-R:\ :tc=default: --- etc/profile +++ etc/profile @@ -5,14 +5,24 @@ # Uncomment this to give you the default 4.2 behavior, where disk # information is shown in K-Blocks # BLOCKSIZE=K; export BLOCKSIZE + +if [ "${TMPDIR+x}" ]; then + export TMPDIR=`/usr/bin/mkinittmpdir` +# Check system messages + /usr/bin/msgs -f +# Allow terminal messages + /usr/bin/mesg y +fi + +export MANPATH=`/usr/bin/manpath` +export INFOPATH='/usr/share/info:/usr/local/info:/compat/linux/usr/info' +export HTTP_AUTH='basic:*' +export CVSROOT=/home/CVShome +export FONTSERVER=xfs:7100 + # # For the setting of languages and character sets please see # login.conf(5) and in particular the charset and lang options. # For full locales list check /usr/share/locale/* # You should also read the setlocale(3) man page for information # on how to achieve more precise control of locale settings. -# -# Check system messages -# msgs -q -# Allow terminal messages -# mesg y --- etc/sh.shrc +++ etc/sh.shrc @@ -0,0 +1,2 @@ +unset HISTFILE +alias tset='set noglob histchars=""; eval `/usr/bin/tset -s \!*`; unset noglob histchars'