![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 405
Karma: 2330752
Join Date: May 2012
Device: kt
|
Terminal emulator for Kindle – kterm
Hi,
My port of XTerm stopped working with 5.3 firmware. Instead of trying to revive it I took another way. I wrote a very simple GTK+ terminal emulator based on VteTerminal library. It is available for testing here. I run it successfully on KT 5.3.2 firmware. It is reported to run fine on Paperwhite. I believe it should also be compatible with 5.1 firmware. UPDATE: It is reported to run on following devices: KT, KT2, KT3, PW1, PW2, PW3. Any feedback welcome ![]() Last edited by baf; 10-14-2016 at 02:32 AM. Reason: updated list of supported devices |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 55702
Join Date: Sep 2012
Device: Kindle Touch
|
Wow, great! Looking forward to a terminal for KT 5.3.2 since the firmware update.
Thanks, I'll give it a try. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 55702
Join Date: Sep 2012
Device: Kindle Touch
|
Eh, there seems to be a problem: if I quit the kterm by type
Code:
# exit |
![]() |
![]() |
![]() |
#4 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
The code which launched the matchbox-keyboard is probably missing a trap for sigterm that would allow it to terminate matchbox-keyboard before it exits.
Author can probably fix that without too much trouble. |
![]() |
![]() |
![]() |
#5 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 405
Karma: 2330752
Join Date: May 2012
Device: kt
|
Quote:
I can't reproduce your error. How did you start kterm? You mean that keyboard stays open after terminal is closed? |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 55702
Join Date: Sep 2012
Device: Kindle Touch
|
Quote:
Code:
# /mnt/us/extensions/kterm/bin/kterm Then I type exit to quit the kterm. But if you run ps -e or pgrep -l match in ssh, you may see that matchbox-keyboard is still running in the background. |
|
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 55702
Join Date: Sep 2012
Device: Kindle Touch
|
|
![]() |
![]() |
![]() |
#8 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 405
Karma: 2330752
Join Date: May 2012
Device: kt
|
Quote:
Does it stay alive each time you exit kterm? What happens if you quit by choosing "quit" from the menu? |
|
![]() |
![]() |
![]() |
#9 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
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
|
kill(-getpid(), 15); // cleanup children
![]() hmm... 9? ![]() ![]() |
![]() |
![]() |
![]() |
#10 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 405
Karma: 2330752
Join Date: May 2012
Device: kt
|
|
![]() |
![]() |
![]() |
#11 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Have him do a Kindle restart, try that again, and this time include the pid and ppid in the posts. |
|
![]() |
![]() |
![]() |
#12 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 405
Karma: 2330752
Join Date: May 2012
Device: kt
|
Quote:
No need to restart Kindle. I think killall -9 matchbox-keyboard will do. |
|
![]() |
![]() |
![]() |
#13 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 55702
Join Date: Sep 2012
Device: Kindle Touch
|
Ah, I reboot my kindle just, and run the kterm again. Now it seems no problem any more, no more matchbox-keyboard left running in the background when the kterm exits. Maybe it is because of that my kindle has run for too long time before?
Sorry to trouble you about this problem. But here seems to be another problem: if I want to run kterm the second time, it will sometimes print a lot of newlines, as is shown in the attached picture. Do you have this problem? Besides, a question: is there anyway to save the font size setting? The default font size is a little larger for me. |
![]() |
![]() |
![]() |
#14 | ||
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 405
Karma: 2330752
Join Date: May 2012
Device: kt
|
Quote:
Quote:
Thanks for feedback! |
||
![]() |
![]() |
![]() |
#15 | |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
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
|
Quote:
In the interim (before a config-able release was to surface it would be a relatively trivial job to slap together yourself a custom version. : ) Last edited by twobob; 01-19-2013 at 02:01 PM. |
|
![]() |
![]() |
![]() |
Tags |
kindle touch, kindle touch hacks, terminal emulator |
Thread Tools | Search this Thread |
|
![]() |
||||
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 |