Join Today
+ Reply to Thread
Page 1 of 4 1234 LastLast
Results 1 to 10 of 34
Like Tree1Likes

Thread: vim on e680

  1. Default vim on e680

    hi folks.

    I Just cross-compiled Vim (editor with syntax highlight) on e680.

    please help yourself to download from my site.
    E680 software
    swifty likes this.

  2. #2

    Default Re: vim on e680

    hey that's great!!!! i've been using the vi from busybox but it's not nearly the same and really limited.

    can you share more details about the build? i was having all kins of problems when i tried to build libncurses for the phone over the summer and i'd like to compile vim for gumstix as well (i'll try this version but i don't know if there will be a lib/kernel compat problem, gumstix is currently on 2.6.11 with soft-float enabled, but vim probabaly doesn't care about that.

    On a side note, how are you using hugs98 on the e680/i?

    thanks again for sharing!!

  3. Default Re: vim on e680

    Well, the build is quite tricky. The key is how to configure the source correctly, and I did a hack. I am still working on a better documentation. I will put it up once I am done.

    As a side note, I did not compile libncurses myself. I use the binrary from
    http://www.pashkovsky.com/e680/
    I think you can ask the owner of that site for help, if you want to compile libncurses.

    I use hugs98 via qonsole. Just fire it under the command prompt.

  4. #4

    Default Re: vim on e680

    @haskellmail
    thanks for the tips; i'll probably just get ncurses from pashkovsky for the e680.

    is the vim binary compiled with the location of the resource files hard-coded in, or can they be relocated?

    what kinds of work do you do with hugs98 on the phone?

  5. Default Re: vim on e680

    @rpconect

    your guess is correct, the location is hard-coded in at the moment. The better if we can use an environment variable as the path. By looking at the source, I have no idea yet on how to compile in that way yet.

    I will try to look into that again maybe. or if you guys have any input on this matter?

    I am writing my compiler front-end in Haskell and I usually test/play around with my modules on hugs. It is handy that I have hugs and vim on my phone.

  6. #6

    Default Re: vim on e680

    what compiler are you using? the one from leprechaun's guide? if so would you be willing to share your vim source directory after configuration? i have no idea if i would have success but i'd love to take a crack at compiling with defining resource files via environment variables.

    i really love vim and having it on the phone is fantastac!! thanks again!

  7. #7

    Default Re: vim on e680

    Hi
    I have downloaded the archive with binary files, from provided link .
    My question is which is binary file vim what should I use in my phone?
    And how to install this file, included in PATH with binaries and start it from qonsole terminal application, telnet !?
    Is there some classic way of installation: mpkg install, neo install ro what?
    Thanks

  8. #8

    Default Re: vim on e680

    Hi
    I have downloaded the archive with binary files, from provided link .
    My question is which is binary file vim what should I use in my phone?
    And how to install this file, included in PATH with binaries and start it from qonsole terminal application, telnet !?
    Is there some classic way of installation: mpkg install, neo install ro what?
    Thanks

  9. #9

    Default Re: vim on e680

    vim is a low-level editor (e.g. all text based / no GUI) that runs from within a console so being able to run it from the GUI application manager (as an "installed" app) doesn't really make much sense; it would make more sense to package it as part of the qonsole neo install process.

    yes, you should make sure that vim is included in your PATH and the most likely use will be from a telnet or qonsole session. and although it might be possilbe to create a neo/mpkg version, because of the hard-coded resource file location it might get messy.

    vim is not easy to control or learn (its all controlled by ctrl key commands); but once i really got the hang of it (18 years ago) i'd never give it up.

  10. Default Re: vim on e680

    @neutrino
    To run it, you need qonsole. I supposed you put the binary in /diska,
    in qonsole
    $cd /diska/usr/bin
    $./vim

    If you see an error complains about the missing library, download
    the libncurses library from the second link I provded in this thread (which is also in my software page), and try again.

    yah.. it might be good to distribute it as a neo package together with qonsole.

    However, I thought neo package uses the phone memory, and the vim binary takes up 4mb, which most people would rather install it on the SD card.

    I thought in future I might look into compiling the gvim for qt/ezx (which enables a GUI for it).

    @rpconnect
    Yes I am using leprechaun's setup for cross compilation.
    I am putting my 'configured' source in the following
    http://www.comp.nus.edu.sg/~luzm/e680/vim.tar.gz
    Do not run make clean nor configure. If you want to change some configuration manually, look into 'src/Makefile' and 'src/auto/config.h'.
    If you want to recompile it
    $touch src/*.c
    $touch src/*.h
    $make

    Have fun!


 
+ Reply to Thread
Page 1 of 4 1234 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 12-06-2008, 02:33 AM
  2. [APP] Vi IMproved editor (VIM)
    By rezasani in forum A1200 Applications
    Replies: 15
    Last Post: 01-30-2008, 08:20 AM
  3. IPhone E680 -> moto e680/i Fake from china
    By ycyas in forum E680i General Chat
    Replies: 24
    Last Post: 02-21-2006, 02:00 AM
  4. E680 -> E680 "i" - what's the current stat
    By leopardus2 in forum E680 General Chat
    Replies: 4
    Last Post: 05-06-2005, 03:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1