>Date: Wed, 18 Oct 2006 18:37:28 +0100 >From: Rhodri Davies - Sun UK <Rhodri.Davies at Sun.COM> > >This morning, Dan Price wrote: >> We should offer customers both *choice* and *wonderful defaults*. >> Choosing "none" has no impact on the former and fails the latter. > >I seem to have lost that choice ;-) - well at least in the ksh93 >tarball I've got installed...
This case changes the way ksh93 behaves from what you have in the tarball you have installed. > > $ env -i /usr/bin/ksh93 -o vi > $ set -o > Current option settings > . > gmacs on > vi off > >Are we saying that the above is now expected behaviour? Should this >be documented? No. As it currently stands, this case says gmacs will be set as the default editing mode IF AND ONLY IF ANOTHER EDITING MODE HAS NOT BEEN SET when /etc/ksh.kshrc is run. Assuming that you don't reset the editing mode by setting VISUAL or by using set -o gmacs in one of the other configuration files ksh93 uses, after the changes for this case are integrated gmacs mode would be off and vi mode would be on for the case you listed above. - Don ... ... ...