bsh problem

When I use bsh, and run "set -o vi" show the following error message:

[$PWD]$set -o vi
-o: 0402-003 A specified flag is not valid for this command.

is my bsh problem or bsh use different command to do "set -o vi"?

Hi.

I'm not familiar with bsh. Is that bash?

You could try the other alternative

export EDITOR=vi

If it's the "bean shell" Java thing, then please disregard!

No, "bsh" is not the bash, it is the original thing - the Bourne shell. I don't think the Bourne shell has a vi-mode at all.

Why don't you use the Korn shell, which is standard in AIX?

I hope this helps.

bakunin