[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] How to enable bash history



Hi John,
Many thanks for your response, however, I've run into two issues:

1) I don't have a "useronly" option for make...that makes me wonder, do
I have an older source tar?
2) On rebuilding, the shell is getting enabled properly; however, the
default login( root/root) does not work. Root/root used to work with the
bash shell.

Thanks
Manu


-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of John
Williams
Sent: Monday, August 14, 2006 4:36 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: 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/


___________________________
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/