Richard Lowe wrote: > 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).
Mozilla shipped with SuSE Linux 10.0 and 10.1 use Emacs/Gmacs-style editor keys - and the same applies to Seamonkey 1.0 downloaded from Mozilla.org. Is it possible that you changed the setting somewhere ? [snip] > /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. General rant: Ubuntu really doesn't care about ksh93, they compiled the source and started shipping it without testing whether the bits really work (even the Debian ksh93 package is in a better shape than the Ubuntu one). Please look at other distributions which officially support ksh93 as part of their product. For example SuSE Linux ships /etc/ksh.kshrc and defaults to "gmacs" in 10.0 and "emacs" in 10.1 (in 10.1 /etc/ksh.kshrc is linked to /etc/bash.bashrc to have one central configuration for both shells). [snip] > ksh93 on MacOS X (10.4) appears to default to no line editing. Which is AFAIK the correct behaviour for POSIX unless a startup file (like /etc/profile, /etc/ksh.kshrc etc.) defines something specific. > ksh88 on IRIX 6.5 appears to default to no line editing. > > pdksh under CentOS 3.8 appears to default to no line editing. These are both ksh88 derivates or clones, playing in the same league as the old (and hated) Solaris "/usr/bin/ksh". They completely predate the concept behind /etc/ksh.kshrc and /etc/bash.bashrc BTW: The pdksh project appears to be dead since YEARS. The last changelog entry in http://www.cs.mun.ca/~michael/pdksh/ChangeLog is: -- snip -- Wed Jul 14 21:30:30 NDT 1999 Michael Rendell (michael at terra.cs.mun.ca) * var.c(setint): don't use vtemp - use local variable (at the suggestion of Gary Burchett <sasgxb at wnt.sas.com>). -- snip -- AFAIK that was the last version of "pdksh" and most distribution dropped pdksh or are going to drop it in favour of "ksh93"... ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;)