Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-07-2004, 12:10 PM   #1
LQ Newbie
Registered: Sep 2004
Posts: 8

Rep: Reputation: 0
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
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
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?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Menus to the Main Menu? dreelin Red Hat 2 02-28-2005 01:24 AM
menus/newly installed apps/menu creation moridon77 Linux - Newbie 4 05-18-2004 08:47 PM
Adding shortcut to the menu & pop up menus hiteshmaisheri Linux - Software 3 11-11-2003 11:40 AM
How to change GVIM Menu font?? isarathkumar Linux - Software 0 07-11-2003 06:02 AM
Problem in GVIM menu Font isarathkumar Linux - Software 0 07-11-2003 01:03 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration