History log of /freebsd-10.1-release/etc/root/dot.cshrc
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 243893 05-Dec-2012 eadler

Remove hack to emulate effective uid and just use the EUID's name in the
first place. I was unaware of this option when originally committing
this change.

Submitted by: gcooper
Approved by: cperciva
MFC after: 3 days


# 242541 04-Nov-2012 bapt

Change default prompt to show ~ again for the home directory

Submitted by: flo
Approved by: eadler


# 242514 03-Nov-2012 eadler

Revert the change that makes less default.

Since I've committed this I've receieved roughly an equal
amount of email thanking me for making this change
and asking me to revert it.

I've resisted making this change because
new users tend to prefer less over more
and these users are the least likely to know
how to change the PAGER on their own.

Requested by: many
Objected to: just as many
Decision made by: core
Approved by: cperciva
MFC after: 3 days


# 234133 11-Apr-2012 eadler

- remove the length shortening on the path
- make the default prompt a bit more like scp
- make the user show as root even when using 'su' instead of 'su -'
- the key bindings didn't hurt anything but likely hide a bug
- merge history instead of overwriting it

Submitted by: gavin, joel
Approved by: cperciva


# 233429 24-Mar-2012 eadler

- Make the default values for tcsh more user friendly
- Add an examples file with many of the not accepted suggestions from the discussion

PR: conf/160689
Reviewed by: many
Discussed on: current
Approved by: cperciva


# 170088 29-May-2007 dougb

Remove more vestiges of /usr/X11R6, but leave mtree for portmgr.


# 127728 01-Apr-2004 krion

- Use absolute path for hostname(1)

Approved by: green


# 70859 10-Jan-2001 archie

Add these key bindings for tcsh users in interactive mode:

bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward

Reviewed by: -current


# 61029 28-May-2000 asmodai

Fix typo. rightous -> righteous.


# 58570 25-Mar-2000 rwatson

o Migrate path, umask from dot.login to dot.cshrc
o Comment out display of fortune by default.
o Synch root's .cshrc/.login and non-root's .cshrc/.login in terms of
gratuitous variables set (EDITOR).
o Remove some commented out variables set inconsistently or gratuitously,
such as Interviews settings, 8-bit German locale for root only.
o Synchronize comments in header, as well as references to appropriate man
pages.
o Remove MANPATH setting as apparently /etc/manpath.config does all that
already.

Similar changes probably need to be made in other dot.* files for root
and skel, as all of these files seem to set different aliases, environmental
variables, prompts, and have different semantics.

As a result of this patch, leaving aside the setting of a special prompt
for root, users of csh and tcsh should find similar environments when
logging in or su'ing to any account using that shell.

Reviewed by: asmodai, nbm, will


# 57802 07-Mar-2000 rwatson

There is nothing more annoying than su'ing to root and discovering that
even simple things like md5 and ping aren't in your path. This patch
moves the custom root-path setting from .login to .cshrc, so that users
who su to root get a decent (and consistent) path. An appeal to change
/etc/login.conf to provide a decent path for all users seems to have been
vetoed for the time being. As a result, users will still, by default,
not find ping or md5 in their path. However, at least root gets a decent
default now.

Reviewed by: asmodai
Approved by: jkh


# 50472 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 46114 27-Apr-1999 jkh

1. Remove the hateful EDITOR=ee from root's environment; it's one
thing to use it at startup, when you don't know if the user can
handle vi or not, but yet another thing to leave it as a permanent
land mine for root.

2. Put /usr/X11R6/bin in path; it makes getting the desktop up a lot easier.


# 39145 13-Sep-1998 brian

Add Id keyword


# 38747 02-Sep-1998 bde

Nuked setting of crt here too.

Obtained from: src/etc/root/dot.profile rev.1.17.


# 31029 07-Nov-1997 phk

Make roots prompt "`hostname -s`# "


# 29870 26-Sep-1997 joerg

Set `crt' by default to make mail(1) happy.
Also, comment out the not so very commonly used interviews settings.


# 16394 15-Jun-1996 jkh

This is no longer in /stand


# 12559 01-Dec-1995 jkh

Rip these things down to the absolutely minimums - no tsets, no
sttys, no fancy prompts, nothing. Everything else seems to be
too contraversal, so we'll go vanilla.


# 12539 30-Nov-1995 jkh

Revamp root's dotfiles.
Submitted by: Patrick Hausen + mods by me


# 10890 19-Sep-1995 nate

Added /usr/src/sys/compile to cdpath.

Set cdpath instead of leaving it commented out.


# 10886 18-Sep-1995 nate

Fix the cdpath to find utilities in the gnu src tree.


# 9368 29-Jun-1995 joerg

dot.login:

Finally transform the "Don't login as root..." message to make it
clear that `su' is meant to be a command. Will save us a lot of
questions about the user named `su'. Make the message magically
disappear if the user did an ``su - root'', since it might be a bit
silly to ask him to perform an `su'...

dot.cshrc:

Remove the no-op `-g' options from the ls aliases, and replace them by
`-o'. This way, if root does an `ls -l', he will see the immutable
flag and (hopefully) not be too surprised about the "Permission
denied".


# 3923 27-Oct-1994 phk

Fix a bunch of annoying details here, while I remember it.


# 2975 22-Sep-1994 rgrimes

Revert the change that removed the -k flag from the ls alias, we have ls -k
again.


# 2885 19-Sep-1994 pst

Fix 'ls' alias to work with new ls (-k is not supported)


# 1193 21-Feb-1994 rgrimes

Add $Id$'s


# 1175 18-Feb-1994 rgrimes

Fix up the cdpath, it was missing a / before i386.


# 997 22-Jan-1994 rgrimes

Added savehist=1000 as a security feature to know what root has been up to,
added very common set filec.

Added /sys/i386 to be in cdpath so cd conf goes to sys/i386/conf instead of
sys/conf.


# 363 31-Aug-1993 rgrimes

Updated paths and cdpath to be more appropriate to FreeBSD (removal of old
directories).

Junked all the sccs aliases that get in the way of rcs


# 235 02-Aug-1993 nate

Default BLOCKSIZE for root is K-Blocks


# 232 02-Aug-1993 nate

Removed df/du aliases, will make them more global and use BLOCKSIZE
environment variable


# 231 02-Aug-1993 rgrimes

Put back the du -k and df -k flags since POSIX says they should still work,
and Nate is fixing them to work.


# 223 31-Jul-1993 rgrimes

Removed aliases of df -> df -k and du -> du -k, as the k option is not
supported in the new df and du code, use setenv BLOCKSIZE 1024 to get
the same effect.


# 38 20-Jun-1993 rgrimes

This commit was generated by cvs2svn to compensate for changes in r37,
which included commits to RCS files with non-trunk default branches.


# 37 20-Jun-1993 rgrimes

Initial import of 386BSD 0.1 othersrc/etc