NetBSD-Desktop archive

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

Re: Tasks

On Fri, Feb 13, 2009 at 11:40:03PM +0000, Andrew Doran wrote:
> On Fri, Feb 13, 2009 at 06:36:27PM -0500, Jared D. McNeill wrote:
> > On 2/13/2009 6:30 PM, 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.
> > 
> > With ksh, even on 4.0, 'set -o emacs' is pretty reasonable. Tab 
> > complete, tab-tab to show multiple choices, Ctrl+R and type to search 
> > history, etc.
> Tab-tab works out of the box? I'm used to this for pdksh:
>       set -o emacs
>       bind '^I'=complete
>       bind '^I^I'=complete-list
> My question is, do we modify the ksh source or put it in /etc/profile. If we
> put it in /etc/profile how do we test for ksh? If it is set -o emacs then
> we don't need to.

Oh, the reason this was originally proposed is that it makes it look like
bash which is everywehre. If it was xyzsh I would personally advocate making
it look like xyzsh.


Home | Main Index | Thread Index | Old Index