Comments on: Update: running Emacs in Android L (Lollipop) https://quoderat.megginson.com/2015/05/26/update-running-emacs-in-android-l-lollipop/ Open information and technology. Fri, 08 Apr 2016 12:14:36 +0000 hourly 1 http://wordpress.com/ By: David Megginson https://quoderat.megginson.com/2015/05/26/update-running-emacs-in-android-l-lollipop/#comment-16245 Fri, 08 Apr 2016 12:14:36 +0000 http://quoderat.megginson.com/?p=936#comment-16245 In reply to Dustin DeWeese.

That’s a much-better option — thanks! I’ve added a note at the top of the post.

]]>
By: Dustin DeWeese https://quoderat.megginson.com/2015/05/26/update-running-emacs-in-android-l-lollipop/#comment-16244 Fri, 08 Apr 2016 01:25:44 +0000 http://quoderat.megginson.com/?p=936#comment-16244 A working Emacs 25 package is available in Termux: https://termux.com
$ apt install emacs

]]>
By: David Megginson https://quoderat.megginson.com/2015/05/26/update-running-emacs-in-android-l-lollipop/#comment-15752 Wed, 23 Dec 2015 18:29:24 +0000 http://quoderat.megginson.com/?p=936#comment-15752 In reply to Arnaud B.

For ESC, try CTRL-[ (the old-school escape sequence).

]]>
By: Arnaud B https://quoderat.megginson.com/2015/05/26/update-running-emacs-in-android-l-lollipop/#comment-15751 Wed, 23 Dec 2015 16:01:41 +0000 http://quoderat.megginson.com/?p=936#comment-15751 So many thanks M.Megginson for that last comment : I had emacs and org-mode running on my Galaxy note 8 tablet (lollipop cm12) in no time thanks to you ! A dream come true ! Runs prettty fast, only glitches are the khackers keyboard alt /esc but I’m confindent it’s no big deal and already pretty usable.

]]>
By: David Megginson https://quoderat.megginson.com/2015/05/26/update-running-emacs-in-android-l-lollipop/#comment-15265 Thu, 05 Nov 2015 17:29:33 +0000 http://quoderat.megginson.com/?p=936#comment-15265 In reply to Rune.

Now that devices are shipping with a lot more storage, I think the move is towards using something like GnuRoot, where you can install an entire Debian distro (including Emacs, if you want) on a chroot mount.

https://play.google.com/store/apps/details?id=champion.gnuroot
https://play.google.com/store/apps/details?id=com.gnuroot.debian

]]>
By: Rune https://quoderat.megginson.com/2015/05/26/update-running-emacs-in-android-l-lollipop/#comment-15252 Wed, 04 Nov 2015 15:42:03 +0000 http://quoderat.megginson.com/?p=936#comment-15252 Any news on a working emacs in the google play store?

]]>
By: Ano https://quoderat.megginson.com/2015/05/26/update-running-emacs-in-android-l-lollipop/#comment-14920 Fri, 02 Oct 2015 17:49:32 +0000 http://quoderat.megginson.com/?p=936#comment-14920 Thank you very much; your article has allowed me to use Emacs on my Nexus 10.

]]>
By: Elchanan https://quoderat.megginson.com/2015/05/26/update-running-emacs-in-android-l-lollipop/#comment-14812 Tue, 15 Sep 2015 15:05:34 +0000 http://quoderat.megginson.com/?p=936#comment-14812 In reply to Elchanan.

Some more specific informative notes regarding my specific positive feedback:
My setup:
– Nexus 6 with Android 5.1.1, none rooted
– My host PC running Win7
I followed the instructions depicted above with the following notes:
Step 1: Installed “Terminal Emulator” (none rooted)

Step 3: The home directory of the “Terminal Emulator” is /data/data/jackpal.androidterm/app_HOME.
Using the file explorer on my Win7 host, I copied the emacs.bin file mentioned in this step to a directory I created on Nexis 6 under “Internal Storage” directory as it is seen automatically by the Win7 regular file explorer.
The same “Internal Storage” directory is detected as “/sdcard/” from the terminal emulator, so I could copy the emacs.bin to the terminal emulator home directory.
For example if the emacs.bin was copied to the directory “kkk” then from the terminal I would do:
cd /data/data/jackpal.androidterm/app_HOME (or simply “cd ~”)
cp /sdcard/kkk/emacs.bin .

Step 4: Since I did not have busy box installed on my Nexus 6 (for some reason the installation failed), I extracted the
mentioned files with “7-Zip” (free insallation for Win7, the x64 version, http://www.7-zip.org/download.html) on my host machine, and
then moved the extracted directories (etc,terminfo and lisp) to a “emacs” directory created on Nexus 6 under Nexus 6 “Internal Storage” directory as it is seen automatically by the Win7 regular file explorer. The same “Internal Storage” directory is detected as “/sdcard/” from the terminal emulator

Step 5: I created the script on my Win7 host and then moved it to the Terminal APP home directory as described in my comment above for step 4.

Step 6: What worked for me after “chmod”ing the script as described in this step, was the command line:
$ source emacs
I failed to run it as is (that is, running the command line “./emacs” from the terminal home directory). When running “./emacs” I get the following error prompt:
/system/bin/sh: ./emacs: No such file or directory

]]>
By: Elchanan https://quoderat.megginson.com/2015/05/26/update-running-emacs-in-android-l-lollipop/#comment-14807 Mon, 14 Sep 2015 11:43:48 +0000 http://quoderat.megginson.com/?p=936#comment-14807 Hi, Seems to be working for me on my Nexus 6. I will detail later which Terminal emaulater APP and and host tools (Win7 machine) I used in order to extract the binaries.

Thanks a lot.

]]>
By: cst https://quoderat.megginson.com/2015/05/26/update-running-emacs-in-android-l-lollipop/#comment-14609 Sat, 01 Aug 2015 15:55:24 +0000 http://quoderat.megginson.com/?p=936#comment-14609 In reply to cst2bicycle.

This is after not setting TERMINFO since there is a terminfo/ for Termux. Also tried to copy-paste files from terminfo folders to the one in /sdcard/emacs directory and then set the variable. Doesn’t work. Thanks. 🙂

]]>
By: cst2bicycle https://quoderat.megginson.com/2015/05/26/update-running-emacs-in-android-l-lollipop/#comment-14608 Sat, 01 Aug 2015 15:31:57 +0000 http://quoderat.megginson.com/?p=936#comment-14608 Hi, I get this error, after the gcc warning. Please help. Thanks a lot for what you’ve been doing. Using Termux, though it has a default Emacs package, cannot use org-mode.

emacs: Terminal type xterm-256color is not defined. If that is not the actual type of terminal you have,
use the Bourne shell command `TERM=… export TERM’ (C-shell:
`setenv TERM …’) to specify the correct type. It may be necessary
to do `unset TERMINFO’ (C-shell: `unsetenv TERMINFO’) as well.

]]>
By: How to install a usable Emacs in Android (Feb 2014) | Quoderat https://quoderat.megginson.com/2015/05/26/update-running-emacs-in-android-l-lollipop/#comment-14247 Tue, 26 May 2015 11:44:18 +0000 http://quoderat.megginson.com/?p=936#comment-14247 […] Update: these instructions no longer work for Android L (Lollipop). For a first pass at installing Gnu Emacs in Lollipop, see this update. […]

]]>