aboutsummaryrefslogtreecommitdiff
path: root/etc/root
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1993-06-20 13:41:45 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1993-06-20 13:41:45 +0000
commit1bf9d5d9518e789360439c1db3d568b113caf60d (patch)
treef6512491daf2f2fb283b2cf56eedda921a5242a5 /etc/root
parent1df15d2818b39ad167a74e674740ffa718f1f79c (diff)
downloadsrc-1bf9d5d9518e789360439c1db3d568b113caf60d.tar.gz
src-1bf9d5d9518e789360439c1db3d568b113caf60d.zip
Initial import of 386BSD 0.1 othersrc/etc
Notes
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=37
Diffstat (limited to 'etc/root')
-rw-r--r--etc/root/dot.cshrc36
-rw-r--r--etc/root/dot.klogin2
-rw-r--r--etc/root/dot.login4
-rw-r--r--etc/root/dot.profile7
4 files changed, 49 insertions, 0 deletions
diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc
new file mode 100644
index 000000000000..7e273b0d6e11
--- /dev/null
+++ b/etc/root/dot.cshrc
@@ -0,0 +1,36 @@
+alias mail Mail
+set history=1000
+set path=(/sbin /usr/sbin /bin /usr/bin /usr/local /usr/hosts /usr/contrib .)
+
+# directory stuff: cdpath/cd/back
+set cdpath=(/sys /usr/src/{bin,sbin,usr.{bin,sbin},pgrm,lib,libexec,share,contrib,local,devel,games,old,})
+alias cd 'set old=$cwd; chdir \!*'
+alias h history
+alias j jobs -l
+alias ll ls -lg
+alias ls ls -g -k
+alias back 'set back=$old; set old=$cwd; cd $back; unset back; dirs'
+
+# sccs stuff: sd/co/ci/allout/out/unedit
+alias sd sccs diffs
+alias co sccs get -e
+alias ci sccs delget
+alias allout "(cd ..; echo */SCCS/p.*|sed s/SCCS\\/p.//g)"
+alias out "echo SCCS/p.*|sed s/SCCS\\/p.//g"
+alias info sccs info
+alias unedit sccs unedit
+alias get sccs get
+alias prt sccs prt
+alias z suspend
+alias x exit
+alias pd pushd
+alias pd2 pushd +2
+alias pd3 pushd +3
+alias pd4 pushd +4
+alias df df -k
+alias du du -k
+alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars'
+
+if ($?prompt) then
+ set prompt="`hostname -s`# "
+endif
diff --git a/etc/root/dot.klogin b/etc/root/dot.klogin
new file mode 100644
index 000000000000..8de6b57c626d
--- /dev/null
+++ b/etc/root/dot.klogin
@@ -0,0 +1,2 @@
+user1.root@your.realm.wherever
+user2.root@your.realm.wherever
diff --git a/etc/root/dot.login b/etc/root/dot.login
new file mode 100644
index 000000000000..6406af639b3d
--- /dev/null
+++ b/etc/root/dot.login
@@ -0,0 +1,4 @@
+tset -Q \?$TERM
+stty crt erase ^H
+umask 2
+echo "Don't login as root, use su"
diff --git a/etc/root/dot.profile b/etc/root/dot.profile
new file mode 100644
index 000000000000..47effabab962
--- /dev/null
+++ b/etc/root/dot.profile
@@ -0,0 +1,7 @@
+PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local:/usr/contrib:.
+echo 'erase ^?, kill ^U, intr ^C'
+stty crt erase  kill  intr 
+export PATH
+HOME=/root
+export HOME
+export TERM