pkg updatedone
pkg upgrade
pkg install openssh
pkg install termux-services
sv-enable sshd
@hi termux annoyingly used GNU bash by default, when there’s a perfectly serviceable mksh already in the base AOSP
@knapjack @hi just out of curiosity, why do you use the nōn-standard shell GNU bash, which is copyleft and slow, instead of the Korn shell, whose main variant is literally POSIX shell’s father and extremely fast and whose other variant is copycentre licenced, very small and still 3x as fast as GNU bash (and in the subvariant I maintain, much closer to POSIX, too, while having tons of useful extensions, some of which have even been adopted by bash/zsh viceque versa)?
Some rc in there, too. And technically I started scripting in DCL, but that only got me in trouble. 😁
But, for instance, PowerShell has several *sh-isms that work similarly but not identically, so I catch myself stubbing my toe when I'm in PowerShell and not using the native commands. When I'm scripting I either care which shell I'm in or I try to be as portable as possible. Conversely, day-to-day one-liners, I find that it's rare that I'm stubbing my toe on the syntax or features of some other shell. But if I were, changing my default shell would be the first thing I'd do.
I am not promoting bash here, just genuinely curious if you're like, "OMG, my fingers cannot unlearn ________ and I use that feature continuously," or more, "F the GPL." Hoping it's the former and I get to learn something new.
@knapjack @hi in my case… I develop mksh because I like to program in shell ;-) and OpenBSD ksh was a much nicer base than GNU bash, especially wrt. what I could add portability-wise and that it also works well statically linked and fits the bootfloppies better. That my users tell me it’s 3× as fast in their workloads on average is a nice bonus.
But, basically, I pose it as an ash/dash and posh/loksh replacement. There are use cases for GNU bash, and I know people who use mksh as scripting shell instead of their interactive shell (though, in their case, the latter is usually zsh or, recently, fish).
And mksh is /system/bin/sh on Android, after all, so it’s the standard :þ
(Funnily enough, I went COMMAND.COM → GNU bash → OpenBSD ksh which then evolved into mksh.)
Somedays I really care and some days I'm like, whatever, just give me a browser and a shell and some kind of flat surface, maybe some carbs.
@knapjack by “move” you mean you just changed it in the config? Not an AP Move?
Then, yes, no wonder it does not work.
That’s going to be a hard thing to recover from. (Thankfully, you did not re-use an existing domain with a fresh instance, as someone else did, because we now cannot even see each other’s posts at all.) Perhaps unfollowing and re-following everyone individually will work? (Mention this in your profile bio before you do that, so people will know, and will also know they possibly have to re-follow you.)
I thought about moving to a big instance, maybe Vivaldi's, while I sort it all out and move back.
i wanted to try ksh in termux to run tests for my #openbsd scripts, but looks like it's not too much faster than running everything on remote openbsd host...