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 06-30-2012, 06:04 AM   #61
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
Quote:
Is there any way I can increase the size of the font that it uses.
Combination of keys <ALT> = (alt and equal sign) increases font size. You may also open font menu by pressing <ALT> 3 and choose larger font from the menu.
If the largest font is still too small for you or you want to change default font size, you may edit /mnt/us/extensions/xterm/layouts/Xresources file. Relevant section is:

Code:
XTerm.VT100.font: -*-terminus-medium-r-normal--16-*-*-*-*-*-iso10646-*
XTerm.VT100.boldFont: -*-terminus-bold-r-normal--16-*-*-*-*-*-iso10646-*
XTerm.VT100.font1: -*-terminus-medium-r-normal--14-*-*-*-*-*-iso10646-*
XTerm.VT100.font2: -*-terminus-medium-r-normal--16-*-*-*-*-*-iso10646-*
XTerm.VT100.font3: -*-terminus-medium-r-normal--18-*-*-*-*-*-iso10646-*
XTerm.VT100.font4: -*-terminus-medium-r-normal--20-*-*-*-*-*-iso10646-*
XTerm.VT100.font5: -*-terminus-medium-r-normal--22-*-*-*-*-*-iso10646-*
XTerm.VT100.font6: -*-terminus-medium-r-normal--24-*-*-*-*-*-iso10646-*
Available sizes are: 12, 14, 16, 18, 20, 22, 24, 28 and 32.
Fonts 1 to 6 are described in the font menu, starting from "unreadable" up to "huge".
For example, to change a font size to 32 points, enter:

Code:
-*-terminus-medium-r-normal--32-*-*-*-*-*-iso10646-*
baf is offline   Reply With Quote
Old 07-05-2012, 01:54 PM   #62
atordo
Connoisseur
atordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to behold
 
Posts: 89
Karma: 19669
Join Date: Apr 2012
Device: Kindle Touch
Special characters

First of all, thanks for making this, together with the extend package it's gonna be very useful to me.

I see you have included in the keyboard letters for other languages (the keys labeled ã/F and Ã/£) for which I'm grateful, but I'm not able to make them work. The keys will blink when pressed, but nothing appears on screen. Those are some relevant environment variables on my kindle:
Code:
LANG=es_ES.utf8
LC_ALL=es_ES.utf8
XTERM_LOCALE=C
I've also tried changing XTERM_LOCALE to es_ES.utf8 to no avail. This happens both in local and in a remote host via ssh (also tried changing locales there).

