Live data from Hacker News

Termux: terminal emulator and Debian-style userland as an Android app

termux.com

111–120 of 148 posts

Re: Termux: terminal emulator and Debian-style userland as an Android app

#111
post #35

This is amazing. I've been dreaming of something like this forever for the iPhone. iOS restrictions are probably never going to be lifted, however. I get by with Panic's Coda terminal, which is great, but even though I have multiple remote servers, sometimes I'd like to run something on my local network, like ping, wireshark, etc Running mutt as a local mail client would be nice as well

I'm currently developing something like this for iOS, and I hope to have a basic proof of concept in the app store by the end of the year. https://github.com/tbodt/ish

Nice Theodore, best of luck!

Re: Termux: terminal emulator and Debian-style userland as an Android app

#112
post #46

This is amazing. I've been dreaming of something like this forever for the iPhone. iOS restrictions are probably never going to be lifted, however. I get by with Panic's Coda terminal, which is great, but even though I have multiple remote servers, sometimes I'd like to run something on my local network, like ping, wireshark, etc Running mutt as a local mail client would be nice as well

There's someone working towards this as part of the Blink app for iOS: https://github.com/blinksh/blink/pull/281 I could see this getting onto the app store eventually.

Didn't know about blink, thanks. They get around the “no forking” limitation by turning everything into a function, it seems. Running CoreUtil is what I wanted, a port of BusyBox, basically.

Re: Termux: terminal emulator and Debian-style userland as an Android app

#113

In an ideal world I could purchase a (usb c) dock that has some connectors and plug my awesome OnePlus 5 in to have a somewhat usable computer at home. I know Samsung wants to do something like that now (but I won't ever again buy a Samsung phone). I'd root (and pay) for a generic solution that makes my phone usable on a big(ger) screen.

Android phones have been able to connect to bluetooth or usb mouse and keyboards since nearly the very beginning. The only thing 'missing' is the screen. Samsung (and other) phones have supported external screens for many years now, often via MHL (although, as you say the Dex dock now packages it all together). I don't believe that the OnePlus5 supports external screens, but I may be wrong. You might be able to get something working with network screen casting.

Re: Termux: terminal emulator and Debian-style userland as an Android app

#114

I was recently surprised to discover folks are using this on old phones or tablets as a "server" in various capacities. You have storage, camera, at least dual network access (wifi + otg usb ethernet + cellular), a battery (ups), autostart capability via a purchase, basic package support. Smaller than a laptop, way more self contained than a Pi, enough for some basic tinkering for sure.

I remember the idea of "cellphone as a server" being around as far back as in Symbian times. Nokia Mobile Web Server, more than just an idea, actually was an Apache port capable of loading modules and running Python scripts on your phone (e.g. in order to access the camera) and serve dynamic pages on your DDNS-reachable mymobilesite.com subdomain.

The original project website appears to have been axed, but there's still traces of people who used to talk about it: http://www.allaboutsymbian.com/features/item/Previewing_Noki...

>MWS, in its default install, comes with a default pre-configured web site which has a number of functions, including a guestbook, a blog, the ability to send SMS messages to the phone, share Calendar information, view contact information and access the phone's camera.

Re: Termux: terminal emulator and Debian-style userland as an Android app

#115

Termux is amazing (not possible to get equivalent on iOS without jailbreak). The number of packages in the repository, as well as the speed of version updates (sometimes in line with Arch Linux - a rolling release) are really amazing. Bought all the paid add-ons to support the developer. It's one of the most valuable assets I miss on iOS (doesn't matter that much now as I've got Linux x86_64 and ARM with me on the go…

Where do you find the paid add-ons?

Re: Termux: terminal emulator and Debian-style userland as an Android app

#116

In an ideal world I could purchase a (usb c) dock that has some connectors and plug my awesome OnePlus 5 in to have a somewhat usable computer at home. I know Samsung wants to do something like that now (but I won't ever again buy a Samsung phone). I'd root (and pay) for a generic solution that makes my phone usable on a big(ger) screen.

Android phones have been able to connect to bluetooth or usb mouse and keyboards since nearly the very beginning. The only thing 'missing' is the screen. Samsung (and other) phones have supported external screens for many years now, often via MHL (although, as you say the Dex dock now packages it all together). I don't believe that the OnePlus5 supports external screens, but I may be wrong. You might be able to get s…

"Sentio" is selling the SuperBook which is a sort of universal dock for smartphones. It works by adding a video card over USB (DisplayLink).

Re: Termux: terminal emulator and Debian-style userland as an Android app

#117
post #115

Termux is amazing (not possible to get equivalent on iOS without jailbreak). The number of packages in the repository, as well as the speed of version updates (sometimes in line with Arch Linux - a rolling release) are really amazing. Bought all the paid add-ons to support the developer. It's one of the most valuable assets I miss on iOS (doesn't matter that much now as I've got Linux x86_64 and ARM with me on the go…

Where do you find the paid add-ons?

https://play.google.com/store/apps/developer?id=Fredrik+Forn...

Re: Termux: terminal emulator and Debian-style userland as an Android app

#118

Earlier quoted context omitted.

I've never had the issues you mention with Termux's terminal emulator, but usually I run tmux inside Termux, so you may wish to try that and see if it doesn't improve things a bit.

I have, locally and remotely, most especially in less. Using the Termux ssh daemon and connecting to localhost from another Android terminal app or SSHBot doesn't exhibit the problem. I've got a github issue open.

Well, if you've seen it you've seen it. I was suggesting a workaround in the form of tmux inside your termux session.

Re: Termux: terminal emulator and Debian-style userland as an Android app

#119
post #74

Earlier quoted context omitted.

If you're doing much with Termux or SSH to other systems (or roguelikes), you should probably look into Hacker's Keyboard ( https://play.google.com/store/apps/details?id=org.pocketwork... ). If you miss the autocompletion aspect, there are multiple companion dictionaries that you can load as well for various languages.

I tried hacker's keyboard but didn't find it as good as the keyboard built in JuiceSSH. All the special keys important during a ssh session like Ctrl, Tab, arrow keys are very conveniently placed. I am yet to find a soft keyboard that good.

In termux, swipe from the left and long press the keyboard button to get those keys.

Re: Termux: terminal emulator and Debian-style userland as an Android app

#120

Earlier quoted context omitted.

I have, locally and remotely, most especially in less. Using the Termux ssh daemon and connecting to localhost from another Android terminal app or SSHBot doesn't exhibit the problem. I've got a github issue open.

Well, if you've seen it you've seen it. I was suggesting a workaround in the form of tmux inside your termux session.

Noted, I'll give it a shot. Haven't much looked at tmux given long-term use of screen.
Post reply on HN