lijianying10 / conque

Automatically exported from code.google.com/p/conque
0 stars 0 forks source link

Error mapping message when pausing terminal with F8 #101

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open vim with "vim testfile"
2. Open conque with bash in vim with ":ConqueTermSplit bash"
3. Press esc to enter normal mode
3. Press F8 to pause conque window
4. Get errors:
"Terminal is paused
Error detected while processing function conque_term#set_mappings:
line  157:
E31: No such mapping
Press ENTER or type command to continue"

The terminal is effectively paused F8 again resumes it without errors

What is the expected output? 
A message that says "Terminal is paused"

What do you see instead?
"Terminal is paused
Error detected while processing function conque_term#set_mappings:
line  157:
E31: No such mapping
Press ENTER or type command to continue"

What version of the product are you using? On what operating system?
I'm using:
Ubuntu 12.04.3 in terminal mode

VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May  4 2012 04:25:35)
Included patches: 1-429
Modified by pkg-vim-maintainers@lists.alioth.debian.org
Compiled by buildd@
Huge version without GUI.  Features included (+) or not (-):
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs
-dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path
+find_in_path +float +folding -footer +fork() +gettext -hangul_input +iconv
+insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent
+listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape
+mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse
+mouse_xterm +mouse_urxvt +multi_byte +multi_lang -mzscheme +netbeans_intg
+path_extra -perl +persistent_undo +postscript +printer +profile +python
-python3 +quickfix +reltime +rightleft -ruby +scrollbind +signs +smartindent
-sniff +startuptime +statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title
 -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim -xsmp
 -xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -o vim     
  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl     
-L/usr/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker 
-export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions

Python 2.7.3

Please provide any additional information below.
Besides the mapping error messages is works fine

Original issue reported on code.google.com by per...@gmail.com on 23 Oct 2013 at 9:38

GoogleCodeExporter commented 8 years ago
If you map the togglekey to another key like F4 with 

let g:ConqueTerm_ToggleKey = '<F4>'

You still get the error messages.
But I've also tried it in gvim and in this case I don't get the error messages

Original comment by per...@gmail.com on 23 Oct 2013 at 9:55