LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   GVim, menus, refresh menu and SEGV (https://www.linuxquestions.org/questions/linux-software-2/gvim-menus-refresh-menu-and-segv-252070/)

Weirdofreak 11-07-2004 11:10 AM

GVim, menus, refresh menu and SEGV
 
When I start GVim, the menus are tiny - only the first two items are visible in each. If I refresh the buffers menu (refresh menu and delete both do this) I get access to its full contents. 'Syntax.Show filetypes in menu' does the same for the syntax menu, and re-calling the menu file from /usr/share/vim/menu.vim will help with the edit menu (/usr/share/vim/runtime/menu.vim doesn't work, although diff says they're the same), but none of the others work with any sort of consistency - I did get them all once, but I can't remember what I did any more, and when I tried that again it didn't work.

In addition, sometimes calling Refresh menu crashes Gvim. It seems to happen randomly, and gives the error message,
Vim: Caught deadly signal SEGV
Vim: Finished.

Any thoughts? Version info:
$ gvim --version
VIM - Vi IMproved 6.3 (2004 June 7, compiled Nov 6 2004 22:05:56)
Compiled by root@phil.en.oaci.org
Normal version with X11-Athena GUI. Features included (+) or not (-):
-arabic +autocmd +balloon_eval +browse +builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+cryptv -cscope +dialog_con_gui +diff +digraphs -dnd -ebcdic -emacs_tags +eval
+ex_extra +extra_search -farsi +file_in_path +find_in_path +folding -footer
+fork() -gettext -hangul_input -iconv +insert_expand +jumplist -keymap -langmap
+libcall +linebreak +lispindent +listcmds +localmap +menu +mksession
+modify_fname +mouse +mouseshape -mouse_dec +mouse_gpm -mouse_jsbterm
-mouse_netterm +mouse_xterm -multi_byte +multi_lang -netbeans_intg -osfiletype
+path_extra -perl +postscript +printer -python +quickfix -rightleft -ruby
+scrollbind -signs +smartindent -sniff +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_interact +xterm_clipboard -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15 -DNARROWPROTO -g -O2 -I/usr/X11R6/include
Linking:
gcc -L/usr/X11R6/lib -L/usr/local/lib -o vim -lXaw -lXext -lncurses -lgpm

$VIMRUNTIME is /usr/share/vim/runtime, and /runtime/menu.vim is definitely there and setting more than two items per menu.

Also, some unimportant issues which are probably because of Athena, but just to check:
1. The right-aligned parts of the menus don't show up. I expect that they're just too far to the right - it only shows 'Show filetyp' for the entry 'Show filetypes in menu'. Is there a way to change the width?
2. It there a way to make it so that a single click expands the menus and I then click on the item to activate, rather than having to hold the button down and release on an item?


All times are GMT -5. The time now is 03:29 PM.