As it is, the app is of great usefulness to me if only to "vi /mnt/us/whatever.txt" and take notes (I'm confortable with vi), but if I could input the needed characters to properly spell my language, it would be, well, more useful

TIA.
atordo is offline   Reply With Quote
Old 07-06-2012, 02:23 PM   #63
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
Special characters

@atordo
Thanks for using this app and reporting this bug!
I am aware of it, but I need time to dig and properly resolve this issue. For now I made a simple workaround which should satisfy you. Please download new version. To make accented letters work properly, please select "UTF-8 Encoding" from Fonts menu (accessed by pressing <ALT> 3).
This is quick hack and still buggy. You will notice for example that first press of accented letter will fail, but afterwards it should work.
I will not have more time to improve it now, as I will be away from my computer and kindle until september
baf is offline   Reply With Quote
Old 07-07-2012, 02:39 PM   #64
atordo
Connoisseur
atordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to behold
 
Posts: 89
Karma: 19669
Join Date: Apr 2012
Device: Kindle Touch
Thanks baf, it worked for me at the first try

When editing with vi the chars are replaced with "..", but displayed correctly with cat, so that's an issue with the vi bundled with the kindle.

Have a nice computer detox summer
atordo is offline   Reply With Quote
Old 07-07-2012, 04:53 PM   #65
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
Quote:
Originally Posted by atordo View Post
When editing with vi the chars are replaced with "..", but displayed correctly
Yes, busybox vi is very limited. If you want I have vim built for KT. I put it on my webpage in downloads.
baf is offline   Reply With Quote
Old 07-08-2012, 07:50 AM   #66
atordo
Connoisseur
atordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to behold
 
Posts: 89
Karma: 19669
Join Date: Apr 2012
Device: Kindle Touch
Quote:
Originally Posted by baf View Post
Yes, busybox vi is very limited. If you want I have vim built for KT. I put it on my webpage in downloads.
Thanks again. Downloaded it, put in /usr/local/bin and happy editing now
atordo is offline   Reply With Quote
Old 07-10-2012, 05:39 PM   #67
imfede
Member
imfede began at the beginning.
 
Posts: 13
Karma: 10
Join Date: May 2012
Device: kindle touch
but installing?

very very good work! i found your compiled programs (vim, elinks ...) on your website but how i put them on my kindle?

Second question: how can i write files? every time i try to create/modify files it keep saying "read-only" filesystem; how can i get rid of those message?
imfede is offline   Reply With Quote
Old 07-10-2012, 05:54 PM   #68
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,069
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by imfede View Post
very very good work! i found your compiled programs (vim, elinks ...) on your website but how i put them on my kindle?

Second question: how can i write files? every time i try to create/modify files it keep saying "read-only" filesystem; how can i get rid of those message?
You really should not write to the read-only filesystem (i.e. main root partition), unless you REALLY know what you are doing, in which case you would know that you need to do the command that the SSH login banner says is needed to write to root (mntroot rw).

You should keep all your files on /mnt/us (the USB drive partition), and only add tiny symlinks to root that point to the files on /mnt/us. Using space on the main partition can cause OTA firmware updates to fail, possibly bricking your kindle.
geekmaster is offline   Reply With Quote
Old 07-10-2012, 06:28 PM   #69
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,493
Karma: 5840130
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by atordo View Post
Thanks again. Downloaded it, put in /usr/local/bin and happy editing now
Better keep a copy, the next OTA update may empty /usr/local/*
knc1 is offline   Reply With Quote
Old 07-10-2012, 06:33 PM   #70
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,069
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Like I said, you should put your files on /mnt/us. In my case, I put "nano" and other stuff in /mnt/us/bin. Then in /bin I created symlinks to the files in /mnt/us/bin. It works well and uses almost no space on the root partition. Like knc1 said /usr/local/bin is not a safe place to store stuff (not even symlinks).
geekmaster is offline   Reply With Quote
Old 07-11-2012, 06:21 AM   #71
imfede
Member
imfede began at the beginning.
 
Posts: 13
Karma: 10
Join Date: May 2012
Device: kindle touch
thx

ok, thank you for your help, now it's all clear.

Last question: is it possible to have a compiled version of gcc?

(oh, btw, how can i change the PATH permanently so that every time i login my PATH contains also /mnt/us/bin ?)
imfede is offline   Reply With Quote
Old 07-11-2012, 07:30 AM   #72
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,493
Karma: 5840130
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by imfede View Post
ok, thank you for your help, now it's all clear.

Last question: is it possible to have a compiled version of gcc?

(oh, btw, how can i change the PATH permanently so that every time i login my PATH contains also /mnt/us/bin ?)
See the DIY-KeK thread/project - top post - KeK manual link. Appendix B for a description of what is in the resource pool.
The resource pool contains just about any (x86 or x64_86) tool chain binary you might need.
knc1 is offline   Reply With Quote
Old 07-11-2012, 08:19 AM   #73
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,069
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
Quote:
Originally Posted by imfede View Post
ok, thank you for your help, now it's all clear.

Last question: is it possible to have a compiled version of gcc?

(oh, btw, how can i change the PATH permanently so that every time i login my PATH contains also /mnt/us/bin ?)
You can build gcc from source if you want to, but it is a LOT easier to use a prebuilt toolchain, like those suggested by knc1. Also, check out the tinycc (tcc) thread in the tools index, very handy for on-kindle testing and debugging.
geekmaster is offline   Reply With Quote
Old 07-11-2012, 08:27 AM   #74
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
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
Symlinks are the way forward

Quote:
Originally Posted by geekmaster View Post
Like I said, you should put your files on /mnt/us. In my case, I put "nano" and other stuff in /mnt/us/bin. Then in /bin I created symlinks to the files in /mnt/us/bin. It works well and uses almost no space on the root partition. Like knc1 said /usr/local/bin is not a safe place to store stuff (not even symlinks).
+1 For this.

Similarly the "home" construct could be managed in this way
(although there are more issues around it so frankly I didn't bother.)


It far less painful to replace a symbolic link than lose your binaries.

: )
twobob is offline   Reply With Quote
Old 07-11-2012, 09:06 AM   #75
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,069
Karma: 6789001
Join Date: Nov 2011
Location: Щедрость не имеет пределов.
Device: *.*
"Symlinks are the way forward" for new files. But to CHANGE an existing file, it is better to temporarily bind mount to a modified copy on /mnt/us (like I did with the tccmake script to "repair" lib loader scripts not compatible with tcc).
geekmaster 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 02:31 AM.


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