Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <03F4742D8225D21191EF00805FE62B9904B3F025@aa-msg-01.medstat.com> From: John Wiersba To: "'cygwin AT sourceware DOT cygnus DOT com'" Subject: Function keys fail sporatically in VIM Date: Tue, 22 Feb 2000 08:40:50 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" I've been having function key problems with vim 5.5 (also 5.3) on cygwin. I have F2 mapped to :w for insert mode: :map! ... ! :w ! ! ... Frequently, when I press F2 in insert mode, I get the 4-character string "" (without the quotes) inserted into my text. If I hold down F2, then I get several copies inserted in my text, but eventually, something kicks in and F2 starts saving my file as expected, instead of inserting text. At other times, I don't get this problem at all and F2 just saves my file. I'm using TERM=linux. I've tried all sorts of combinations of timeout/ttimeout/timeoutlen/ttimeoutlen, but nothing seems to help. Currently I have: timeout timeoutlen=300 ttimeout ttimeoutlen=3000 Can anybody help me fix this? I also sent this to the VIM mailing list yesterday, but haven't gotten any help yet -- I think this is must be directly related to cygwin somehow. I'm using Michael Hirmke's vim port from the franken archives. Thanks, John Wiersba :version VIM - Vi IMproved 5.5 (1999 Sep 19, compiled Nov 18 1999 00:18:55) Compiled by mh AT MIKE, with (+) or without (-): +autocmd -browse +builtin_terms +byte_offset +cindent +cmdline_compl +cmdline_info +comments +cryptv -cscope +dialog_con +digraphs -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path -osfiletype +find_in_path +fork() -GUI -hangul_input +insert_expand -langmap +linebreak +lispindent +menu +mksession +modify_fname +mouse -mouse_dec -mouse_gpm -mouse_netterm +mouse_xterm -multi_byte -perl +quickfix -python -rightleft +scrollbind +smartindent -sniff +statusline +syntax +tag_binary +tag_old_static -tag_any_white -tcl -terminfo +textobjects +title +user_commands +visualextra +viminfo +wildignore +wildmenu +writebackup -X11 -xfontset -xim -xterm_clipboard -xterm_save system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" user exrc file: "$HOME/.exrc" fall-back for $VIM: "/usr/local/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -Wall Linking: gcc -o vim -ltermcap -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com