Closed gotbletu closed 3 years ago
These variables are not inherited by the shell run within kterm.
You could try kterm -E
option which sets environmental variable.
tried these does not seem to work
./kterm -E
./kterm -E ./kterm.sh
./kterm.sh
./kterm ./kterm.sh
# does not update $PATH
echo $PATH
Another question: how did you cross compile those ARM packages (tmux, elinks..etc for kindle)? was it using a VM or can i just use my x64 linux system. Thanks
You should specify the variable as an argument to -E
option.
Something like this:
kterm -E PATH="/mnt/us/extensions/kterm/bin:$PATH"
I was cross compiling. You will need proper toolchain built for Kindle environment. I set up my system long time ago using tools that are no longer maintained. But there are many modern ways to go. You can get help at Kindle Developer's Corner.
kterm -E PATH="/mnt/us/extensions/kterm/bin:$PATH"
ok that works
Thanks again for all the info
downloaded elinks, wget, tmux, vim ...etc from http://www.fabiszewski.net/kindle-terminal/
i put them in
Kindle:/extensions/kterm/bin/
how you make it load up all those programs to the $PATH?
i tryed
but doesnt work
i have to manually execute commands locally or give path to binary to use it, kind of annoying