Joseph Kowalski wrote: >> gmacs is considered an intuitive beginner's editing mode. It is the >> default editing mode in bash and more or less matches the common input >> mode of various GUI toolkits and desktops, including Gnome/GTK+, >> KDE/Qt, CDE/Motif, Mozilla/XULRunner/Gecko, JAVA, and Xaw/Xaw3D.
Gnome/GTK default to win32-style C-v, C-x, C-c these days, where C-a is "select all", not the almost-emacs readline-like editing keys. Mozilla and friends, as far as I know use whatever the toolkit they are making use of use (under Solaris, at least, they follow the GNOME/GTK setting). > None the less, this seems like a strange choice for Solaris as there isn't > anything called "gmacs" on the system. > > Uh, what "default editing mode" are you sighting for JAVA? I think this entire list references the editing keys used in text-input widgets. > I think I would be more inclinded to be accepting of gmacs if it was the > common default mode for ksh on other systems. Is it? > /usr/bin/ksh on Solaris defaults to vi editing, as do the ksh-based standards shells. ksh93 on Linux (ubuntu, in this case) defaults to vi-like editing. pdksh (a free ksh88 clone) on Linux (again, ubuntu) defaults to vi-like editing. ksh93 on MacOS X (10.4) appears to default to no line editing. ksh88 on IRIX 6.5 appears to default to no line editing. pdksh under CentOS 3.8 appears to default to no line editing. The last three there are somewhat surprising to me, however, so may have more to do with the specific systems I was able to try this on. -- Rich