Joseph Kowalski wrote: > > > From: Roland Mainz <roland.mainz at nrubsig.org> > ... > > Umpf... because the ksh93 "default" is that no editor mode is enabled, > > leaving beginners completely puzzled how to proceed. > > So, insted we send these beginners off believing that gmacs is the way > it is. I don't think this is better. > > > The whole addition of /etc/ksh.kshrc is about improving _USUABILITY_. > > And, for me, usability is "vi" mode.
If you want to make this the default for Solaris then I suggest to teach our students how to use "vi". First batch Tuesday 9.30am-11:30am, second batch 13:30h-15:30h (1st semester) ... I think these four hours should be enougth to convince anyone that using "vi" as default won't make many users happy. ... there is a reason why "bash" defaults to "emacs" - it is MUCH easier for beginners. > I thought from the proposal, this was all about "ease of administation". > > Upon re-reading it, I see it does talk about ease of use, but frankly, > I don't buy it. You offend those who don't want "gmacs" mode by making > a stylistic choice. Erm, I do not want to offend them. The new code (see http://bugs.grommit.com/show_bug.cgi?id=28) in /etc/ksh.kshrc explicitly checks whether any input mode was set yet and only uses "gmacs" if nothing else ("vi", "emacs" etc.) was enabled yet. And you can always override this setting in the per-user ~/.kshrc file. This is modelled after "bash"'s behaviour on Linux which is more or less the de-facto standard there. > > Please ask yourself: Why prefer people "bash" ? The answer is: Because > > it is a shell which is very easy to use. It has "working cursor keys" > > and is quite intuitive to use. I really like to do the same for ksh93 to > > improve the usuability of Solaris - the old Solaris ksh is really hated > > by both admins and users for not having "working cursor keys"&&history. > > We can't use "bash"'s solution of doing this via a builtin setting > > because this would violate the POSIX standard (which requires that all > > "set -o flags" are off by default (excluding any settings made after the > > shell started and reads it's startup files (like /etc/profile, > > /etc/ksh.kshrc, ~/.kshrc etc.))) - instead we use the file which was > > originally invented to handle this kind of settings: /etc/ksh.kshrc > > I don't buy your assertions. I don't prefer bash. ok... but I you don't fall into the category "beginner" or "student", right ? :-) [snip] > Look, I'm not going to lie down on the tracks over this. Do any other > PSARC members feel uncomfortable over shipping a stylistic choice? If > not, I'll just go away and sulk. 8^) ;-/ ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;)