View Single Post
Old 11-04-2013, 12:41 PM   #12
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
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
WARNING: This plugin will make Kindle touch FREEZE UP ENTIRELY... (still figuring out why)

in the interim:
Quote:
I ContentPanel:UserActionInfo: PageTurnAction=NextPageAction:
and
Quote:
I ContentPanel:UserActionInfo: PageTurnAction=PreviousPageAction:
are "greppable"/"awkable" in the showlog -f

perhaps that might be worth a look, but it's still a tradeoff... constant page updates or following an internal log... not sure what would be best.

Code:
tail -F /var/log/messages 2>/dev/null | exec /usr/bin/parselog | awk '/.*PageAction*./  {system("eips -d l=FFF,w=758,h=48 [-x 0 -y 977 -w 0] ")}  '
maybe... (untested as yet...) still figuring out why it kills the kindle touch

hmm... first thing that strikes me is that those [ and ] are to denote an optional parameter...


Quote:
to print strings: eips [row] [col] [-h] string
-h for highlighted text
to show image: eips -g|-b image_path [-w waveform -f -x xpos -y ypos -v]
-g for png, -b for bitmap
-w waveform can be gc16 gl16 or du, default is gc16
-f for full update, default is partial update
-x -y in units of pixels
-v for inverted picture
to paint a retangle on screen: eips -d l=a,w=b,h=c [-x xx -y yy -w wf]
a is gray level in hex, b is width, c is height, with optional xx yy location, waveform mode
eips -d l=a,w=b,h=c [-x xx -y yy -w wf]

means

eips -d l=a,w=b,h=c -x xx -y yy -w wf (with the last 3 being optional)

but that is not what is killing it.... (still checking)

Last edited by twobob; 11-04-2013 at 12:47 PM.
twobob is offline   Reply With Quote