|
2009-04-24
, 17:10
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#2
|
|
2009-04-24
, 17:48
|
Posts: 146 |
Thanked: 15 times |
Joined on Oct 2008
|
#3
|
Maemo uses Busybox for many of the shell commands. That's why there are missing features compared to the full GNU tools. It is to save space (a lot of it, actually) just as you thought. You can view documentation about Busybox commands on its website, but bear in mind that Maemo Diablo uses Busybox v1.6.1 (released May 2008).
|
2009-04-24
, 18:22
|
|
Posts: 739 |
Thanked: 159 times |
Joined on Sep 2007
@ Germany - Munich
|
#4
|
Hi,
2) I installed bash 3.2 from extras, and I use history expansion a lot. I am used to expand using some leters of the command name, like: 'mo<UP>' to show previous commands that begin with 'mo'. But maemo bash ignores the 'mo', and shows the very last command. What I am missing?
# search in the history (up & down)
"\e[A": history-search-backward
"\e[B": history-search-forward
|
2009-04-24
, 21:43
|
Posts: 146 |
Thanked: 15 times |
Joined on Oct 2008
|
#5
|
But when you have played some time with ctrl-r, you'll never need this anymore.
PHP Code:
# search in the history (up & down)
"\e[A": history-search-backward
"\e[B": history-search-forward
|
2009-04-24
, 22:46
|
|
Posts: 5,478 |
Thanked: 5,222 times |
Joined on Jan 2006
@ St. Petersburg, FL
|
#6
|
Maemo uses Busybox for many of the shell commands. That's why there are missing features compared to the full GNU tools. It is to save space (a lot of it, actually) just as you thought. You can view documentation about Busybox commands on its website, but bear in mind that Maemo Diablo uses Busybox v1.6.1 (released May 2008).
|
2009-04-27
, 10:28
|
|
Posts: 1,665 |
Thanked: 1,649 times |
Joined on Jun 2008
@ Praha, Czech Republic
|
#7
|
|
2009-04-27
, 15:21
|
Posts: 146 |
Thanked: 15 times |
Joined on Oct 2008
|
#8
|
Not only is it a space issue (storage and RAM), it's a performance issue. Substituting bash/GNUtils for BusyBox will more than double the boot time.
Man pages are on the website.
|
2009-04-28
, 17:26
|
|
Posts: 739 |
Thanked: 159 times |
Joined on Sep 2007
@ Germany - Munich
|
#9
|
-v, --show-nonprinting
use ^ and M- notation, except for LFD and TAB
|
2009-04-28
, 17:32
|
|
Posts: 739 |
Thanked: 159 times |
Joined on Sep 2007
@ Germany - Munich
|
#10
|
I am having many problems with compatibility among maemo shell commands and modern GNU commands. Any help will be appreciated:
1) As an example, xargs does not accept the option -0 (the only reason why I use xargs), or egrep does not accept the option -U. I suppose that this is to make the programs smaller/lighter, but it makes bash scripts hard to port. How do you solve this?
2) I installed bash 3.2 from extras, and I use history expansion a lot. I am used to expand using some leters of the command name, like: 'mo<UP>' to show previous commands that begin with 'mo'. But maemo bash ignores the 'mo', and shows the very last command. What I am missing?
3) When using history expansion with the <UP> arrow, sometimes there are some 'trash' of previous commands that makes hard to edit them. Like:
Nokia:~> firefox httmediaplayer-ui
instead of
Nokia:~> mediaplayer-ui
Maybe this has to do with the PS1 variable I use? Or terminfo?
4) I installed mc, but it shows lots of trash in my xterm. Perhaps the TERM=xterm variable is incorrect?
And, BTW, where can I find maemo xargs man page?
Thanks,
L.