Vimtouch with a Proot system

30 views
Skip to first unread message

jrbru...@yahoo.com

unread,
Jul 31, 2014, 5:31:42 PM7/31/14
to vimtouch...@googlegroups.com
I was wondering if it's possible to get the nice features of Vim Touch and use it with a chroot jail created with proot.

Like maybe having the Android Terminal Emulator/Touch Layer access a chrooted Vim instead of the NDK port.

I'm asking this because I want to set up a complete Vim environment with plugin's (eg. YouCompleteMe)
and their dependencies (Clang/LLVM, Python, Node.js etc.) without them needing real root access. I figure the fastest way to do this is via something like proot but I'd still want it to use the touchscreen like Vim Touch.

Any tips advice you can give me about how this can be done would be helpful.

Vytautas Šaltenis

unread,
Jul 31, 2014, 7:25:52 PM7/31/14
to vimtouch...@googlegroups.com
On Fri, Aug 1, 2014 at 12:31 AM, jrbrusseau via vimtouch-general
<vimtouch...@googlegroups.com> wrote:
> I was wondering if it's possible to get the nice features of Vim Touch and use it with a chroot jail created with proot.
>
> Like maybe having the Android Terminal Emulator/Touch Layer access a chrooted Vim instead of the NDK port.

Unfortunately, no, VimTouch has all of Vim source code compiled in,
intimately touching I/O interfaces. Accessing another process is out
of question.

--
Vytautas Šaltenis
On the Web: http://rtfb.lt/

jrbru...@yahoo.com

unread,
Aug 1, 2014, 3:26:57 PM8/1/14
to vimtouch...@googlegroups.com
Oh, I thought it just used Android Terminal Emulator with some added gestures and pointed to a Vim executable.

This is just my curiosity speaking here so if you got time to explain: What does the architecture of the Vim Touch application looks like?

Vytautas Šaltenis

unread,
Aug 4, 2014, 5:27:51 AM8/4/14
to vimtouch...@googlegroups.com
On Fri, Aug 1, 2014 at 10:26 PM, jrbrusseau via vimtouch-general
<vimtouch...@googlegroups.com> wrote:
> Oh, I thought it just used Android Terminal Emulator with some added gestures and pointed to a Vim executable.
>
> This is just my curiosity speaking here so if you got time to explain: What does the architecture of the Vim Touch application looks like?

You got it almost right, up to the point "and pointed to a Vim
executable", where it's slightly more complicated than that. What we
do is we grab vim's source code, add a few files that handle the glue
layer between the ATE, gestures and other input, and compile it all
together into a library that's part of VimTouch app. So there's no
separate vim executable running, almost all of vim's code is embedded
inside VimTouch.
Reply all
Reply to author
Forward
0 new messages