[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] How to enable bash history
Hi Manu,
Manu Rao wrote:
> Seems like a trivial question, but I'm a rookie, so I'll ask anyway:
> How does one enable the history on a bash shell? When I hit the up
> arrow, my cursor moves up!! Tab to autofill file names doesn't work
> either.
Asusming you mean history in the shell on MicroBlaze, you must do a few thinngs.
First, disable the default shell:
menuconfig / user settings -> core applications, select "other" as the shell type
Then, enable the busybox minix shell
busybox->shell->minix
and then set the options you want for command history, tab completion and so on
Save and exit menuconfig.
Delete uClinux-dist/romfs/bin/sh to strip out the old "sh" application.
Run "make useronly" twice (two goes needed to pick up changes in busybox config :(
Then "make romfs image"
Boot/download and you're done.
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/