mikro wrote: Sat Nov 28, 2020 9:50 am
Steve wrote: Fri Nov 27, 2020 12:35 pm
Hey Mikro are you aware of any lighter weight bash alternatives compiled for mint? I find bash to be very sluggish on my 030's. Of course I have tried mksh from the sparemint repo but it doesn't support bash alias commands. It's kind of funny that Linux distros are not using bash any more because they say it's bloated lol, I think they mainly use 'dash' now. But yeah if you get a spare moment I'd appreciate it if you looked in to it. Thank you
IIRC, ST MiNT (
https://subsole.org/st_mint) also uses mksh, maybe its newer version supports aliases?
Yeah, dash is an option but it's not 100% bash compatible. But it's a good idea, maybe we should really consider a more lightweight shell.
Hey Mikro,
I tried mksh from that distro, it's seems good! I have a slight issue in mint you might be able to advise:
If I double click mksh and then type 'login' then root, everything works properly
But if I edit my 'passwd' file for bin/mksh instead of bin/bash, upon starting the shell normally though tos2win or taskbar, mksh loads with this error:
'/etc/profile.d/which-2.sh[5]: export: -f: unknown option'
The contents of which-2.sh is:
Code: Select all
# Initialization script for bash and sh
which() {
(alias && declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-dot --show-tilde $@
}
export -f which
Here is the output from some of these expressions after entering into mksh shell with login root:

- PXL_20201128_173322520.jpg (339.27 KiB) Viewed 6512 times
Any suggestions? Thank you