Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-20-2012, 10:18 PM   #16
qlob
Official Lurker
qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.
 
qlob's Avatar
 
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
Quote:
Originally Posted by tigran View Post
There is a working (I just tested) Kindle 3 vim binary here:
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..."
Just saw this -- thanks!
qlob is offline   Reply With Quote
Old 09-20-2012, 10:20 PM   #17
qlob
Official Lurker
qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.qlob ought to be getting tired of karma fortunes by now.
 
qlob's Avatar
 
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
Quote:
Originally Posted by twobob View Post
This is great, appreciate the linky
And a Word To The (un)Wise:
Here are those pesky codes to get yourself out
is: escape colon kuew bang
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
Try
<escape> <shift> z <shift> z

to exit vim. Thats easier to remember for me at least. Plus it automatically saves the file.
qlob is offline   Reply With Quote
Advert
Old 05-02-2018, 10:57 AM   #18
nasser
Evangelist
nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.nasser ought to be getting tired of karma fortunes by now.
 
nasser's Avatar
 
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
Joe's Own Editor - v4.4-1

Introduction:
Some linux retro-editor nostalgia! A linux editor with wordstar, borland-turbo, emacs and pico style behaviour.

fvek had uploaded his cross-compiled version earlier in this thread, but left out some of the juicy parts. Here's a more complete package, with a fairly bleeding edge version, a smaller executable image size and a KUAL button.

Original author: Joseph Hallen, 1993

Source
: Debian-Stretch-Armel repository (normally Debian-Jessie is the one that works on Kindles, but here Stretch does, too!)

Version: 4.4-1

Maintainer: Josip Rodin <joy-packages@debian.org>

Homepage: http://joe-editor.sourceforge.net/

Description(from INFO file of Debian package):
User friendly full screen text editor, Joe's Own Editor, has the feel of most PC text editors: the key sequences are reminiscent of WordStar and Turbo C editors, but the feature set is much larger than of those. Joe has all of the features a Unix user should expect: full use of termcap/terminfo, complete VI-style Unix integration, a powerful configuration file, and regular expression search system. It also has six help reference cards which are always available, and an intuitive, simple, and well thought-out user interface.

Joe has a great screen update optimization algorithm, multiple windows (through/between which you can scroll) and lacks the confusing notion of named buffers. It has command history, TAB expansion in file selection menus, undo and redo functions, (un)indenting and paragraph formatting, filtering highlighted blocks through any external Unix command, editing a pipe into or out of a command, and block move, copy, delete or filter.

Through simple QEdit-style configuration files, Joe can be set up to emulate editors such as Pico and Emacs, along with a complete imitation of WordStar, and a restricted mode version (lets you edit only the files specified on the command line). Joe also has a deferred screen update to handle typeahead, and it ensures that deferral is not bypassed by tty buffering. It's usable even at 2400 baud, and it will work on any kind of sane terminal.

Needs:
  • Jailbroken Kindle
  • KUAL
  • Kterm
  • libncurses library (kindles have it)
  • libtinfo library (included here)

Works on:
Any jailbroken kindle from kindle touch onwards. Tested OK on pw1, pw3, kt3.

Instructions:
  • Unzip the package(joe.zip) into /mnt/us/extensions
  • Start KUAL
  • Select "Joe's Own Editor" menu option
  • Select which flavour of joe you want
  • Press the appropriate keys to open the help menu (see below)
  • For detailed help, see the full user manual(attached).
Here's small list of keyboard shortcuts to get you started(^ stands for Control key):
Help: ^kh(standard and rjoe), ^x^h(jmacs), ^j(jstar), ^g(jpico)
Quit: ^c(standard and rjoe), ^x^c(jmacs), ^kq(jstar), ^x(jpico)
Open file: ^ke(standard), ^x^f(jmacs), ^ke(jstar), ^r(jpico)
Save file: ^kd(standard and rjoe), ^x^a(jmacs), ^kd(jstar), ^o(jpico)
Save and quit: ^kx(standard and rjoe), ^x^s(jmacs), ^kx(jstar), ^x(jpico)

Kindle notes:
Joe uses a mechanism to detect with what alias it's being invoked to select the correct configuration file and change its behaviour accordingly. However, since soft links are not possible on kindles (except in the read only root partition), I've used an equivalent method. Based on the selection from the KUAL menu, a different shell script is called, which copies the appropriate configuration file into joe's home folder under the standard name.

To allow the full help menu to be visible, kterm is opened with a horizontal orientation and a font size of 6. Both these can be changed from within the editor screen using kterm's double touch menu.

Things not working:
Syntax highlighting (the syntax files location seems to be hardcoded to /usr/share/joe/syntax/ which is not possible here). Only highlighting for C and maybe some other file types works, as it seems to be in-built.

Attachments:
  • joe.zip(KUAL package)
  • joe-man.zip(User manual)
  • joe-kt3.png(Screenshot from kt3)
Attached Thumbnails
Click image for larger version

Name:	kt3-joe.png
Views:	64
Size:	23.6 KB
ID:	163790  
Attached Files
File Type: zip joe.zip (408.9 KB, 22 views)
File Type: zip joe-man.zip (38.8 KB, 20 views)
nasser is offline   Reply With Quote
Reply

Tags
console, editor, joe, kindle

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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 09:28 PM
Free (Kindle) Shoeless Joe by W.P. Kinsella arcadata Deals and Resources (No Self-Promotion or Affiliate Links) 2 05-07-2011 01: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 05:15 PM
Free on Kindle - Killing Joe koland Deals and Resources (No Self-Promotion or Affiliate Links) 3 07-26-2009 06:22 PM
iLiad "joe" command line text editor bobj iRex Developer's Corner 3 06-02-2008 04:03 PM


All times are GMT -4. The time now is 07:09 AM.


MobileRead.com is a privately owned, operated and funded community.