diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1993-06-20 13:41:45 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1993-06-20 13:41:45 +0000 |
commit | 241ccdeaf33c080d675cd85c358a16633866cf81 (patch) | |
tree | c84dd7ab382aa1dba3e4756697763fde81eccd04 /etc/root | |
parent | 146bcedccdd97829716f102265608ee44a35d3a1 (diff) | |
download | FreeBSD-src-241ccdeaf33c080d675cd85c358a16633866cf81.zip FreeBSD-src-241ccdeaf33c080d675cd85c358a16633866cf81.tar.gz |
Initial import of 386BSD 0.1 othersrc/etc
Diffstat (limited to 'etc/root')
-rw-r--r-- | etc/root/dot.cshrc | 36 | ||||
-rw-r--r-- | etc/root/dot.klogin | 2 | ||||
-rw-r--r-- | etc/root/dot.login | 4 | ||||
-rw-r--r-- | etc/root/dot.profile | 7 |
4 files changed, 49 insertions, 0 deletions
diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc new file mode 100644 index 0000000..7e273b0 --- /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 0000000..8de6b57 --- /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 0000000..6406af6 --- /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 0000000..47effab --- /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 |