View Single Post
Old 06-11-2014, 06:05 PM   #15
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
IIRC we did a "Hide Reading Progress" extension that triggered automagically every page turn.

Would take about 3 lines of code to make that into this surely.

Code:
 <SNIP>   {system("eips -d l=FFF,w=758,h=48 -x 0 -y 977")}   </SNIP>
WARNING. do not run that on the touch or lower. it may freeze your device!!

switch it for something safe. I'll have a quick look.

and the wiper.sh would need need programming. to match IIRC. or you could probably simplify this into one command now. with some clever size estimation. Niluje has documented excellent positioning logic before. worth a read.

replace the total wipe with something located to your liking involving the text part of eips.

something involving `date +"%T"`

EDIT: ok: and more specifically :

Code:
eips 20 0 `date +%T`
as in

PHP Code:
 awk '/.*PageTurnAction*./ || /.*JunoExecutionManager*./  {system("eips 20 0 `date +%T`")}  ' 


That might work.

if the date command has different options on different models think about maybe a fancy printf.

or even date | awk '{print $4}' in a pinch.
Quote:
23:19:56



Careful that eips has all the chars you choose. It can be unpredictable and exhibit scary behaviour if properly prodded.
There are holes beyond basic punctuation IIRC so I would stay on the safe side.
stick to the basics. you should be golden,

Sounds like the perfect newcomers project to me. 99% on a platter. just a few man pages (dont look for man eips though... Geekmaster has documented the options lovingly so go there) to read or a google or two.

no compiler required


(QUIZ: How did I take the screenshot on a kindle touch?)
Spoiler:
Hold down home button for a sec, click on screen anywhere, release home button a few secs later.

arrives in sftp://root@<kindleIP>:/mnt/us/screenshot_YYYY_MM_DDTHH_MM_SS+0000.png

Attached Thumbnails
Click image for larger version

Name:	screenshot_2014_06_11T22_42_07+0000.png
Views:	484
Size:	6.2 KB
ID:	123999   Click image for larger version

Name:	Screenshot-Location.png
Views:	440
Size:	29.9 KB
ID:	124000  

Last edited by twobob; 06-12-2014 at 01:58 PM.
twobob is offline   Reply With Quote