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 05-25-2012, 06:01 AM   #1
baf
Addict
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 1346560
Join Date: May 2012
Device: kt
[Kindle Touch] xterm & matchbox-keyboard

Hi,
Inspired by other thread in this forum I built xterm and matchbox-keyboard for Kindle Touch. I prepared package for GUI Launcher. You can download it on this site. I hope the package will work for you. If not please let me know. I could have spoiled something, as I am new to Kindles. It should work on Kindle Touch with firmware 5.1.0.
For now, keyboard layout is very basic and not very comfortable. I will work on it when I have some free time.
Attached Thumbnails
Click image for larger version

Name:	screenshot_2012-05-25T07_27_15-0200.gif
Views:	2105
Size:	15.1 KB
ID:	86844  
baf is offline   Reply With Quote
Old 05-25-2012, 06:35 AM   #2
deep
Enthusiast
deep began at the beginning.
 
Posts: 29
Karma: 10
Join Date: May 2012
Device: Kindle Touch
Awesome ! ... maybe you could optimize for landscape mode and also put up scroll buttons for increasing font size...
Are the patches in your site; the only modifications you made on the code ?
Attached Thumbnails
Click image for larger version

Name:	screenshot_2012-05-25T16_01_48-0530.gif
Views:	1148
Size:	18.8 KB
ID:	86845  

Last edited by deep; 05-25-2012 at 06:54 AM.
deep is offline   Reply With Quote
 
Enthusiast
Old 05-25-2012, 06:43 AM   #3
baf
Addict
baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.baf ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 1346560
Join Date: May 2012
Device: kt
Patches are on the site. Just minor changes.
Changing xterm window size when orientation changes is a good idea. I put it on my todo list.
baf is offline   Reply With Quote
Old 05-25-2012, 07:16 AM   #4
JoppyFurr
Coding fuzzball
JoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exercise
 
JoppyFurr's Avatar
 
Posts: 16
Karma: 38918
Join Date: May 2012
Device: Kindle Touch
Very nice :3
JoppyFurr is offline   Reply With Quote
Old 05-25-2012, 08:11 AM   #5
MaPePeR
Connoisseur
MaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughing
 
