From 5e1d11c2dfd1a8683eafe8bd57db983997f6c9ba Mon Sep 17 00:00:00 2001 From: simonb Date: Mon, 16 Oct 2000 13:12:26 +0000 Subject: [PATCH] Copy skel files from sharesrc/share/skel. Part of fix for PR bin/10985. --- etc/skel/dot.cshrc | 28 ++++++++++++++++++++++++++++ etc/skel/dot.login | 13 +++++++++++++ etc/skel/dot.mailrc | 9 +++++++++ etc/skel/dot.profile | 14 ++++++++++++++ etc/skel/dot.rhosts | 1 + 5 files changed, 65 insertions(+) create mode 100644 etc/skel/dot.cshrc create mode 100644 etc/skel/dot.login create mode 100644 etc/skel/dot.mailrc create mode 100644 etc/skel/dot.profile create mode 100644 etc/skel/dot.rhosts diff --git a/etc/skel/dot.cshrc b/etc/skel/dot.cshrc new file mode 100644 index 000000000000..a1ad3d426ae5 --- /dev/null +++ b/etc/skel/dot.cshrc @@ -0,0 +1,28 @@ +# $NetBSD: dot.cshrc,v 1.1 2000/10/16 13:12:26 simonb Exp $ +#csh .cshrc file + +alias h history 25 +alias j jobs -l +alias la ls -a +alias lf ls -FA +alias ll ls -lA +alias su su -m + +setenv EDITOR vi +setenv VISUAL ${EDITOR} +setenv EXINIT 'set autoindent' +setenv PAGER more + +set path = (~/bin /bin /sbin /usr/{bin,sbin,X11R6/bin,pkg/{,s}bin,games} \ + /usr/local/{,s}bin) + +if ($?prompt) then + # An interactive shell -- set some stuff up + set filec + set history = 1000 + set ignoreeof + set mail = (/var/mail/$USER) + set mch = `hostname -s` + set prompt = "${mch:q}: {\!} " + umask 2 +endif diff --git a/etc/skel/dot.login b/etc/skel/dot.login new file mode 100644 index 000000000000..26b5a73317f1 --- /dev/null +++ b/etc/skel/dot.login @@ -0,0 +1,13 @@ +# $NetBSD: dot.login,v 1.1 2000/10/16 13:12:26 simonb Exp $ +#csh .login file + +if ( ! $?SHELL ) then + setenv SHELL /bin/csh +endif + +set noglob +eval `tset -s -m 'network:?xterm'` +unset noglob +stty status '^T' crt -tostop + +/usr/games/fortune diff --git a/etc/skel/dot.mailrc b/etc/skel/dot.mailrc new file mode 100644 index 000000000000..1ce622503e49 --- /dev/null +++ b/etc/skel/dot.mailrc @@ -0,0 +1,9 @@ +# $NetBSD: dot.mailrc,v 1.1 2000/10/16 13:12:26 simonb Exp $ + +ignore message-id received date fcc status resent-date resent-message-id resent-from in-reply-to +set append ask autoprint +set indentprefix="> " +set PAGER=more +set EDITOR=vi +set VISUAL=vi +retain bcc cc date from subject to diff --git a/etc/skel/dot.profile b/etc/skel/dot.profile new file mode 100644 index 000000000000..5688f37f087d --- /dev/null +++ b/etc/skel/dot.profile @@ -0,0 +1,14 @@ +# $NetBSD: dot.profile,v 1.1 2000/10/16 13:12:26 simonb Exp $ + +PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/pkg/bin +PATH=${PATH}:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin +export PATH + +EDITOR=vi +export EDITOR +EXINIT='set autoindent' +export EXINIT +PAGER=more +export PAGER + +umask 2 diff --git a/etc/skel/dot.rhosts b/etc/skel/dot.rhosts new file mode 100644 index 000000000000..39cdd0ded6df --- /dev/null +++ b/etc/skel/dot.rhosts @@ -0,0 +1 @@ +-