Live data from Hacker News

Show HN: Termux – Terminal emulator and Unix environment for Android

play.google.com

21–30 of 30 posts

Re: Show HN: Termux – Terminal emulator and Unix environment for Android

#21
post #20

Very good ! Thanks. There is still some problems, on my nexus 9 "make" complain that it doesn't find "/bin/sh" which is normal, is it possible to change this so it can find the provided shell ? And "ld" from binutils require gcc so it seems that it is not possible to work only with clang ? Thanks a lot, it is the best solution to develop on my Nexus 9, it really shine again !

Thanks! Is it the make program itself which tries to run /bin/sh, or does it try to run a file from a project which has a #!/bin/sh start?

If it's GNU make itself which tries to call /bin/sh directly, that could be patched from my side. But if it is a script from a file, you have to make the shebang replacement #!/bin/sh -> #!${PREFIX}/bin/sh yourself on all script files to be executed - there is a simple termux-fix-shebang script installed by default for that!

Re: Show HN: Termux – Terminal emulator and Unix environment for Android

#22

I'll leave this here http://kevinboone.net/kbox3.html . I'm using it for years now, together with Android Terminal Emulator.

Thanks, KBOX have been one of the inspirations for the app! The main technical difference between how Termux and KBOX runs packages is that is that KBOX uses libfakechroot for running binaries under a fake chroot environment, while Termux runs without a chroot, having instead patched the packages to live under the file system hierarchy enforced by Android. Besides that, the ambition is that Termux should give a more…

So how well does this work under secondary users? AFAIK /data/data always points to the primary user's data directory, so this wouldn't quite work...

Re: Show HN: Termux – Terminal emulator and Unix environment for Android

#23
post #20

Very good ! Thanks. There is still some problems, on my nexus 9 "make" complain that it doesn't find "/bin/sh" which is normal, is it possible to change this so it can find the provided shell ? And "ld" from binutils require gcc so it seems that it is not possible to work only with clang ? Thanks a lot, it is the best solution to develop on my Nexus 9, it really shine again !

Thanks! Is it the make program itself which tries to run /bin/sh, or does it try to run a file from a project which has a #!/bin/sh start? If it's GNU make itself which tries to call /bin/sh directly, that could be patched from my side. But if it is a script from a file, you have to make the shebang replacement #!/bin/sh -> #!${PREFIX}/bin/sh yourself on all script files to be executed - there is a simple termux-fix-…

I've tryed it on a very simple makefile and after some testing found what trigger the message. It is simply a line with an "echo" command. It seems that make try to run it with "/bin/sh".

Re: Show HN: Termux – Terminal emulator and Unix environment for Android

#24
post #15

Earlier quoted context omitted.

Try Hacker's Keyboard. Or a real bluetooth keyboard. I now actually prefer the Hacker's Keyboard on my Nexus 6 in portrait because the regular keyboard takes a lot of energy and generally is a hassle and really loud. I do all of my programming and everything on Android for the last 4 months.

> I do all of my programming and everything on Android for the last 4 months. On a Nexus 6? Or on a 9-inch tablet? Why?

I used a 7 inch tablet and now my Nexus. I just need a terminal and/or ssh window and a browser. I have also been sshing into my Linode so maybe that's cheating.

But I can do that stuff fine on a tablet/phablet. Laptop is really big and heavy and uses 2-10x as much energy. Seems outdated. And typing is really loud.

Re: Show HN: Termux – Terminal emulator and Unix environment for Android

#25

Earlier quoted context omitted.

Thanks, KBOX have been one of the inspirations for the app! The main technical difference between how Termux and KBOX runs packages is that is that KBOX uses libfakechroot for running binaries under a fake chroot environment, while Termux runs without a chroot, having instead patched the packages to live under the file system hierarchy enforced by Android. Besides that, the ambition is that Termux should give a more…

So how well does this work under secondary users? AFAIK /data/data always points to the primary user's data directory, so this wouldn't quite work...

Correct, it won't work for secondary users! It's a trade-off for avoiding a fake chroot.

Re: Show HN: Termux – Terminal emulator and Unix environment for Android

#26
post #23

Earlier quoted context omitted.

Thanks! Is it the make program itself which tries to run /bin/sh, or does it try to run a file from a project which has a #!/bin/sh start? If it's GNU make itself which tries to call /bin/sh directly, that could be patched from my side. But if it is a script from a file, you have to make the shebang replacement #!/bin/sh -> #!${PREFIX}/bin/sh yourself on all script files to be executed - there is a simple termux-fix-…

I've tryed it on a very simple makefile and after some testing found what trigger the message. It is simply a line with an "echo" command. It seems that make try to run it with "/bin/sh".

Thanks - this is now fixed, if you do an 'apt update && apt upgrade' it should now work!

Re: Show HN: Termux – Terminal emulator and Unix environment for Android

#27
post #23

Earlier quoted context omitted.

I've tryed it on a very simple makefile and after some testing found what trigger the message. It is simply a line with an "echo" command. It seems that make try to run it with "/bin/sh".

Thanks - this is now fixed, if you do an 'apt update && apt upgrade' it should now work!

Thanks, it works perfectly now.

Do you plan to also make a version for 64bit ARM ? This one works perfectly on my Nexus 9 but I would love to be able to develop for ARM64 directly on it.

Thank you for your work, From what I see on the play store, you plan to make money with the extensions ? I will probably buy at least the theme one soon.

Re: Show HN: Termux – Terminal emulator and Unix environment for Android

#28
post #27

Earlier quoted context omitted.

Thanks - this is now fixed, if you do an 'apt update && apt upgrade' it should now work!

Thanks, it works perfectly now. Do you plan to also make a version for 64bit ARM ? This one works perfectly on my Nexus 9 but I would love to be able to develop for ARM64 directly on it. Thank you for your work, From what I see on the play store, you plan to make money with the extensions ? I will probably buy at least the theme one soon.

Great! Yes, I've been experimenting with ARM64 packages, will look at it more when things settle down a bit.

Nice, let me know if there is a font or colour theme you miss from it!

Re: Show HN: Termux – Terminal emulator and Unix environment for Android

#29
post #4

Earlier quoted context omitted.

As far as I can tell the source for the APK itself isn't available -- but it seems to be targeting Android 5.

Yes, Android 5.0 or later is required due to the libc changes made in lollipop. It also requires an arm(64) or x86(_64) cpu - no mips support at the moment!

Finally updated my note3 to lollipop - I like your price point for the theme-addon. Bought it. Keep up the good work! :)

Re: Show HN: Termux – Terminal emulator and Unix environment for Android

#30
post #29

Earlier quoted context omitted.

Yes, Android 5.0 or later is required due to the libc changes made in lollipop. It also requires an arm(64) or x86(_64) cpu - no mips support at the moment!

Finally updated my note3 to lollipop - I like your price point for the theme-addon. Bought it. Keep up the good work! :)

Great, thanks :). Let me know if you miss any font or colour theme from it!
Post reply on HN