Posts: 58
Karma: 63518
Join Date: Apr 2012
Device: KT
So the second really good looking Terminal Emulator for the Touch with Keyboard.
(Haven't tried it yet!)

But i wonder, why both have their own keyboard.
What is the problem with using the standard-touch-keyboard?
Why cant we just stick to this, so we don't have 5 different apps, that uses 5 different on-screen keyboards with 4 different layouts.

For me it looks like everyone is reinventing the wheel.
Well you might have your reasons to do so: but can you tell them?

Greetings.

This post is not only addressed to baf, but to everyone who has integrated his own keyboard.
MaPePeR is offline   Reply With Quote
Old 05-25-2012, 08:17 AM   #6
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,341
Karma: 5840124
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by MaPePeR View Post
For me it looks like everyone is reinventing the wheel.
Well you might have your reasons to do so: but can you tell them?
Why is there ever more than a single product of any kind?

knc1 is offline   Reply With Quote
Old 05-25-2012, 08:20 AM   #7
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,066
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by MaPePeR View Post
What is the problem with using the standard-touch-keyboard?
Why cant we just stick to this, so we don't have 5 different apps, that uses 5 different on-screen keyboards with 4 different layouts.

For me it looks like everyone is reinventing the wheel.
Well you might have your reasons to do so: but can you tell them?
I had a working touchscreen terminal using the "standard" keyboard LAYOUTS many months ago. It was so "linux-UNFRIENDLY" that I did not publish it. There are too many keyboard layouts to switch between, and most of them have two versions (press a key like "c" or "o" or "e" for two seconds to get the layout versions with the extra row of keys with accented characters. And even with all those keyboard layouts that require multiple "shift" keys to navigate, many important characters REQUIRED by linux are missing from them.

You cannot use the CODE that generates and manages those "standard" keyboard layouts in native-mode (compiled C) programs like these, because the built-in keyboard code is in the java framework and not available to native-mode programs. And as for just how "standard" those keyboard layouts are, just compare the K4 and K5 keyboard layouts -- they look and operate COMPLETELY DIFFERENTLY. To write a native-mode app that uses both sets of layouts, you would have to detect which kindle model your code was running on and then use a DIFFERENT set of keyboard layouts and code to drive them.

The unfinished terminal program that I work on when I have time uses a "REAL standard" keyboard layout commonly used on netbook computers. It does not need additional keyboard layouts for normal operation. I "blit" character images onto the keys so that I can support other keyboard layouts such as AZERTY or Cyrillic. I wish I had time to complete this, but I will have very little available time during the next two months.

Last edited by geekmaster; 05-25-2012 at 08:34 AM.
geekmaster is offline   Reply With Quote
Old 05-25-2012, 08:24 AM   #8
MaPePeR
Connoisseur
MaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughing
 
Posts: 58
Karma: 63518
Join Date: Apr 2012
Device: KT
@knc1
Well i can understand, that some people want to drive a different car than others, so there might be more products of any kind, but all cars have round wheels, a break, a gas panel and a steering wheel.
And the keyboard is not the product itself, but the interface to the product.

We can be happy, that you don't need to do a special drivers license for any different car-brand, like you would have to do, if they would not use the same interface.

is that your signature image?


Thanks for the good answer, geekmaster.

If the keyboard is missing special keys: add them. its java, we can replace java functionality.

Last edited by MaPePeR; 05-25-2012 at 08:29 AM.
MaPePeR is offline   Reply With Quote
Old 05-25-2012, 08:27 AM   #9
JoppyFurr
Coding fuzzball
JoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exerciseJoppyFurr juggles running chainsaws for a bit of light exercise
 
JoppyFurr's Avatar
 
Posts: 16
Karma: 38918
Join Date: May 2012
Device: Kindle Touch
Quote:
Originally Posted by MaPePeR View Post
So the second really good looking Terminal Emulator for the Touch with Keyboard.
(Haven't tried it yet!)

But i wonder, why both have their own keyboard.
What is the problem with using the standard-touch-keyboard?
Why cant we just stick to this, so we don't have 5 different apps, that uses 5 different on-screen keyboards with 4 different layouts.

For me it looks like everyone is reinventing the wheel.
Well you might have your reasons to do so: but can you tell them?

Greetings.

This post is not only addressed to baf, but to everyone who has integrated his own keyboard.
Hi,

For mine, there were a couple of reasons:

Firstly, I have no idea how to read input from the built-in Kindle keyboard.
Secondly, the built in keybord doesn't have all of the keys normally used on a computer anyway, for example, it has no Esc or Ctrl keys.
JoppyFurr is offline   Reply With Quote
Old 05-25-2012, 08:35 AM   #10
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,341
Karma: 5840124
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by MaPePeR View Post
is that your signature image?
No. google the text of my signature (less the word: "hack") -
Last verse (of B. Dylan's poem, other people have added to it):

Quote:
Originally Posted by Bob Dylan
Though I never knew just what you meant
When you were speaking to your man
I can only think in terms of me
And now I understand
After waking enough times to think I see
The Holy Kiss that's supposed to last eternity
Blow up in smoke, its destiny
Falls on strangers, travels free
Yes, I know now, traps are only set by me
And I do not really need to be
Assured that hack is just a four-letter word
I.E: A mental image, not a visual one.

Last edited by knc1; 05-25-2012 at 08:52 AM.
knc1 is offline   Reply With Quote
Old 05-25-2012, 08:36 AM   #11
deep
Enthusiast
deep began at the beginning.
 
Posts: 29
Karma: 10
Join Date: May 2012
Device: Kindle Touch
Quote:
Originally Posted by geekmaster View Post

The unfinished terminal program that I work on when I have time uses a "REAL standard" keyboard layout commonly used on netbook computers. It does not need additional keyboard layouts for normal operation. I "blit" character images onto the keys so that I can support other keyboard layouts such as AZERTY or Cyrillic. I wish I had time to complete this, but I will have very little available time during the next two months.
Eagerly waiting for that project release !
deep is offline   Reply With Quote
Old 05-25-2012, 08:42 AM   #12
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,066
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by MaPePeR View Post
Thanks for the good answer, geekmaster.

If the keyboard is missing special keys: add them. its java, we can replace java functionality.
You can replace java functionality for java programs, but for compiled C programs such as this one, how can we use it in a simple and reliable way?

We could use a client/server method where a java "keyboard manager" program passes pressed keys to a native-mode (compiled C) program (perhaps through a shared file). But that is not simple, and may break on some kindle models or firmware versions.

I want my programs to run on all kindle models and firmware versions, with little or no awareness of WHICH kindle they are running on. I keycode differences by detecting the model only during program initialization and selecting a keycode translation table for later use. I also select which kind of eink update calls to do during initialization. The main code body should not care which kindle it runs on.

P.S. The best thing about standards is that there are so many to choose from.
geekmaster is offline   Reply With Quote
Old 05-25-2012, 08:48 AM   #13
knc1
Embedded Cheerleader
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,341
Karma: 5840124
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by geekmaster View Post
The unfinished terminal program that I work on when I have time uses a "REAL standard" keyboard layout commonly used on netbook computers. It does not need additional keyboard layouts for normal operation. I "blit" character images onto the keys so that I can support other keyboard layouts such as AZERTY or Cyrillic. I wish I had time to complete this, but I will have very little available time during the next two months.
RANT
Perhaps you've noticed during the evolution of the NetBook products - - -
Our "space bar" is disappearing, if the trends continue, it will soon be no larger than any other key.
/RANT

Which might not be such a bad idea in the confined real estate of an on-screen keyboard.
knc1 is offline   Reply With Quote
Old 05-25-2012, 08:49 AM   #14
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,066
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by deep View Post
Eagerly waiting for that project release !
It consists of a single simple C program file with no header files, and uses only a small number of "standard" header files (like stdio.h), like my other published C programs. And like the others, it works on all of my kindles (DX/DXG/K3/K4/K5). It is not ready to publish yet, but I do work on it when I have time (not much now though). I like to condense my code down to fit as much functionality as possible into the smallest number of lines of code that I can in the simplest way that I can. That is what I do for "fun".

Meanwhile, other terminal programs are welcome.

Last edited by geekmaster; 05-25-2012 at 09:06 AM.
geekmaster is offline   Reply With Quote
Old 05-25-2012, 08:51 AM   #15
MaPePeR
Connoisseur
MaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughingMaPePeR can shake the floor when laughing
 
Posts: 58
Karma: 63518
Join Date: Apr 2012
Device: KT
Quote:
I want my programs to run on all kindle models and firmware versions
Thats a point.
Quote:
P.S. The best thing about standards is that there are so many to choose from.


(Also: if we invert the standard 16"color" gray dithering: will we get more b/w pixels? for (even) more quality? if you say "blit to the screen" is that after or before the standard-dithering? simply ignore if this is to OT)
MaPePeR is offline   Reply With Quote
Reply

Tags
launcher add-ons

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Battery life in kindle keyboard an kindle non touch. ersott Amazon Kindle 24 10-30-2013 04:33 AM
[Progress] Jailbreaking Kindle 4.0 (Touch/No Keyboard) yifanlu Kindle Developer's Corner 429 10-22-2012 08:58 PM
[Kindle Touch] Touch-screen keyboard demo JoppyFurr Kindle Developer's Corner 6 05-19-2012 11:04 AM
Kindle Touch add new keyboard Novas Kindle Developer's Corner 2 01-12-2012 08:29 AM
Matchbox Keyboard Update Grimulkan iRex 17 05-13-2009 04:24 PM


All times are GMT -4. The time now is 10:35 PM.


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