Which interactive shell you using?

Here you can discuss every aspect of Debian. Note: not for support requests!
Post Reply
Message
Author
User avatar
None1975
Posts: 1019
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Which interactive shell you using?

#1 Post by None1975 »

A simple question. What kind of interactive shell do you use on Debian? And why? For example, I use ksh, real, AT&T version of the Korn shell. It is very fast. Fast as lightning. And simple. Just copy

Code: Select all

/etc/skel/.kshrc
to

Code: Select all

.kshrc
This configuration file has everything a regular user needs.

Image
OS: Debian 10.3 Buster / WM: xmonad
Debian Wiki | DontBreakDebian, My config files on github

User avatar
Head_on_a_Stick
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Which interactive shell you using?

#2 Post by Head_on_a_Stick »

None1975 wrote:I use ksh, real, AT&T version of the Korn shell.
That is indeed shockingly fast (because it doesn't open sub-shells unless it really has to) but it's also ancient and full of bugs, the code has rotted substantially since the last official release in 1993 (!).

There is a new version under development though: https://github.com/att/ast

I use mksh at the moment because it's the default shell for Android so it has more "eyes on the code" than any other shell. And it's significantly faster & lighter than bash.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support

User avatar
None1975
Posts: 1019
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Which interactive shell you using?

#3 Post by None1975 »

Head_on_a_Stick wrote:There is a new version under development though: https://github.com/att/ast
The new version (2020.0.0-2) is in Debian testing ( bullseye) repo.
OS: Debian 10.3 Buster / WM: xmonad
Debian Wiki | DontBreakDebian, My config files on github

User avatar
Head_on_a_Stick
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Which interactive shell you using?

#4 Post by Head_on_a_Stick »

^ OMFG, I had no idea, thanks!

I'll see if I can backport it to stable...
Black Lives Matter

Debian buster-backports ISO image: for new hardware support

User avatar
wizard10000
Posts: 193
Joined: 2019-04-16 23:15
Location: southeastern us
Has thanked: 16 times
Been thanked: 5 times

Re: Which interactive shell you using?

#5 Post by wizard10000 »

I use bash - just colorized it a bit.

Code: Select all

# colored output

export LESS=-R
export LESS_TERMCAP_mb=$'\E[1;31m'     # begin blink
export LESS_TERMCAP_md=$'\E[1;36m'     # begin bold
export LESS_TERMCAP_me=$'\E[0m'        # reset bold/blink
export LESS_TERMCAP_so=$'\E[01;44;33m' # begin reverse video
export LESS_TERMCAP_se=$'\E[0m'        # reset reverse video
export LESS_TERMCAP_us=$'\E[1;32m'     # begin underline
export LESS_TERMCAP_ue=$'\E[0m'        # reset underline

# end colored output
:)
we see things not as they are, but as we are.
-- anais nin

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Which interactive shell you using?

#6 Post by Wheelerof4te »

Bash is good enough and fast enough. I never got the need to use some special shell, but then again, I don't write shell scripts.

User avatar
None1975
Posts: 1019
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Which interactive shell you using?

#7 Post by None1975 »

Head_on_a_Stick wrote:I'll see if I can backport it to stable...
It would be amazing!
OS: Debian 10.3 Buster / WM: xmonad
Debian Wiki | DontBreakDebian, My config files on github

User avatar
Head_on_a_Stick
Posts: 13450
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Which interactive shell you using?

#8 Post by Head_on_a_Stick »

None1975 wrote:
Head_on_a_Stick wrote:I'll see if I can backport it to stable...
It would be amazing!
Done: https://software.opensuse.org//download ... ackage=ksh
Black Lives Matter

Debian buster-backports ISO image: for new hardware support

User avatar
None1975
Posts: 1019
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Which interactive shell you using?

#9 Post by None1975 »

Head_on_a_Stick wrote:Done:
Wow how fast. Thank you very much!
OS: Debian 10.3 Buster / WM: xmonad
Debian Wiki | DontBreakDebian, My config files on github

Post Reply