09-11-2017, 10:19 AM | #331 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
We know from other projects (like KindleLazy) that the two firmware series use different event device assignments. Note: I am just guessing based on the problem description. It does sound like a Baf level problem, since he knows the internal operation of the add-in the best. |
|
09-22-2017, 12:14 PM | #332 | |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Quote:
You can try to get some more info by running kterm from console with -d option. Compare debug output from PW1 with the one from PW3. If possible post it here, it may give some clues. |
|
09-23-2017, 11:47 AM | #333 | |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Quote:
The debug outputs attached. Got by running kterm -d > xxx-debug-output.txt through ssh. Maybe I should check debug output when pressing the end key from the kindles? |
|
09-23-2017, 11:51 AM | #334 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
If you want the end key from the kindles fixed, then yes, it would be a good idea to post debug output that shows what happens when that key is pressed.
We will just count that one as a "think'o" and pretend you never made the first attachments or asked the question. |
09-23-2017, 12:43 PM | #335 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Here's a side by side comparison (attachment in pdf format) of the debug output for pw1/pw3/kt3 when the mod1("ã/F") key followed by the end key is pressed.
Can't make out any differences, apart from those due to the differing screen resolutions... |
09-23-2017, 12:46 PM | #336 | |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Thanks!
I checked general debugs that you posted and didn't notice any problems. Quote:
Ok. I've got it. Last edited by baf; 09-23-2017 at 12:52 PM. |
|
09-23-2017, 02:08 PM | #337 | |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Quote:
How do you test the key, in shell or in some application? What is your shell in newer kindles? On my kindle it is busybox sh. Test it in kterm. Code:
# echo $0 /bin/sh # ls -la /bin/sh lrwxrwxrwx 1 root root 7 Jul 20 2015 /bin/sh -> busybox Code:
# cat ^[OF Run diff on /etc/termcap files on both systems. Kterm ships with its own termcap, but maybe system file also matters Last edited by baf; 09-23-2017 at 02:13 PM. |
|
09-24-2017, 06:06 AM | #338 | |||||
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Thanks, Baf!
Here's what you asked for: Quote:
Quote:
Quote:
In PW3 and KT3 I got NOTHING! (cursor remains where it was) Quote:
Quote:
|
|||||
09-24-2017, 06:37 AM | #339 | |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Quote:
|
|
09-24-2017, 10:05 AM | #340 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
The language and locale settings of the PW-1 are different.
Note: The Amazon system contains a load_preload library that scrubs (standardizes) the environment settings. That library might not be making the same changes. But the language and locale settings should have been passed by the library. Does the PW-1 have one of the font/margin hacks? The one where you have to use the GB rather than the US jars? Otherwise, set the PW-1 language and locale settings the same as the other two. |
09-24-2017, 02:06 PM | #341 | |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
Quote:
I can't remember why my PW1 has a LANG=en_GB, while the other two have en_US. Should I try changing the PW3 and KT3 settings also to en_GB? |
|
09-24-2017, 04:31 PM | #342 |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
I don't think there is a problem with en_US locale. I have this locale on my KT and it works fine.
Just to make sure. Is kterm installed in /mnt/us/extensions? Is the path /mnt/us/extensions/kterm/vte/terminfo valid? Other than that I have no idea. This could be a problem with termcap, but there are no differences. I even skimmed through latest Lab126 changes in GTK+ source, but didn't find anything suspicious. Without the device it will be difficult for me to debug this issue. |
09-24-2017, 04:40 PM | #343 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
I only pointed out the differences I can see from several time zones away from the device.
If you don't have anything installed that depends on en_GB set of jar files, change the settings to match the other two, just in case it makes a difference. I will re-mention my earlier comment: The kernel on the PW-1 does not provide the same event interface as the newer kernel on the newer devices does. I.E: The event interface differences may be affecting that one key code. The fact that nothing else is different strengthens my case for a difference in event handling. |
09-24-2017, 05:50 PM | #344 | |
Evangelist
Posts: 404
Karma: 2200000
Join Date: May 2012
Device: kt
|
Quote:
|
|
09-25-2017, 05:52 AM | #345 |
Evangelist
Posts: 475
Karma: 445678
Join Date: Feb 2010
Device: Too many..
|
|
Tags |
kindle touch, kindle touch hacks, terminal emulator |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
One more terminal emulator for kindle. | Matan | Kindle Developer's Corner | 158 | 03-23-2020 06:45 PM |
PRS-T1 Terminal Emulator in rupor-minimal | jcromero | Sony Reader Dev Corner | 2 | 09-26-2012 02:07 PM |
Anybody working on terminal for Kindle Touch? | markatlnk | Kindle Developer's Corner | 3 | 06-02-2012 10:07 AM |
Development Terminal Emulator oddity | twichy | enTourage Archive | 5 | 05-01-2011 11:51 AM |
DR800 rxvt (terminal emulator) for DR800 | GregorRichards | iRex | 13 | 01-04-2011 06:56 AM |