NetBSD-Desktop archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Tasks

On Fri, 13 Feb 2009, Andrew Doran wrote:
> - Need to look into enabling line editing and tab completion by
>   default in sh/ksh. If someone can figure it out a good way to do
>   this by default, I will be happy to absorb any flamage and commit
>   the changes.

The default /root/.profile sets ENV=/root/.shrc, and the default
/etc/skel/.profile sets ENV=$HOME/.shrc.  Then both /root/.shrc and
/etc/skel/.shrc turn on emacs line editing and tab completion.  This
should be all we need, in terms of configuration, for sh and ksh to
behave "like bash" on a fresh installation.

There is one thing missing in sh's implementation of tab
completion: when you want to complete a command name, it instead
attempts to complete a file name.  If that were fixed, and if it grew a
"set -o braceexpand" option, then I would personally have no need for
bash.  (At least, I am not aware of any other bash features that I rely
on and that are missing in /bin/sh.)

--apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index