View Single Post
Old 05-27-2016, 09:33 AM   #309
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
I think it is time to get an oncreen launcher (or shell) going on my K1 so I can do tests without wearing out my USB jacks. On a K1, the UYK "update install" method requires disconnecting and reconnecting the USB cables to make and test RUNME.sh changes. Just doing a USB "eject" is not enough.

Regarding a quick way to get a shell running on the K1 screen and keyboard, here are some places to begin:

This script was for the K3 (with keyboard), but limited to the restricted character set supported by "eips":
tinysh - tiny limited onscreen shell

This script outputs a full range of (tiny) characters to the eink display ("eips" replacement):
titty - tiny tty (display tiny text on eink display)

And here is a script where kamintkaze integrated my tinysh and titty scripts into a "complete" tiny shell with full character set support (click the "show" button):
kittycon 1.0 - kindle tty console

And for newer "keyboardless" touchscreen kindles, I had the (unpublished) beginnings of an onscreen keyboard script as well, based on this script:
geekmaster simple touchscreen script support hack
And this one:
geekmaster touchscreen signature capture script

Well, something simple is needed for the K1, and those are a place to start. But of course, we can compile C code now for the K1, so script-only terminals are a crude solution. The alternatives include hacking matan's "myts" terminal, but last time I hacked it fit my needs, it seemed like an "awful lot" of code to wrap my head around. I think a page (MR edit box) or three of C code is all I need, and my tiny brain can actually contain a few pages of source code.

Last edited by geekmaster; 05-27-2016 at 10:15 AM.
geekmaster is offline   Reply With Quote