Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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
df -h | participant
df -h | participant
Posts: 1398
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 46 times
Been thanked: 68 times

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 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

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.
deadbang

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1398
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 46 times
Been thanked: 68 times

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 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

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...
deadbang

User avatar
wizard10000
Global Moderator
Global Moderator
Posts: 586
Joined: 2019-04-16 23:15
Location: southeastern us
Has thanked: 78 times
Been thanked: 89 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
df -h | participant
df -h | participant
Posts: 1398
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 46 times
Been thanked: 68 times

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 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

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
deadbang

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1398
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 46 times
Been thanked: 68 times

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 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

Post Reply