user interface gv vs xpdf

View: New views
4 Messages — Rating Filter:   Alert me  

user interface gv vs xpdf

by Andries E. Brouwer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I dislike using gv because it is slow and irritating.
The reason that is so, is because I use xpdf far more often
than gv - one encounters more pdf files than ps files -
and the xpdf key bindings for navigation have become
automatisms: 'n' for next page, 'p' for previous page.
Unfortunately, with gv 'p' brings up a printing dialog.
One curses the gv authors, clicks cancel, types 'b' instead.

It would be perfect if both had the same key bindings
for navigation. Failing that, it would help if one could
customize the gv key bindings.

The gv manual does not seem to mention any such possibility.

Andries




Re: user interface gv vs xpdf

by Markus Steinborn-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andries E. Brouwer wrote:
> It would be perfect if both had the same key bindings
> for navigation. Failing that, it would help if one could
> customize the gv key bindings.
>  

You can customize the key bindings:

Copy the key bindings from $PREFIX/share/gv/gv_class.ad (i. e.  
GV.control.baseTranslations and optionally the following ones) to the
..gv file with your favorite editor and change them. If ~/.gv does not
contain a line "GV.version:", add "GV.version: 3.6.7" (of cuase with
your version).
 
Greetings from Germany

Markus Steinborn





Re: user interface gv vs xpdf

by Andries E. Brouwer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Mar 29, 2009 at 02:13:50PM +0200, Markus Steinborn wrote:

> Andries E. Brouwer wrote:
>> It would be perfect if both had the same key bindings
>> for navigation. Failing that, it would help if one could
>> customize the gv key bindings.  
>
> You can customize the key bindings:
>
> Copy the key bindings from $PREFIX/share/gv/gv_class.ad (i. e.    
> GV.control.baseTranslations and optionally the following ones) to the  
> ..gv file with your favorite editor and change them. If ~/.gv does not  
> contain a line "GV.version:", add "GV.version: 3.6.7" (of course with  
> your version).

Thanks!

Copy+modify works fine, but only if I do not insert a line

GV.version: 3.6.4

If I do insert such a line, then gv exits with error message

gv Error: incompatible resources.
One of the files
    /usr/share/gv/gv_system.ad
    /home/aeb/.gv
belongs to an older version of gv and can not be used.
Please remove or update the outdated file.

Here /usr/share/gv/gv_system.ad does not contain a version string.

Andries




Re: user interface gv vs xpdf

by Markus Steinborn-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Andries,

Andries E. Brouwer wrote:
> Thanks!
>
> Copy+modify works fine, but only if I do not insert a line
>
> GV.version: 3.6.4
>
> If I do insert such a line, then gv exits with error message
>  

Well, GNU gv 3.6.4 is quite old. In this old version the resources were
not versioned, so it's ok to skip the instructions for the "GV.version"
resource.

Greetungs from Germany

Markus Steinborn