d3ad7rack / puredarwin

Automatically exported from code.google.com/p/puredarwin
Other
0 stars 0 forks source link

Shell and editor defaults #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
bash and nano should be the defaults, as these are most friendly to beginners. 

Users who intentionally want to use zsh and vi can know how to install these 
and change the 
settings accordingly.

Original issue reported on code.google.com by appeng...@puredarwin.org on 10 Jan 2010 at 7:53

GoogleCodeExporter commented 9 years ago
FYI,

On OpenBSD, from http://www.openbsd.org/faq/faq9.html
[...]OpenBSD's default shell is /bin/ksh, which is pdksh, the Public Domain 
Korn shell. Other included shells are 
csh and sh. Shells such as bash and tcsh can be added as packages or installed 
from ports. Users familiar with 
bash are encouraged to try ksh(1) before loading bash on their system -- it 
does what most people desire of 
bash.[...]

---

On FreeBSD, from http://www.freebsd.org/doc/en/books/handbook/editors.html
[...]The easiest and simplest editor to learn is an editor called ee, which 
stands for easy editor.[...]

On FreeBSD, the default shell seems to be csh (hardlink of tcsh), historical on 
BSD system..

---

On NetBSD, from http://www.netbsd.org/docs/guide/en/chap-exinst.html
[...]The next menu allows you to choose which command line interpreter - also 
known as a “shell” - will be used 
for the root account. The default is the classic Bourne shell, sh(1). Other 
choices are the Korn shell (ksh(1)) and 
the C shell (csh(1)). If, upon reading this, you don't have some idea of which 
shell you prefer, simply use the 
default, as this is a highly subjective decision. Should you later change your 
mind, root's shell can always be 
changed.[...]

And from http://www.netbsd.org/docs/guide/en/chap-boot.html:
[...]Other than a shell, a text editor is the most essential tool for NetBSD 
system administration.

There are two provided in the base system

ed(1), a line orientated text editor. ed is a very simplistic text editor. It 
has a command mode (active when first 
started) and an input mode. Its primary advantage is that it will work even 
without a correct terminal type set. In 
an emergency, ed is worth knowing, but note that vi(1) is now available in 
/rescue, which brings us to...

vi(1), a screen orientated text editor. vi is the only screen editor available 
in the base install, and requires a valid 
terminal type to run. Refer to Chapter 6, Editing to learn more about NetBSD's 
default editor.[...]

Original comment by Aladin.Q...@gmail.com on 11 Jan 2010 at 12:40

GoogleCodeExporter commented 9 years ago
Also, it appears that in pd_config:
ADD_BASH="y"            # (default: y) EXCLUSIVE Add the Bash shell as default shell? 
ADD_ZSH="n"         # (default: n) EXCLUSIVE Add the Zsh shell as default shell? 

Original comment by Aladin.Q...@gmail.com on 11 Jan 2010 at 1:33