![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 55702
Join Date: Sep 2012
Device: Kindle Touch
|
An available bash 4.2 for KT
The default bash on KT is a symbolic link to bushbox, and it's not very comfortable to use, such as no readline, no reverse-search, etc.
So I've compiled one for KT and it works well. If you are interested, maybe you can have a try. --EDIT-- Here is the source: http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz and you may need the patch from here. Patch: Spoiler:
I compiled it with: Code:
$ patch < m.patch $ CC=arm-unknown-linux-gnueabi-gcc ./configure --host=arm-linux --target=arm-linux --enable-history --enable-readline --without-bash-malloc Last edited by silverzhao; 12-17-2012 at 12:30 PM. |
![]() |
![]() |
![]() |
#2 |
( ͡° ͜ʖ ͡°){ʇ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
|
And one for the Kindle 3
Thanks. can you provide a link back to the original source as well please for those of us who like to tinker
![]() EDIT: Thanks ![]() Okay I attached one that should work fine on the 3's also. HTH. $ ./configure --host=i686-pc-linux --build=arm-none-linux-gnueabi --enable-history --enable-readline --without-bash-malloc using arm-none-linux-gnueabi-gcc -c -O2 -ffast-math -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -pipe -fomit-frame-pointer -fno-stack-protector -U_FORTIFY_SOURCE : ) Last edited by twobob; 12-17-2012 at 01:32 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
( ͡° ͜ʖ ͡°){ʇ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
|
http://bit.ly/kBash. it's a bit flaky and needs base64 support to do the splash screen.
playing with it though. reset issues ATM so not ready for end users. |
![]() |
![]() |
![]() |
Tags |
k5 tools |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bash-Skript für Pocketbook Reader schreiben | Hildegunst | PocketBook | 19 | 09-02-2024 05:07 PM |
bash for kindle | fbdev | Kindle Developer's Corner | 18 | 04-24-2012 04:26 PM |
Bash Script/SQL Query for ISBN in filename? | zenrhino | Calibre | 1 | 09-26-2010 08:55 AM |
Is it possible to execute a bash script from the SD card? | godel10 | iRex | 25 | 06-25-2009 03:55 PM |
BASH script for *2lrf utilities (thanks Kovid!)... | KaiGoth | Sony Reader | 0 | 08-05-2007 01:30 AM |