|
|
#1 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250
Karma: 892104
Join Date: May 2012
Device: kt
|
Terminal emulator for Touch (and Paperwhite?)
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. I hope it will also work on PW. It is reported to run fine on Paperwhite. I believe it should also be compatible with 5.1 firmware. Any feedback welcome
Last edited by baf; 02-12-2013 at 03:11 AM. Reason: added screenshots |
|
|
|
|
|
#2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
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. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
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 |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,083
Karma: 3827911
Join Date: Feb 2012
Device: Intel 4004
|
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.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
#5 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250
Karma: 892104
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? |
|
|
|
|
|
|
#6 | |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
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 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 55702
Join Date: Sep 2012
Device: Kindle Touch
|
|
|
|
|
|
|
#8 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250
Karma: 892104
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: 5,123
Karma: 5324371
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
kill(-getpid(), 15); // cleanup children
![]() hmm... 9?
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#10 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250
Karma: 892104
Join Date: May 2012
Device: kt
|
|
|
|
|
|
|
#11 | |
|
Embedded Cheerleader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,083
Karma: 3827911
Join Date: Feb 2012
Device: Intel 4004
|
Quote:
Have him do a Kindle restart, try that again, and this time include the pid and ppid in the posts.
__________________
"Hack is just a four letter word." - - With apologies to B. Dylan |
|
|
|
|
|
|
#12 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250
Karma: 892104
Join Date: May 2012
Device: kt
|
Quote:
No need to restart Kindle. I think killall -9 matchbox-keyboard will do. |
|
|
|
|
|
|
#13 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
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 | ||
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 250
Karma: 892104
Join Date: May 2012
Device: kt
|
Quote:
Quote:
Thanks for feedback! |
||
|
|
|
|
|
#15 | |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,123
Karma: 5324371
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
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. : )
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set Last edited by twobob; 01-19-2013 at 02:01 PM. |
|
|
|
|
![]() |
| Tags |
| kindle touch, kindle touch hacks, terminal emulator |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| K3 One more terminal emulator for kindle. | Matan | Kindle Developer's Corner | 137 | 04-05-2013 05:49 AM |
| PRS-T1 Terminal Emulator in rupor-minimal | jcromero | Sony Reader Dev Corner | 2 | 09-26-2012 02:07 PM |
| K5 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 |