FW: gv & resource file in ubuntu feisty fox
I've searched and have not found the answer to this issue. gv in the Ubuntu feisty fox distro does not seem to observe the resource file. In particular the auto-refresh and reverse scroll do not work. My resource file is ~/.gv and contains: GV.reverseScrolling: TRUE GV.watchFile: TRUE GV.autoResize: FALSE This did work on Red Hat FC4, but the same file does not work in Ubuntu. Am I doing something wrong or have I found a bug? TIA, Bill
On Fri, May 25, 2007 at 04:24:23PM -0400, Kristian Hermansen wrote:
From: Kristian Hermansen <kristian.hermansen@gmail.com> To: Bill Mills-Curran <bill@mills-curran.net>, Worcester Linux Users Group <wlug@wlug.org>, BLU Discussion List <discuss@blu.org> Reply-To: kristian.hermansen@gmail.com Date: Fri, 25 May 2007 16:24:23 -0400 Subject: Re: FW: gv & resource file in ubuntu feisty fox
Bill Mills-Curran wrote:
My resource file is ~/.gv and contains:
How about trying this to see if it really is a bug on failing to parse ~/.gv?
gv --ad=/home/youruser/.gv foo.ps -- Kristian Hermansen
Kristian, I tried that -- it still did not pick up the resource. Bill
Bill Mills-Curran wrote:
I tried that -- it still did not pick up the resource.
Appears there is a patch specifically for this issue. Maybe a bug crept into the later versions of the gv source, and may not be specific to Ubuntu... http://www.nabble.com/cannot-save-options-in-gv-tf3810362.html#a10786600 <snip> diff -ru gv-3.6.2/src/info.c gv-3.6.2J/src/info.c --- gv-3.6.2/src/info.c 2004-11-11 05:21:05.000000000 -0700 +++ gv-3.6.2J/src/info.c 2007-04-18 15:16:22.000000000 -0600 @@ -76,6 +76,7 @@ Widget w; XtPointer client_data, call_data; { + if(gv_gs_quiet) return; BEGINMESSAGE(cb_popupInfoPopup) if (!infoPopupCreated) { makeInfoPopup(); } if (infoPopupVisible==True) {INFMESSAGE(InfoPopup already up) ENDMESSAGE(popupInfoPopup) return; } diff -ru gv-3.6.2/src/main.c gv-3.6.2J/src/main.c --- gv-3.6.2/src/main.c 2006-09-14 12:56:08.000000000 -0600 +++ gv-3.6.2J/src/main.c 2007-04-18 15:16:03.000000000 -0600 @@ -594,7 +594,7 @@ XrmDatabase db; INFMESSAGE(getting resources) db = resource_buildDatabase(gv_display,gv_class,gv_name,&argc,argv); - XrmCombineDatabase(db,&gv_database,False); + XrmCombineDatabase(db,&gv_database,True); } /*### initializing widget set and creating application shell #########################*/ @@ -1033,8 +1033,7 @@ XtSetArg(args[n], XtNinterpreter,gv_gs_interpreter); n++; b = gv_gs_safer ? True : False; XtSetArg(args[n], XtNsafer,b); n++; - b = gv_gs_quiet ? True : False; - XtSetArg(args[n], XtNquiet,b); n++; + XtSetArg(args[n], XtNquiet,True); n++; b = app_res.use_bpixmap ? True : False; XtSetArg(args[n], XtNuseBackingPixmap,b); n++; XtSetArg(args[n], XtNarguments,gv_gs_arguments); n++; </snip> -- Kristian Hermansen
Bill Mills-Curran wrote:
I've searched and have not found the answer to this issue.
gv in the Ubuntu feisty fox distro does not seem to observe the resource file. In particular the auto-refresh and reverse scroll do not work.
Have you tried the Feisty Fawn distro? :) -- Rich
participants (3)
-
Bill Mills-Curran
-
Kristian Hermansen
-
Richard Klein