06-01-2012, 11:11 AM | #16 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
06-02-2012, 05:22 AM | #17 | |
Coding fuzzball
Posts: 16
Karma: 38918
Join Date: May 2012
Device: Kindle Touch
|
Quote:
1) In your favorite text editor, open keyboard.h 2) Looking at the layout of the file, it should be fairly straightforward to see how to change the keys to what you want. 3) Save the modified keyboard.h 4) Using SSH on your kindle, run build.sh That should generate a new 'main' executible, which you can copy into the JoppyTerm folder if you want to have it run from GUILauncher. At some point in future versions, I'll add some kind of settings menu, where things like font size, layout, colour inversion, etc, can be controlled without modifying the code. Also: Exams are now over *does a little dance* I've now got some more time to develop the code, so hopefully I'll have a new update out within a day or two. I'm currently working on adding support for ANSI escape codes, so programs that make use of them will be able to work correctly once I've finished the update. |
|
Advert | |
|
06-12-2012, 04:51 AM | #18 |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Here we go with the QWERTY keyboard variation of JoppyFur Terminal for KT 5.1.0. All karma goes to JoppyFur. (Update: for KT 5.0.1 go here)
Thanks for this little awesome Kindle Touch terminal boy/girl! It's endlessly useful. Last edited by thatworkshop; 06-14-2012 at 04:35 AM. |
06-13-2012, 11:48 PM | #19 |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
UPDATE: Now it works, please go to this post to find out how!
This doesn't work on KT 5.0.1!!! I can run it, but keyboard doesn't work! Does it depend on a library that was present in 5.1.0? Last edited by thatworkshop; 06-14-2012 at 04:26 AM. |
06-14-2012, 12:01 AM | #20 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Last I looked it did not depend on any libraries. Unlike my touchpaint code, this does not check to see which event device is the zforce touchscreen. Its assumptions about which device only work when booted from main. If you boot from diags, you need to swap the event device number 2/3...
Did you use diags SSH to test it? Also, code compiled using the 5.1.0 header files will NOT work on 5.0.x if it uses eink ioctl updates, and if compiled with 5.0.x headers eink ioctl updates will not work on 5.1.x. Calling eips should work fine though. You did not say HOW it is not working. Is the problem with eink updates, or with touchscreen? Also, if touchscreen is not working, you may need to tap the power button... |
Advert | |
|
06-14-2012, 12:51 AM | #21 |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
As I said, the terminal runs but I can't type. And yes your awesome programs run here too my friend!
I think I found a catch, here we go: First I executed the binary file of Joppy Terminal which I took from my KT 5.1.0. It was compiled with TCC v1.6a... So I tried to compile it on my KT 5.0.1 with TCC v1.5 and although it is compiled, it gives the following error (and the binary file produced with this TCC has the same issue): tcc: file '/usr/lib/libpthread_nonshared.a' not found I think libpthread and libthread_db were one of the damn additions of KT 5.1.0 (well not sure about that) but they were one of reasons I had so much trouble with WAF apps. Last edited by thatworkshop; 06-14-2012 at 01:11 AM. |
06-14-2012, 01:04 AM | #22 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
If you just move the static tcc application yourself, you get to fix the ld control script file yourself also. |
|
06-14-2012, 01:11 AM | #23 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
And like I said SSH from diags uses a different touchscreen event device number. The correct way to use it is to scan for it like I do in my sigcap script. Look up how that works. It works in both main and diags boots which use different touchscreen (zforce) event device numbers... You did not answer my question. WHICH ssh are you using: main or diags? JoppyTerm (the version I looked at) only works from main unless you change the zforce device number and recompile it (or better yet make it work from both main and diags SSH)... Last edited by geekmaster; 06-14-2012 at 01:13 AM. |
|
06-14-2012, 01:18 AM | #24 |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
|
06-14-2012, 01:31 AM | #25 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
There are eink header incompatibilities between different 5.x versions. My latest code does NOT use the eink headers. It is safer to call eips to do the screen updates, which should work on all kindles. I need to look at the latest JoppyTerm code again to see how it works. It probably stuck because it paused the framework. You can resume it yourself from SSH, using the same commands the terminal uses (if it pauses it). Again, I need to look at the code when I have time... EDIT: I looked at the code. I has grown a lot since I last looked at it. I see that constants.h shows that it looks at event3. Diags uses event2. It does use eips calls so it should work on 5.1.x and 5.0.x firmware. It does pause and resume the framework. While running, the desktop framework does not work until you do the resume command shown in constants.h. Last edited by geekmaster; 06-14-2012 at 01:38 AM. |
|
06-14-2012, 01:45 AM | #26 | |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Quote:
Last edited by thatworkshop; 06-14-2012 at 04:00 AM. |
|
06-14-2012, 01:52 AM | #27 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Oh... wait... you compiled it with BOTH tcc versions? Does that mean that tcc worked for you now, but the terminal program does not work? MY touchscreen code automatically works for both main and diags touchscreen event devices. Perhaps 5.0.1 main works more like 5.0.4 diags. Try my "sigcap" script to see if that works: https://www.mobileread.com/forums/sho....php?p=2081471 EDIT: The constants.h file does say "Assuming a Kindle Touch running firmware 5.1.0". Of course, it could be modified to work ALWAYS, like the gmsigcap script... Last edited by geekmaster; 06-14-2012 at 03:02 AM. |
|
06-14-2012, 02:08 AM | #28 |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
gmsigcap works like a charm.
TCC v1.5 still has that error when compiling. |
06-14-2012, 03:05 AM | #29 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
What command are you using that "still has that error"? It is hard to determine your problem without enough details... If you are calling tcc directly, you need to manually do the commands in the tccmake script. It is easier just to use the tccmake script, as shown in other posts in that thread. P.S. When I get around to completing my touchscreen terminal program, it will only be a small amount of code, and it will support other kindles using the 5-way pad too, and it will output an event device stream to a pipe so it can EASILY patch into older programs designed for DX and K3 (like muPDF). When I get around to it, of course... Dev Corner indexing has sucked up too much of my time recently. Last edited by geekmaster; 06-14-2012 at 03:11 AM. |
|
06-14-2012, 03:55 AM | #30 | |
hub
Posts: 715
Karma: 2151032
Join Date: Jan 2012
Location: Iranian in Canada
Device: K3G, DXG, Kobo mini
|
Quote:
tccmake main drawing.c text.c keyboard.c term.c -lpthread -lutil Apparently, eliminating -lpthread is neither an option nor a solution. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle Terminal app (sort of) | lrizzo | Kindle Developer's Corner | 58 | 09-16-2023 03:59 PM |
Anybody working on terminal for Kindle Touch? | markatlnk | Kindle Developer's Corner | 3 | 06-02-2012 10:07 AM |
Kindle Touch Notice Folders Breaking My App | SteveEisenberg | Kindle Developer's Corner | 0 | 03-11-2012 03:06 PM |
Nook App not working in Ipod touch? vs Kindle | Rhonlynn | Apple Devices | 10 | 05-03-2011 09:22 AM |
How well does the Kindle app work on the iPod Touch? | shortywriter | Apple Devices | 2 | 06-13-2010 05:54 PM |