Emacs Network Keyboard

I would like to access Emacs on my computer using my Android phone. The output will be the Emacspeak server on my phone.

What would be the best way to stream keyboard events from your phone to Emacs?

+6
source share
2 answers

It depends on what you would like to do. I sometimes run Emacs inside an SSH terminal on my phone. This, of course, means that it is displayed on the phone, not on the computer screen.

+3
source

If you want one-way communication, in my opinion, you have two options, both related to emacsclient . Run emacs on your PC in TCP server mode, then ...

or

  • Find out the emacsclient protocol and write your own program, which for Emacs looks like emacsclient, but actually it is a program for Android.

or

  • Run emacsclient on Android and give the --eval option. This will force Emacs to run elisp functions, and you can do whatever you want on the Emacs side. (This will only work if your Android can run emacsclient. I don’t know if it will be connected to connecting to the Java application + NDK or if you can get emacsclient on the root phone.)
+2
source

Source: https://habr.com/ru/post/906271/


All Articles