when trying to preview man pages created (or opened) with gmanedit, preview does not work. An xterm window opens, then instantaneously closes again. It has to do with an unlink problem. Patch is included to pause for 1 second, while xterm fires up, to allow the man page to be read before it unlinks it. Reproducible: Always Steps to Reproduce: 1. open a man page 2. click preview 3. notice the xterm opens, then closes Actual Results: xterm preview windows opens, then closes. Expected Results: Software should have opened a preview window so user can view the generated man page. The following settings will be used for the ebuild process: package : gmanedit-0.3.3-r2 slot : 0 category : app-text description : Gnome based manpage editor system : i686-pc-linux-gnu c flags : -march=pentium3 -O3 -pipe c++ flags : -march=pentium3 -O3 -pipe make flags : -j2 build mode : production (stripped) merge to : / Additionally, support for the following optional features will be enabled: 3dnow arts libg++ mikmod mmx gtkhtml slang guile sdl esd motif aalib acpi alsa apm avi berkdb bonobo cdr crypt cups dga directfb dvd encode ethereal fbcon flash gb gdbm gif gnome gpm gtk gtk2 imlib ipv6 java jikes jpeg leim libwww mbox mozilla mpeg ncurses nls oggvorbis opengl oss pam -pda pdflib perl pic png pnp python quicktime readline samba spell sse ssl svga tcltk tcpd tetex tiff truetype usb wmf X xml xml2 xmms xv zlib x86 -kde -qt
Created attachment 10775 [details, diff] Proposed patch to fix the problem. Patches some junk in src/callbacks.c, changing the default from running 'man -l' (which doesn't work) to running just plain 'man', as well as adding a two second delay (relatively conservative) for the xterm window to open before temporary manpage is unlink()'ed.
Created attachment 10776 [details, diff] Proposed patch to fix the errors. Patches some junk in src/callbacks.c, changing the default from running 'man -l' (which doesn't work) to running just plain 'man', as well as adding a two second delay (relatively conservative) for the xterm window to open before temporary manpage is unlink()'ed.
both patches are the same, sorry. thought there was an erro when uploading.
thanks. i've applied the patch to -r3. gmanedit doesn't seem to have much activity.