Live data from Hacker News

Termux is an Android terminal emulator and Linux environment app with no rooting

termux.com

101–110 of 217 posts

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#101
post #89

Earlier quoted context omitted.

I hate the direction Google is taking Android. They're on an appliance-ification quest trying to hide any exposed linux-ness of the OS, including trying to remove developer access to all file handles. They always claim it's in the name of security but my suspicion is that it's an effort to transition from Linux to Fuchsia.

Android was always about Java (now Kotlin). The NDK was only added in 2.0 to appease game developers and workaround for Dalvik anemic performance. Any access to Linux APIs was accidental and never part of the official native APIs.

It's a shame as it you can make much more powerful apps with a native API.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#102
I played with termux a bunch. I found it to be lacking when not rooted though. If i remember right it also lacks a lot of access to most of the android api, making any kind of serious development not really practical.

The one i really miss though is SL4A.

https://en.m.wikipedia.org/wiki/Scripting_Layer_for_Android

It's a shame it ended up being killed off. I wrote a bunch of lua scripts with it. Including a small app to fetch bus schedules from a current stop. I could add scripts to my launcher and run them the same as a native app.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#103
post #37
post #27

Termux has recently run into issues with Android 10 and the more recent APIs, which break its form of package management. Their workaround is fairly clever (although not yet implemented) but means that updates to the Play Store version have been temporarily put on hold. https://github.com/termux/termux-packages/wiki/Termux-and-An...

Comments like this one[1] that mention having difficulty using Termux to access SD cards keep making me feel like we are radically over-securing devices. More and more it feels like the OS, the browser, are guarding the user not against bad apps, but also against the user. Firefox Mobile only allowing less than a dozen extensions. Chrome mobile supporting no extensions. These are different than the OS, but the same k…

Stallman was right.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#104

what do people use this for? While I was really excited when i encountered it, I didn't find any practical uses.

I use it for emacs, mostly org mode on my phone. It works reasonably well with a small bluetooth keyboard.

> I use it for emacs, mostly org mode on my phone.

I'm not the only weirdo who does this! Although I manage to get by with Hacker's Keyboard.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#105

Earlier quoted context omitted.

For me so far the worst thing Google did was disabling API for call recording. That makes new phones pretty much useless for me. I always record calls, so that I can go back to them if I forget something or that nobody can claim they said something when they didn't (most recently insurance salesperson told me I will have option X if I take their insurance and they once I bought it, there was no such option. Once I pu…

I got around this limitation by using LineageOS. Unfortunately, I'm forced to compile my own builds with call recording enabled for the US because there's no way to tell which state you're in through MNC-MCC numbers and states like California and Pennsylvania have lame two-party consent laws for recording calls[1][2]. My state is single party consent. Just super lame that all my featurephones from the mid-2000's coul…

One would think a stern warning dialog would be sufficient...

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#106

what do people use this for? While I was really excited when i encountered it, I didn't find any practical uses.

Syncing photos off. Termux has sshd (you have to start it manually once, then it stays running until Termux is killed or the phone is rebooted). With ssh-copy-id it takes a single command (1-line script) to rsync the phone's DCIM directory to my main machine for further processing. Nothing needs to be done on the phone at all other than to lightly nudge it to wake it up so sshd sees the connection attempt. Downside:…

Rooting isn't as terrifying as it used to be, and it means you can do actual real backups and genuinely own your data.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#108

Earlier quoted context omitted.

For me so far the worst thing Google did was disabling API for call recording. That makes new phones pretty much useless for me. I always record calls, so that I can go back to them if I forget something or that nobody can claim they said something when they didn't (most recently insurance salesperson told me I will have option X if I take their insurance and they once I bought it, there was no such option. Once I pu…

I got around this limitation by using LineageOS. Unfortunately, I'm forced to compile my own builds with call recording enabled for the US because there's no way to tell which state you're in through MNC-MCC numbers and states like California and Pennsylvania have lame two-party consent laws for recording calls[1][2]. My state is single party consent. Just super lame that all my featurephones from the mid-2000's coul…

I'm surprised and disappointed LineageOS disables it as well. Do they block apps with the word "torrent" in them as well?

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#109

what do people use this for? While I was really excited when i encountered it, I didn't find any practical uses.

I use it for emacs, mostly org mode on my phone. It works reasonably well with a small bluetooth keyboard.

This was my use case, unfortunately I never figured out how to get my keyboard to accept CapsLock as a Ctrl key. Any suggestions??!

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#110
post #27

Termux has recently run into issues with Android 10 and the more recent APIs, which break its form of package management. Their workaround is fairly clever (although not yet implemented) but means that updates to the Play Store version have been temporarily put on hold. https://github.com/termux/termux-packages/wiki/Termux-and-An...

If you want to do something other than Instagram then don't buy devices that run "mobile" OSes.
Post reply on HN