> On Thu, 7 Jul 2005, Gerhard S. wrote: > > > if I change the root default shell to bash. So now > I end up > > typing bash or ksh set -o emacs after every su. Not > very friendly. > So put it into root's .profile. Not exactly hard > work.
But shouldn't be needed. In Linux it works all out of the box without adding magic commands. > > Why do this not work out of the box? Now it has all > this eye candy > > Backwards compatibility. In Solairs land, it is not > acceptable > to break backwards copmpatibility "just because". In what way is making broken cursor keys work not backward compatible? Do you expect that some old time user will get a hearth attack when her cursor keys suddenly start to work? I cannot really think of any reason how changing this would not be backward compatible. Switching to a new shell might, but adding command line editing to /bin/sh not. Same with making them work by default in ksh. > > > like that. Every user has the right for working > cursor keys. > > So says you. Personally, I prefer to use the vi > editing keys. They still work. As long as you don't touch the cursor keys nothing happens. > But Solaris gives us a choice, so why complain? If > you want > bash, use bash! Meanwhile, I'll carry on using ksh, > and we'll > both be happy. Choice is good. ksh is fine, if it was more user friendly out of the box. This means working command line editing without configuration. I was proposing two things: - Change /bin/sh to use the Solaris command line editing library - Make set -o emacs (or a subset of it that only enables the cursor keys and command completion if the "e" word offends somebody) default in ksh > > How about linking the command editing library > > that is used in zoneadm and other tools into > /bin/sh ? > > Because then it would no longer the Bourne Shell. The Bourne shell is defined by not having command line editing? Or cursor keys are against the true Solaris spirit? Real administrators do never typo and when they do they should be punished by typing the full line again? Or what are you advocating here? ~G. This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org