Which interactive shell you using?

Here you can discuss every aspect of Debian. Note: not for support requests!

Which interactive shell you using?

Postby None1975 » 2020-01-04 13:46

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
User avatar
None1975
 
Posts: 982
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Which interactive shell you using?

Postby Head_on_a_Stick » 2020-01-04 13:56

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.
User avatar
Head_on_a_Stick
 
Posts: 11204
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Which interactive shell you using?

Postby None1975 » 2020-01-04 14:39

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.
User avatar
None1975
 
Posts: 982
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Which interactive shell you using?

Postby Head_on_a_Stick » 2020-01-04 15:55

^ OMFG, I had no idea, thanks!

I'll see if I can backport it to stable...
User avatar
Head_on_a_Stick
 
Posts: 11204
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Which interactive shell you using?

Postby wizard10000 » 2020-01-04 15:59

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
User avatar
wizard10000
 
Posts: 123
Joined: 2019-04-16 23:15
Location: southeastern us

Re: Which interactive shell you using?

Postby Wheelerof4te » 2020-01-04 16:05

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.
Wheelerof4te
 
Posts: 1454
Joined: 2015-08-30 20:14

Re: Which interactive shell you using?

Postby None1975 » 2020-01-05 13:52

Head_on_a_Stick wrote:I'll see if I can backport it to stable...

It would be amazing!
User avatar
None1975
 
Posts: 982
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Which interactive shell you using?

Postby Head_on_a_Stick » 2020-01-05 15:34

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
User avatar
Head_on_a_Stick
 
Posts: 11204
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Which interactive shell you using?

Postby None1975 » 2020-01-05 16:09

Head_on_a_Stick wrote:Done:

Wow how fast. Thank you very much!
User avatar
None1975
 
Posts: 982
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius


Return to General Discussion

Who is online

Users browsing this forum: James and 2 guests

fashionable