On 02/17/2012 11:53 AM, Aurélien Aptel wrote:
> On Fri, Feb 17, 2012 at 11:31 AM, Martin Kopta<martin_AT_kopta.eu> wrote:
>> st.info' into /usr. It is a CentOS 5.7. I have no problem with that on
>> CentOS 6.2, Ubuntu 11.10 and Archlinux. I guess it is because of ancient
>> Vim.
>
> Maybe this version of vim doesn't support terminfo? This is very
> unlikely but who knows...
> Can you show the output of ":version"? It's supposed [1] to confim this.
>
> 1: http://vimdoc.sourceforge.net/htmldoc/term.html#startup-terminal
>
I can't really use ':version' since vim output is horribly broken. Have
this output instead.
# vi --version | grep -E terminfo\|termcap
-tag_binary -tag_old_static -tag_any_white -tcl +terminfo -termresponse
Linking: gcc -L/usr/local/lib -o vim -lselinux -ltermcap -lacl
Oh! I just found something. When I run 'vim', everything is allright,
while 'vi' breaks.
* CentOS 6.2, Ubuntu 11.10, Ubuntu 10.04 + fake vi = ok (TERM=st-256color)
* CentOS 6.2, Ubuntu 11.10, Ubuntu 10.04 + tmux + fake vi = ok (TERM=screen)
* CentOS 5.7 + fake vi = fail (TERM=st-256color)
* CentOS 5.7 + vim = ok (TERM=st-256color)
* CentOS 5.7 + tmux + fake vi = ok (TERM=screen)
* Archlinux + original vi = ok (TERM=st-256color)
* Archlinux + tmux + original vi = ok (TERM=screen)
All tested with st-0.2.1
On that CentOS 5.7:
# rpm -qf $(which vim)
vim-enhanced-7.0.109-7.el5
# rpm -qf $(which vi)
vim-minimal-7.0.109-7.el5
I guess I just cant type 'vi' in CentOS 5.7 with st.
Received on Fri Feb 17 2012 - 12:34:53 CET