Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19465 - gmanedit doesn't correctly preview man pages, patch included.
Summary: gmanedit doesn't correctly preview man pages, patch included.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-17 03:34 UTC by red0x
Modified: 2003-04-21 14:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch to fix the problem. (preview.diff,646 bytes, patch)
2003-04-17 03:37 UTC, red0x
Details | Diff
Proposed patch to fix the errors. (preview.diff,646 bytes, patch)
2003-04-17 03:38 UTC, red0x
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description red0x 2003-04-17 03:34:42 UTC
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
Comment 1 red0x 2003-04-17 03:37:52 UTC
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.
Comment 2 red0x 2003-04-17 03:38:13 UTC
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.
Comment 3 red0x 2003-04-17 03:39:29 UTC
both patches are the same, sorry.   thought there was an erro when uploading.
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-04-21 14:51:03 UTC
thanks. i've applied the patch to -r3. gmanedit doesn't seem to have much activity.