Page 1 of 1

Which interactive shell you using?

PostPosted: 2020-01-04 13:46
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

Re: Which interactive shell you using?

PostPosted: 2020-01-04 13:56
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.

Re: Which interactive shell you using?

PostPosted: 2020-01-04 14:39
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.

Re: Which interactive shell you using?

PostPosted: 2020-01-04 15:55
by Head_on_a_Stick
^ OMFG, I had no idea, thanks!

I'll see if I can backport it to stable...

Re: Which interactive shell you using?

PostPosted: 2020-01-04 15:59
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


:)

Re: Which interactive shell you using?

PostPosted: 2020-01-04 16:05
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.

Re: Which interactive shell you using?

PostPosted: 2020-01-05 13:52
by None1975
Head_on_a_Stick wrote:I'll see if I can backport it to stable...

It would be amazing!

Re: Which interactive shell you using?

PostPosted: 2020-01-05 15:34
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

Re: Which interactive shell you using?

PostPosted: 2020-01-05 16:09
by None1975
Head_on_a_Stick wrote:Done:

Wow how fast. Thank you very much!