Subject: Default 'set -o emacs' (Was: CVS commit: basesrc/bin/ksh)
To: David Brownlee <abs@netbsd.org>
From: Matthias Buelow <mkb@informatik.uni-wuerzburg.de>
List: tech-userlevel
Date: 10/03/2002 22:41:17
David Brownlee writes:
> So... should we default to 'set -o emacs' in the default .profile
> files for sh/ksh. This would be an obvious convenience win for
> single user mode.
the only advantage with keeping the shell's default at "no editing" is
that the terminal stays line-buffered, which could be of advantage
over really slow lines when you use something like telnet (editing
with the terminal discipline editing characters then might happen on
the local terminal). This doesn't work with ssh anyways, since (at
least openssh) seems to be broken in that regard. I think the
advantages for newbies ("can't edit my command line in NetBSD like on
Linux!") outweighs any special case benefits easily.
--
Matthias Buelow, mkb(at)informatik.uni-wuerzburg.de