On 14/04/11 15:53, wxuyec wrote:
when I run
echo -e '\033[?1h\033=' ; cat ; echo -e '\033[?1l\033>'
I really got ^[OA^[OB.

and then I tried
set t_ku=^[OA
as you said(I hit the<ctrl-v><esc>  to input the ^[).

Maybe you could try (at the command-line)

        :set <Up>=

followed (with no space on either sign on the = sign) by hitting Ctrl-V followed by the Up key. (<Up> left of the = is less-than, big-U, small-p, greater-than.)

If it works, try the same (using again Ctrl-V followed by Up in the right-hand side) in your vimrc, as follows:

        if !has('gui_running') && &term == 'xterm'
                set <Up>=<whatever>
        endif


but unfortunately it doesn't work. I still got the same
problem.


Best regards,
Tony.
--
Computer programmers do it byte by byte

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to