Hello community, here is the log from the commit of package vim for openSUSE:Factory checked in at Tue Apr 27 15:02:39 CEST 2010. -------- --- vim/vim.changes 2010-03-27 11:46:37.000000000 +0100 +++ vim/vim.changes 2010-04-27 12:09:30.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Apr 27 12:06:07 CEST 2010 - werner@suse.de + +- Add screen control sequences to inputrc (bnc#598903) + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vim.spec ++++++ --- /var/tmp/diff_new_pack.65UYeY/_old 2010-04-27 14:58:54.000000000 +0200 +++ /var/tmp/diff_new_pack.65UYeY/_new 2010-04-27 14:58:54.000000000 +0200 @@ -20,9 +20,9 @@ Name: vim Version: 7.2 -Release: 18 +Release: 19 # -License: Other uncritical OpenSource License ; http://vimdoc.sourceforge.net/htmldoc/uganda.html#license +License: Other uncritical OpenSource License ; Charityware. http://vimdoc.sourceforge.net/htmldoc/uganda.html#license Group: Productivity/Editors/Vi # BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ suse.vimrc ++++++ --- /var/tmp/diff_new_pack.65UYeY/_old 2010-04-27 14:58:54.000000000 +0200 +++ /var/tmp/diff_new_pack.65UYeY/_new 2010-04-27 14:58:54.000000000 +0200 @@ -44,10 +44,13 @@ " Try to get the correct main terminal type if &term =~ "xterm" let myterm = "xterm" +elseif &term =~ "screen" + let myterm = "screen" else let myterm = &term endif let myterm = substitute(myterm, "cons[0-9][0-9].*$", "linux", "") +let myterm = substitute(myterm, "cons[0-9][0-9].*$", "linux", "") let myterm = substitute(myterm, "vt1[0-9][0-9].*$", "vt100", "") let myterm = substitute(myterm, "vt2[0-9][0-9].*$", "vt220", "") let myterm = substitute(myterm, "\\([^-]*\\)[_-].*$", "\\1", "") @@ -191,6 +194,39 @@ map <ESC>[G i endif +if myterm == "screen" + map! <ESC>[1;2D <S-Left> + map! <ESC>[1;2C <S-Right> + map! <ESC>[1;2A <S-Up> + map! <ESC>[1;2B <S-Down> + map! <ESC>[1;2H <Home> + map! <ESC>[1;2F <End> + map! <ESC>[2;2~ <Insert> + map! <ESC>[3;2~ <Delete> + map! <ESC>[5;2~ <PageUp> + map! <ESC>[6;2~ <PageDown> + map! <ESC>[1;5D <C-Left> + map! <ESC>[1;5C <C-Right> + map! <ESC>[1;5A <C-Up> + map! <ESC>[1;5B <C-Down> + map! <ESC>[1;5H <Home> + map! <ESC>[1;5F <End> + map! <ESC>[2;5~ <Insert> + map! <ESC>[3;5~ <Delete> + map! <ESC>[5;5~ <PageUp> + map! <ESC>[6;5~ <PageDown> + map! <ESC>[1;3D <A-Left> + map! <ESC>[1;3C <A-Right> + map! <ESC>[1;3A <A-Up> + map! <ESC>[1;3B <A-Down> + map! <ESC>[1;3H <Home> + map! <ESC>[1;3F <End> + map! <ESC>[2;3~ <Insert> + map! <ESC>[3;3~ <Delete> + map! <ESC>[5;3~ <PageUp> + map! <ESC>[6;3~ <PageDown> +endif + " This escape sequence is the well known ANSI sequence for " Remove Character Under The Cursor (RCUTC[tm]) map! <Esc>[3~ <Delete> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org