NetBSD-Desktop archive

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

Re: Tasks




To: Andrew Doran <ad%netbsd.org@localhost>

Subject: Re: Tasks

From: Aleksey Cheusov <cheusov%tut.by@localhost>

Date: Sun, 15 Feb 2009 13:18:39 +0200


> 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.

I personally use the following (for ksh) in order to emulate bash as
much as possible.

case $- in
    *i*)
        set -o vi-tabcomplete
        set -o emacs
        set -o ignoreeof
        set -o braceexpand

        bind '^I=complete-list'

        bind '^XH'=beginning-of-line
        bind '^XF'=end-of-line

#       bind '^[OH'=beginning-of-line
#       bind '^[OF'=end-of-line

        bind '^[[1'=beginning-of-line
        bind '^[[4'=end-of-line

        bind '^[[7~'=beginning-of-line
        bind '^[[8~'=end-of-line

        bind '^[[3'=prefix-2
        if bind -l | grep delete-char-forward > /dev/null; then
                bind '^[[3~'=delete-char-forward
        elif bind -l | grep delete-wchar_t-forward > /dev/null; then
                bind '^[[3~'=delete-wchar_t-forward
        fi
        ;;
esac

-- 
Best regards, Aleksey Cheusov.


References:

Tasks
From: Andrew Doran

Re: Tasks
From: Jared D. McNeill

Re: Tasks
From: Andrew Doran

Re: Tasks
From: Andrew Doran




Prev by Date: Re: Framebuffer console support for i386 and amd64

Next by Date: Re: Tasks

Previous by Thread: Re: Tasks

Next by Thread: Re: Tasks

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index