nia
47e93d95e8
As with normal users, include /usr/games in the default PATH of root
2022-12-25 23:58:50 +00:00
kre
d8eb9e45f2
Get rid of the (insulting)
...
We recommend that you create a non-root account...
message from single user mode shell startups.
2022-07-21 07:51:12 +00:00
kre
6c36afa3ab
If /rescue is at the head of $PATH (which is how it starts out in /rescue/sh
...
unless changed by something - and has been since NetBSD 3) don't blindly
simply change it to a PATH that doesn't have /rescue in it at all.
This doesn't solve the "/rescue/tar execs /usr/bin/gzip" problem completely,
as if PATH is in the environment when /rescue/sh is started, that one will
override the shell's built in PATH, but this is better than nothing.
2022-07-09 09:43:51 +00:00
nia
452f8ae6e8
uname -p, pointed out by various
2020-08-24 12:46:57 +00:00
nia
9fa431f295
Use sysctl -n hw.machine_arch so this works on e.g. aarch64
...
Ues HTTPS
2020-08-15 14:47:28 +00:00
snj
017fa37fab
/usr/X11R6 has been empty on most NetBSD installations since 2008,
...
and the last few straggling ports dumped it in 2015. It's time to
prune references to /usr/X11R6 from our config files.
2018-03-01 06:12:09 +00:00
jmcneill
f0053e9555
Update example PKG_PATH entry to use the CDN frontend, use uname -p instead
...
of uname -m for processor subdirectory, and derive the OS release from
uname -r.
2017-12-07 18:26:51 +00:00
mlelstv
9da4c9a5be
tset was useful for fixed terminals and rarely changing configurations.
...
But for current software terminal emulators and varying network
logins it's just confusing.
No longer run tset when logging in.
ok @martin
2016-03-08 09:51:15 +00:00
riz
fd7966dae0
Freshen up the commented-out suggested PKG_PATH a bit.
2014-11-30 23:43:30 +00:00
he
7a324bfe36
Point first to 6.0 packages, then to packages for 5.1 or 5.0.
...
The latter have reduced usefullness in -current or netbsd-6 until
we have a compat50 package.
2012-03-11 17:28:47 +00:00
erh
2d7c053867
There is no .../5.99 path to use for PKG_PATH, so change it to 5.1 instead.
...
Also refer the reader to pkg_install.conf as an alternative.
2011-06-21 05:31:29 +00:00
christos
4f848eee4b
`` -> $()
2010-12-27 03:38:52 +00:00
tsutsui
d73f433280
netbsd.org -> NetBSD.org for URLs.
2009-08-26 11:15:25 +00:00
ad
35f9ffd80d
Clearer wording when nagging about root logins.
2009-05-15 23:57:50 +00:00
erh
f0bb687386
Add "/pub" to the PKG_PATH lines in the default .cshrc and .profile so they
...
actually have a chance of working. Also provide an example of how to include
more than one path.
2009-02-15 01:31:43 +00:00
cube
b2c01596ed
Sprinkle /usr/X11R7 where relevant. rc.d/x{fs,dm} are left to be done.
2008-11-19 18:07:19 +00:00
joerg
0a197de3d4
Add commented out example of PKG_PATH to make using binary packages
...
easier.
2008-11-10 23:17:13 +00:00
sketch
fbdc9c3fcb
Use hostname(1) in preference to uname(1) in case /usr isn't mounted.
2005-02-22 09:12:17 +00:00
sketch
28dfc695f0
Revision 1.2 of dot.shrc changed the prompt to use a HOST variable without
...
setting it anywhere, so set it here.
2005-02-22 08:28:34 +00:00
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