08-01-2012, 05:09 AM | #1 |
Member
Posts: 23
Karma: 193423
Join Date: Jul 2012
Device: Kindle Touch
|
JOE (Joe's Own Editor) compiled for Kindle
If you need a text editor for your kindle and vi is too esoteric for you, here's joe (http://joe-editor.sourceforge.net/).
You will need xterm (https://www.mobileread.com/forums/sho...d.php?t=179286) or some other terminal to use it on the Kindle Touch's screen (as mentioned below, works on its own via ssh). Last edited by Fvek; 08-01-2012 at 05:40 PM. Reason: clarify |
08-01-2012, 07:18 AM | #2 |
Groupie
Posts: 164
Karma: 164969
Join Date: Dec 2011
Device: Palm IIIx, (iPhone|Kindle) Touch
|
Or you can ssh into your Kindle and use it from there.
Although for me, busybox' vi is not too esoteric but too limited and I just today crosscompiled a real vim for the Kindle Touch. |
08-01-2012, 07:55 AM | #3 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
EDIT: This will only work for me using SSH. Now we need to get USB OTG working for external keyboard access too! Last edited by geekmaster; 08-01-2012 at 08:05 AM. |
|
08-01-2012, 02:31 PM | #4 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Binaries compiled for K5 are not compatible with K3 or earlier, correct? I would love to try JOE (i've never heard of it...) but i prefer Vim. (if only i could figure out what i'm doing wrong when i try to set up cross compiling....)
Last edited by qlob; 08-01-2012 at 02:35 PM. |
08-01-2012, 02:36 PM | #5 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
In many cases you can static link programs so that they are not dependent on loadable libraries. But for native mode programs you may have hardware dependencies, such as keyboard or touchscreen compatibility.
|
08-01-2012, 02:40 PM | #6 | |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Quote:
Still, my original question remains unanswered.... I cannot use this KT binary on my K3 because the KT is ARMv7, right? Last edited by qlob; 08-01-2012 at 02:44 PM. |
|
08-01-2012, 03:00 PM | #7 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
It may work. You will not know for sure if you do not try it. You will only have problems running K5 software on a K3 if it depends on something that is in the K5 but not in the K3, whether that is a newer loadable library, or a touchscreen, or newer CPU instructions that the older CPU does not support. Well-written software should fall back to software methods when hardware is missing (such as software floating point on computers that do not have floating point hardware). I try to write code that runs on all the eink kindles, such as most of my various demos that I published here. You can use my source code in your programs to do the same stuff.
Last edited by geekmaster; 08-01-2012 at 04:11 PM. |
08-01-2012, 04:05 PM | #8 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@qlob: As GM said, depending on the CFLAGS used for the build (and the code), you may well run into shiny 'illegal instructions' runtime failures, if you use something tailored for the K5 cpu on an older CPU .
|
08-01-2012, 04:14 PM | #9 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Last edited by geekmaster; 08-01-2012 at 04:34 PM. |
|
08-01-2012, 04:34 PM | #10 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@geekmaster: Ha! That led me to the 'Killer poke' article, mentioning the floppy drive of Commodore's Amiga, and brought back a flood of memories... That thing made a truly glorious sound!
|
08-01-2012, 04:49 PM | #11 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
08-01-2012, 05:13 PM | #12 | ||
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Quote:
Or... are you just saying that the HCF instruction gets trapped? Last edited by geekmaster; 08-01-2012 at 05:17 PM. |
||
08-02-2012, 06:23 PM | #13 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
This binary doesn't work for the K3 -- it wants GLIBC 2.7
Oh well, ill stick with vi for now |
09-16-2012, 03:36 PM | #14 | |
Zealot
Posts: 140
Karma: 23528
Join Date: Nov 2009
Location: London
Device: Kobo Aura One,HD,H2O,Touch,Mini,Kindle 3+DXG,Nook Simple Touch
|
Quote:
https://github.com/skyleecm/vim-for-kindle Just don't forget to add appropriate /opt/share/vim/syntax files (if you need them) to get rid of the annoying message on each startup saying "can't open bla-blah..." |
|
09-16-2012, 08:36 PM | #15 | ||
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Vim? Isn't that for cleaning things?
This is great, appreciate the linky
And a Word To The (un)Wise: Quote:
Quote:
like ^c:q! (you just haven't lived unless you've been stuck inside an editor with the rootfs rw and root permissions - with absolutely no idea of the keycodes to exit) Ah happy days, thanks for the hookup, I've put it on the awesome pile. Oh, and it "just works" no fiddling. on 3.4 |
||
Tags |
console, editor, joe, kindle |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free (Kindle KDP) A Death of Honor by Joe Clifford Faust [Sci-Fi Murder Mystery] | ATDrake | Deals and Resources (No Self-Promotion or Affiliate Links) | 13 | 02-07-2012 08:28 PM |
Free (Kindle) Shoeless Joe by W.P. Kinsella | arcadata | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 05-07-2011 12:22 PM |
Bargain (Kindle) 20th Century Ghosts by Joe Hill ($0.99) Horror Short Stories | arcadata | Deals and Resources (No Self-Promotion or Affiliate Links) | 15 | 01-27-2011 04:15 PM |
Free on Kindle - Killing Joe | koland | Deals and Resources (No Self-Promotion or Affiliate Links) | 3 | 07-26-2009 05:22 PM |
iLiad "joe" command line text editor | bobj | iRex Developer's Corner | 3 | 06-02-2008 03:03 PM |