Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Apr 2000 18:24:17 -0500 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Peter Jeremy <peter.jeremy@alcatel.com.au>
Cc:        hackers@FreeBSD.org, Robert Watson <rwatson@FreeBSD.org>, Doug Barton <Doug@gorean.org>
Subject:   Re: cvs commit: src/share/skel dot.cshrc dot.login src/etc/rootd
Message-ID:  <200004022224.SAA98143@server.baldwin.cx>
In-Reply-To: <00Apr3.073256est.115206@border.alcanet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

On 02-Apr-00 Peter Jeremy wrote:
> [Catching up on some old mail]
> 
> On Sun, Mar 26, 2000 at 06:56:36PM +1000, Doug Barton wrote:
>> PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/games:$HOME/bin
> 
> Two comments:
> a) The sbin directories are for sysadmin functions and probably shouldn't
>    be in users' $PATH.

I agree, but I lost my argument on that one.  The counter argument are that
users like to ping(8), etc.

> b) My preference is roughly the opposite order - along the lines of
>       PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin
>    My rationale (originating with commercial Unices) is that the
>    /usr/local tree is a way for the sysadmin to replace standard
>    commands with local variants.  Likewise, one's personal bin
>    directory is a way of overriding system-wide commands.

The counter-argument is alias(1).

>>      I added 'set -o emacs' to dot.shrc, it makes life much easier,
> 
> I agree, but this would seem to be a religious issue: Equally good
> cases could presumably be made for 'set -o vi' - particularly since
> the default editor is set to vi.

This is for newbies.  If you are clueful, then you can change your rc
files.  However, newbies like it when you can use the cursor keys to
access the history, etc.  This is noted by a comment in the diff that
was applied, btw.  FWIW, I think the default editor should still be ee,
again for newbies, although some people think that people won't learn
vi if you don't set their editor to it.  As a counter argument to that,
I am quite handy with both vi and emacs now, but when I first started
out on BSD, ee saved my butt a couple of times.  I like green bike
sheds as well.

> Peter

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004022224.SAA98143>