FreeBSD Bugzilla – Attachment 46552 Details for
Bug 71438
Update ports: misc/gman add dependency & fix netbrowse option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-gman.c
patch-gman.c (text/plain), 1.53 KB, created by
Serge Gagnon
on 2004-09-07 01:39:51 UTC
(
hide
)
Description:
patch-gman.c
Filename:
MIME Type:
Creator:
Serge Gagnon
Created:
2004-09-07 01:39:51 UTC
Size:
1.53 KB
patch
obsolete
>--- gman.c.orig Mon Sep 6 20:13:04 2004 >+++ gman.c Mon Sep 6 20:13:04 2004 >@@ -62,6 +62,8 @@ > > //gtk_main(); > >+ >+ > while(1){ > pthread_mutex_lock(>k_lock); > while(gtk_events_pending()) { >@@ -77,6 +79,14 @@ > /******************* init_context() *****************/ > void init_context() > { >+ static char *browser; >+ if ((browser = getenv("BROWSER")) == NULL) >+ { >+ fprintf(stderr,"A BROWSER variable that contains the name of your\n >+favorite browser's executable file must be created\n >+in order to use gman with localbrowse/netbrowse.\n"); >+ exit(1); >+ } > FILE * fd; > char buffer[256]; > context = new AppContext(); >@@ -89,9 +99,9 @@ > context->set_default_value("show_status_bar","int",(void*)0); > context->set_default_value("show_warning","int",(void*)0); > context->set_default_value("show_mode","int",(void*)0); // 0 = xterm, 1 = ghostview >- context->set_default_value("xterm_command","char*",(void*)"x-terminal-emulator"); >- context->set_default_value("gv_command","char*",(void*)"gv"); >- context->set_default_value("browser_command","char*",(void*)"mozilla"); // kfm also works >+ context->set_default_value("xterm_command","char*",(void*)"xterm"); >+ context->set_default_value("gv_command","char*",(void*)"ghostview"); >+ context->set_default_value("browser_command","char*",(void*)browser); // kfm also works > context->set_default_value("cgi_host","char*",(void*)"localhost"); > context->set_default_value("cgi_location","char*",(void*)"/cgi-bin/gman.pl"); > context->set_default_value("print_command","char*",(void*)"lpr"); // not in use
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 71438
:
46547
|
46548
|
46549
|
46550
|
46551
| 46552 |
46553
|
46554
|
46555