Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Nov 2008 02:48:43 +0100
From:      Polytropon <freebsd@edvax.de>
To:        dan-freebsd-questions@ourbrains.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: root /etc/csh
Message-ID:  <20081116024843.fed3b3c8.freebsd@edvax.de>
In-Reply-To: <20081115061957.GA10998@ourbrains.org>
References:  <20081110110805.GK1302@obspm.fr> <20081110161002.GA81960@gizmo.acns.msu.edu> <20081110203643.GH27646@obspm.fr> <200811102235.46971.fbsd.questions@rachie.is-a-geek.net> <Pine.GSO.4.63.0811102239200.846@hmacs.cmi.ua.ac.be> <4ad871310811101530p7b2baa0fk7f7b5118e314c11d@mail.gmail.com> <4918CE42.3050504@ccstores.com> <20081115061957.GA10998@ourbrains.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Nov 2008 01:19:57 -0500, dan-freebsd-questions@ourbrains.org wrote:
> Why doesn't FreeBSD ship bash and other shells besides
> the `sh' linked statically is beyond me. It wouldn't break ports, would
> it?

I can't speak for FreeBSD's developers, but I think it's a primary
philosophy to provide only a set of basic means by the base system,
instead of a more or less complete collection of shells, just for
the case that someone might want it. Well, bash, zsh or ksh are very
powerful tools, but those who want them will surely install them
right after the base system. Furthermore, there are those users
who are not interested in those shells at all (maybe because they're
using GUI stuff only, or maybe because they're completely happy
with sh for scriting and csh for dialog mode). For UNIX compati-
bility, /bin/sh is sufficient, and csh, configured properly, is
an excellent dialog shell.

FreeBSD isn't a shell collection, it's an operating system. :-)

Just as a sidenote, when you put this into /etc/csh.cshrc, your
csh will behave (except scripting constructs, of course) somewhat
like bash:

        set promptchars = "%#"
        set prompt = "%n@%m:%~%# "
        set autolist

or

        set promptchars = ">#"
        set prompt = "[%n@%m] %~ %# "
        set autolist


-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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