summaryrefslogtreecommitdiffstats
path: root/share/skel
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-12-01 08:41:35 +0000
committerjkh <jkh@FreeBSD.org>1995-12-01 08:41:35 +0000
commit84d1e2da6d7870a677e3203f8d093d40dc112fad (patch)
treeac6d13e581dc0e12193297d539dabb0b2f9f7487 /share/skel
parentd1e63e144e1d1f58d1cb76a6348c28ac3eab5da8 (diff)
downloadFreeBSD-src-84d1e2da6d7870a677e3203f8d093d40dc112fad.zip
FreeBSD-src-84d1e2da6d7870a677e3203f8d093d40dc112fad.tar.gz
Update these from new examples in etc/root. Also comment out
dot.rhosts entries which are wholly bogus and not worth a search on.
Diffstat (limited to 'share/skel')
-rw-r--r--share/skel/dot.cshrc29
-rw-r--r--share/skel/dot.login25
-rw-r--r--share/skel/dot.profile17
-rw-r--r--share/skel/dot.rhosts4
4 files changed, 48 insertions, 27 deletions
diff --git a/share/skel/dot.cshrc b/share/skel/dot.cshrc
index bea5a4e..d8a402c 100644
--- a/share/skel/dot.cshrc
+++ b/share/skel/dot.cshrc
@@ -5,21 +5,32 @@ alias j jobs -l
alias la ls -a
alias lf ls -FA
alias ll ls -lA
-alias su su -m
setenv EDITOR vi
-setenv EXINIT 'set autoindent'
setenv PAGER more
-
-set path = (~/bin /bin /usr/{bin,games} /usr/local/bin /usr/X11R6/bin)
+setenv BLOCKSIZE K
if ($?prompt) then
# An interactive shell -- set some stuff up
+
+ set noglob; eval `tset -s`; unset noglob
+ stty -istrip
+
set filec
- set history = 1000
- set ignoreeof
+ set history = 100
+ set savehist = 100
set mail = (/var/mail/$USER)
- set mch = `hostname -s`
- set prompt = "${mch:q}: {\!} "
- umask 2
+
+ # customize prompt - works with tcsh only
+ set machine = `hostname -s`
+ if ("$TERM" == xterm) then
+ alias cwdcmd 'echo -n "]0;${USER}@${machine}: `dirs`"'
+ set prompt = "> "
+ else
+ alias cwdcmd 'set prompt = "${USER}@${machine}:${cwd}> "'
+ endif
+ cwdcmd
+
+ # fix broken prompt after su
+ alias su 'su \!* ; cwdcmd'
endif
diff --git a/share/skel/dot.login b/share/skel/dot.login
index ea19d10..21d3df0 100644
--- a/share/skel/dot.login
+++ b/share/skel/dot.login
@@ -1,8 +1,21 @@
-#csh .login file
+# csh .login file
+#
-set noglob
-eval `tset -s -m 'network:?xterm'`
-unset noglob
-stty status '^T' crt -tostop
+stty crt erase 
+# PATH und MANPATH Grundeinstellung
+set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/bin /usr/X11R6/bin $HOME/bin)
+setenv MANPATH "/usr/share/man:/usr/X11R6/man:/usr/local/man"
-if (-x /usr/games/fortune) /usr/games/fortune
+# Interviews settings
+setenv CPU "FREEBSD"
+set path = ($path /usr/local/interviews/bin/$CPU)
+setenv MANPATH "${MANPATH}:/usr/local/interviews/man"
+
+# 8-bit locale (germany)
+#setenv ENABLE_STARTUP_LOCALE
+#setenv LANG de_DE.ISO8859-1
+
+# A rightous umask
+umask 22
+
+/usr/games/fortune
diff --git a/share/skel/dot.profile b/share/skel/dot.profile
index 6895ccf..7b74329 100644
--- a/share/skel/dot.profile
+++ b/share/skel/dot.profile
@@ -1,11 +1,8 @@
-PATH=$HOME/bin:/bin:/usr/bin:/usr/games:/usr/X11R6/bin:/usr/local/bin
+# $Id: dot.profile,v 1.8 1994/10/27 05:27:00 phk Exp $
+#
+PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
+echo 'erase ^H, kill ^U, intr ^C'
+stty crt erase ^H kill ^U intr ^C
export PATH
-
-EDITOR=vi
-export EDITOR
-EXINIT='set autoindent'
-export EXINIT
-PAGER=more
-export PAGER
-
-umask 2
+TERM=cons25
+export TERM
diff --git a/share/skel/dot.rhosts b/share/skel/dot.rhosts
index 21de984..50d0eaa 100644
--- a/share/skel/dot.rhosts
+++ b/share/skel/dot.rhosts
@@ -1,3 +1,3 @@
# This file should NOT be group or other readable.
-OtherMachine
-OtherMachine myFriend
+#OtherMachine
+#OtherMachine myFriend
OpenPOWER on IntegriCloud