Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shell and editor defaults #28

Open
probonopd opened this issue Jul 20, 2015 · 5 comments
Open

Shell and editor defaults #28

probonopd opened this issue Jul 20, 2015 · 5 comments

Comments

@probonopd
Copy link
Member

Originally reported on Google Code with ID 23

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.

Reported by appengine@puredarwin.org on 2010-01-10 19:53:54

@probonopd
Copy link
Member Author

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.[...]

Reported by Aladin.Quet on 2010-01-11 00:40:39

  • Labels added: Type-Enhancement, Priority-Low
  • Labels removed: Type-Defect, Priority-Medium

@probonopd
Copy link
Member Author

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? 

Reported by Aladin.Quet on 2010-01-11 01:33:45

@csekel
Copy link
Member

csekel commented Nov 2, 2016

Help Wanted to update installer scripts to allow user to select which shell they wished to use.

@hideout
Copy link
Member

hideout commented Nov 2, 2016

i will have a look on it later

@loicpirez
Copy link

Hi,
I'd like to work on this issue.
Which shell should be available for selection on installer script ?
Only selection between Bash and ZSH ?
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants