Commit Graph

36 Commits

Author SHA1 Message Date
jmallett
97bd8b8434 Turn on emacs line editing mode by default, as this is what most shells do
these days, and the average user expects ^A and arrow keys to work, however
if they know nothing of editing modes, they will think sh(1) just sucks.  It
is likely that because of defaults on most systems and with most shells that
anyone who actually wants vi(1) editing mode will have 'set -o vi'.  This
won't affect existing accounts, this way, of course.  Only accounts with
.shrc from new etc/skel will be affected.  This is much better than making
the change in sh(1).
2002-07-23 12:28:16 +00:00
ru
cd7c90d38f s/${INSTALL} -c/${INSTALL} ${COPY}/ 2002-07-18 12:07:49 +00:00
mp
f5613e3e9d Synchronize path with dot.cshrc by adding /usr/local/sbin.
PR:             26720
Submitted by:   Rob Simmons <rsimmons@wumpus.wlcg.com>
MFC after:	1 week
2002-07-07 00:00:54 +00:00
nik
bd6ce90734 Automatically exec bash at startup if it exists^U Turn on the display of
tips from the freebsd-tips database at login time.
2001-06-25 20:40:02 +00:00
ache
5b905e191f Fix ISO_ for new names 2001-06-10 17:08:53 +00:00
archie
e843a87882 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
2001-01-10 17:35:28 +00:00
rwatson
6b95bd725d o Apply asmodai's spelling commit from /etc/root to dot.cshrc in /share/skel
also.
2000-07-15 03:24:18 +00:00
rwatson
ba0bae3b55 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
2000-03-25 20:23:39 +00:00
phantom
5042c98832 Comment out explicit MANPATH setting.
(BTW, it's very bad practice to have MANPATH environment variable set)

PR:		conf/14487
Submitted by:	Norihiko Ishitani <nori@tlab.is.uec.ac.jp>
1999-12-21 17:18:19 +00:00
dcs
ab8c17ad26 Keep fortunes short, so motd won't scroll outside the screen. 1999-12-13 01:05:15 +00:00
peter
76f0c923fe $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bde
2f1c86bfc4 Nuked setting of crt here too.
Obtained from:	src/etc/root/dot.profile rev.1.17.
1998-09-02 14:10:22 +00:00
thepish
53610b2ad5 PR: 7613
Submitted by:	Sheldon Hearn <axl@iafrica.com>
set crt='' so that mail(1) will page according to stty(1) setting
1998-08-14 13:49:57 +00:00
kuriyama
8ce6312ad9 Sync PATH variable with 'dot.login'.
I think here is not my area so feel free to back this out when any
troubles are happened.

Pointed out by:		IIJIMA Akihiro <aki@noc.titech.ac.jp>
1998-06-06 15:01:46 +00:00
joerg
2c55c29ae9 Set `crt' by default to make mail(1) happy. 1997-09-26 08:28:31 +00:00
wosch
dc528f4349 Add an example file for private E-Mail aliases. A user can share
~/.mail_aliases with different mail clients (e.g. mutt, mail) and can
make ~/.mailrc readable and keep the aliases private.
1997-08-28 13:36:56 +00:00
ache
8eb2262ed1 Add ~/.login_conf prototype with example of l10n (commented out) 1997-08-18 03:07:43 +00:00
ache
7574acc2f7 Remove LANG settings from here, they must be in login classes instead 1997-08-15 23:41:27 +00:00
wosch
18723c26bb install dot.shrc
Submitted by: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De>
1997-08-13 23:16:54 +00:00
wosch
6e98b3ef61 Move aliases and shell flags from .profile to .shrc so these settings
are effective in interactive non-login shells, e.g. xterm or su(1).

Submitted by: Wolfgang Helbig <helbig@ba-stuttgart.de>
Finally close PR #3740
1997-08-03 18:37:46 +00:00
charnier
0715678100 Remove obsolete flag (-g) for ls.
PR:conf/3730
Submitted by: helbig@MX.BA-Stuttgart.De
1997-07-15 09:37:02 +00:00
wosch
22b37bfd18 Enable some aliases.
Add example for variable CDPATH, commented out.
1997-03-08 16:35:39 +00:00
peter
83b3c2c161 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
joerg
140668552c Various sanitizations:
. Don't clobber the TERM setting; it's supposed to be done by /etc/ttys
  already.
. Comment out the Interviews stuff, 98 % of all users probably won't
  ever use it.
. Install the files with better default permissions in the skeleton
  directory; pw(8) retains the permissions when creating a new
  acount, and installing them read-only is stupid, yet installing
  .rhosts world-readable is dangerous.

2.2 candidate
1997-02-17 18:56:29 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
wosch
2776d240a5 Improve comments, sync sh/csh scripts if possible. 1996-09-21 21:35:47 +00:00
wosch
e4ed666230 Add comments for
some useful aliases
	8-bit locale
	a nicer prompt
1996-05-12 14:32:23 +00:00
wosch
d9e8138ee8 Add a comment how to enable the emacs command line editor 1996-05-11 19:15:17 +00:00
jkh
765166292c Make the call to fortune here conditional as well. 1996-05-01 09:23:30 +00:00
jkh
4b53447c61 Similarly spartan dotfiles. 1995-12-01 20:13:42 +00:00
jkh
84d1e2da6d Update these from new examples in etc/root. Also comment out
dot.rhosts entries which are wholly bogus and not worth a search
on.
1995-12-01 08:41:35 +00:00
pst
cd6ef599be Only execute /usr/games/fortune if it's there. 1995-07-29 18:43:52 +00:00
bde
f5284ed86d Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
gpalmer
d985122c76 Don't set SHELL by default - if you chpass -s your shell, this
will over-ride it and confuse several applications, including
xterm
1995-07-12 22:42:55 +00:00
jkh
966372c264 Make the default paths a bit more rational for our systems (sheesh!).
Thanks, Sean!
Suggested by:	Sean McDermott <spm@staff.cc.purdue.edu>
1995-01-29 08:01:05 +00:00
rgrimes
b0d61785ca BSD 4.4 Lite Share Sources 1994-05-30 19:09:18 +00:00