Commit Graph

16 Commits

Author SHA1 Message Date
abs 5470c1def0 If we are going to point ENV at .shrc, and link this in as /.profile as well
as /root/.profile, then use /root/.shrc rather than $HOME/.shrc otherwise
single user mode tries to use /.shrc...
2002-10-10 11:15:41 +00:00
mycroft 4bf1c78bfb Make the tset stuff actually set the environment variables again.
Someone was on crack.
2000-02-19 19:00:13 +00:00
mycroft b24c03aa71 Simplify the tset crap, and do not set $HOME gratuitously. 2000-02-19 18:39:01 +00:00
jwise 4316d096db 1.) bring over the second half of David Brownlee's change to dot.login --
don't query the user for terminal type if the type is not `unknown'

2.) change this a little in both the csh and the [k]sh cases -- do call
    tset(1) even if the terminal type is known (so that TERMCAP is set
    properly, but don't have it query the user.
2000-02-16 03:07:09 +00:00
jwise 8d796b1774 Port to [k]sh(1) startup files David Brownlee's improvement from
cvs rdiff -r1.4 -r1.5 basesrc/etc/root/dot.login

As there, text is from Miles Nordin.
2000-02-16 02:02:02 +00:00
mycroft c43c81eec7 (Ab?)use some sh(1) features:
* Put the aliases in a separate file, referenced by $ENV, so that they're
  present in subshells.
* Do the same to make `set -o emacs' happen automatically in interactive
  shells.  (Yay, line editing by default!)
* Use `export FOO=bar' syntax, as it's shorter and other sh(1)-like shells
  all support it these days.
1999-11-05 11:30:13 +00:00
mycroft 0d59551634 Avoid using id(1), as this loses when /usr isn't mounted. 1999-04-04 09:58:57 +00:00
hubertf b779dad4d4 Add hup, ll and x shell functions similar to the aliases in dot.cshrc
plus set the prompt. Tested with /bin/sh and /bin/ksh.
1999-03-30 02:36:05 +00:00
thorpej 93e03f92fd Sync PATH with our csh counterpart. 1998-01-17 19:36:40 +00:00
mrg 96a74009df RCSid police. fix pr#4307 from Eric Haszlakiewicz: csh aliases broken with. 1997-10-28 03:33:18 +00:00
mikel ef538c3176 cleanup Lite-1 merge 1997-02-15 10:02:07 +00:00
cgd 0332985c6c get dot out of root's path. 1994-12-24 12:48:01 +00:00
jtc 38de38f2e1 The contents of this file are evaluated by root, users without a home dir,
and even by the shell in single user mode.  This change makes it work in
all of those circumstances, though probably not optimally.

It is likely that something better will be checked in after all of the
outstanding issues are resolved, but I have to check in something that
works before this week's tarballs are created.
1994-03-26 01:27:47 +00:00
jtc 6b7dba54bd Changed .login (csh) and .profile (sh) to be consistant with each other.
In particular, explicit setting of erase and kill chars via stty has been
removed.
1994-03-24 01:23:40 +00:00
cgd e2b50fbd3a remove /usr/local and /usr/contrib from root's path 1993-06-06 02:49:58 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00