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 12-10-2012, 05:27 PM   #1
silver18
THE NOOB
silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.
 
silver18's Avatar
 
Posts: 698
Karma: 1545625
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
Emulate refreshOnTurn

Good evening to all!!
I'm trying to figure out a way to emulate the full page refresh option using shell commands.
I "need" this because the current option provided by Amazon doesn't affect WAFs (one more lack...) even if I set it using the refreshOnTurn property.
I tried
Code:
eips ''
but this doesn't remove the shadows left by previous pages.
Any clue?
Thanks!!!
silver18 is online now   Reply With Quote
Old 12-10-2012, 05:39 PM   #2
geekmaster
Всё гениальное просто.
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: 5,069
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by silver18 View Post
Good evening to all!!
I'm trying to figure out a way to emulate the full page refresh option using shell commands.
I "need" this because the current option provided by Amazon doesn't affect WAFs (one more lack...) even if I set it using the refreshOnTurn property.
I tried
Code:
eips ''
but this doesn't remove the shadows left by previous pages.
Any clue?
Thanks!!!
A quick hack would be to copy the framebuffer to a temp file with dd, then clear the screen (full flash) multiple times with delays between them (for maximum erasure), then copy the original framebuffer back and do the eips '' to refresh it. Guaranteed to work.

Or you could use fancier methods that take research and testing. A quick hack as suggested may suffice until you require a better method...
geekmaster is offline   Reply With Quote
Old 12-10-2012, 05:48 PM   #3
silver18
THE NOOB
silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.silver18 ought to be getting tired of karma fortunes by now.
 
silver18's Avatar
 
Posts: 698
Karma: 1545625
Join Date: Jan 2012
Location: Italy
Device: Kindle Touch 5.3.2
Quote:
Originally Posted by geekmaster View Post
A quick hack would be to copy the framebuffer to a temp file with dd, then clear the screen (full flash) multiple times with delays between them (for maximum erasure), then copy the original framebuffer back and do the eips '' to refresh it. Guaranteed to work.

Or you could use fancier methods that take research and testing. A quick hack as suggested may suffice until you require a better method...
This quick hack is interesting, but I need to test it as it should be a "fast enough" solution (it should be done every page turning)!
Thanks for the hint!!!
silver18 is online now   Reply With Quote
Old 12-10-2012, 07:30 PM   #4
geekmaster
Всё гениальное просто.
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: 5,069
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by silver18 View Post
This quick hack is interesting, but I need to test it as it should be a "fast enough" solution (it should be done every page turning)!
Thanks for the hint!!!
That hack would be fast, especially if only one screen clear before the redraw. You need a slight delay before the redraw to be sure the erase is (mostly) complete before the redraw.

Alternatively, there is probably something you can poke somewhere in /sys to change the screen refresh method.
geekmaster is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS to emulate table, or...? Hitch ePub 8 06-04-2011 08:35 PM
How best to emulate Sony Ereader Experience? GlenBarrington Android Devices 3 06-02-2011 08:21 AM
Can Calibre viewer emulate a device's display? RAH Calibre 6 11-01-2010 04:59 PM
Emulate eReader look LGN Reading and Management 5 10-06-2010 07:34 PM
Print magazines are better when they emulate the web Bob Russell News 0 05-18-2006 05:53 PM


All times are GMT -4. The time now is 04:37 AM.


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