"Fossies" - the Fresh Open Source Software Archive

Member "ghostview-1.4.1/Ghostview.ad" (29 Oct 1992, 9208 Bytes) of package /linux/misc/old/ghost/gnu/ghostview/ghostview-1.4.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 !  Ghostview.ad -- Application defaults file for ghostview.
    2 !  Copyright (C) 1992  Timothy O. Theisen
    3 ! 
    4 !  This program is free software; you can redistribute it and/or modify
    5 !  it under the terms of the GNU General Public License as published by
    6 !  the Free Software Foundation; either version 2 of the License, or
    7 !  (at your option) any later version.
    8 ! 
    9 !  This program is distributed in the hope that it will be useful,
   10 !  but WITHOUT ANY WARRANTY; without even the implied warranty of
   11 !  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   12 !  GNU General Public License for more details.
   13 ! 
   14 !  You should have received a copy of the GNU General Public License
   15 !  along with this program; if not, write to the Free Software
   16 !  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   17 ! 
   18 !    Author: Tim Theisen           Systems Programmer
   19 !  Internet: tim@cs.wisc.edu       Department of Computer Sciences
   20 !      UUCP: uwvax!tim             University of Wisconsin-Madison
   21 !     Phone: (608)262-0438         1210 West Dayton Street
   22 !       FAX: (608)262-9777         Madison, WI   53706
   23 
   24 ! All of the button labels and actions are determined in this file.
   25 ! It should be easy to adapt to any language.
   26 ! To use a different version of ghostscript, you can add the resource
   27 ! *Ghostview.interpreter: /my/very/own/gs
   28 
   29 *input:	True
   30 *allowShellResize:	True
   31 *ShapeStyle:	Oval
   32 *Font:	-adobe-new century schoolbook-medium-r-normal--*-140-*-*-p-*-iso8859-1
   33 *Text*Font:	-adobe-courier-medium-r-normal--*-140-*-*-m-*-iso8859-1
   34 *ghostviewButton.Label:	Ghostview
   35 *copyright.Label:	Copyright...
   36 *quit.Label:	Quit
   37 *fileButton.Label:	File
   38 *open.Label:	Open...
   39 *reopen.Label:	Reopen
   40 *printwhole.Label:	Print...
   41 *printmarked.Label:	Print marked pages...
   42 *save.Label:	Save marked pages...
   43 *pageButton.Label:	Page
   44 *next.Label:	Next
   45 *show.Label:	Redisplay
   46 *prev.Label:	Previous
   47 *center.Label:	Center
   48 *mark.Label:	Mark
   49 *unmark.Label:	Unmark
   50 *magstepButton.Label:	Magstep
   51 *orientationButton.Label:	Orientation
   52 *portrait.Label:	Portrait
   53 *landscape.Label:	Landscape
   54 *upsidedown.Label:	Upside-down
   55 *seascape.Label:	Seascape
   56 *swap.Label:	Swap Landscape
   57 *pagemediaButton.Label:	Media
   58 *pageview.useBottom:	True
   59 *pageview.useRight:	True
   60 *SimpleMenu.baseTranslations:	#replace \n\
   61     <EnterWindow>:	highlight() \n\
   62     <LeaveWindow>:	unhighlight() \n\
   63     <BtnMotion>:	highlight() \n\
   64     <Btn2Up>:	MenuPopdown() GhostviewForce() notify() unhighlight() \n\
   65     <BtnUp>:	MenuPopdown() GhostviewDefault() notify() unhighlight()
   66 *SimpleMenu.Translations:	#replace \n\
   67     <EnterWindow>:	highlight() \n\
   68     <LeaveWindow>:	unhighlight() \n\
   69     <BtnMotion>:	highlight() \n\
   70     <Btn2Up>:	MenuPopdown() GhostviewForce() notify() unhighlight() \n\
   71     <BtnUp>:	MenuPopdown() GhostviewDefault() notify() unhighlight()
   72 *okay.Label:	Okay
   73 *cancel.Label:	Cancel
   74 *dismiss.Label:	Dismiss
   75 *Ghostview.busyCursor:	target
   76 Ghostview.baseTranslations:	#replace \n\
   77     <MapNotify>:		GhostviewCheckFile() \n\
   78     <Message>WM_PROTOCOLS:	GhostviewDeleteWindow()
   79 Ghostview.Translations:		#replace \n\
   80     <MapNotify>:		GhostviewCheckFile() \n\
   81     <Message>WM_PROTOCOLS:	GhostviewDeleteWindow()
   82 *TopLevelShell.baseTranslations:	#replace \n\
   83     <Message>WM_PROTOCOLS:	GhostviewDismiss()
   84 *TopLevelShell.Translations:	#replace \n\
   85     <Message>WM_PROTOCOLS:	GhostviewDismiss()
   86 *TransientShell.baseTranslations:	#replace \n\
   87     <Message>WM_PROTOCOLS:	GhostviewDismiss()
   88 *TransientShell.Translations:	#replace \n\
   89     <Message>WM_PROTOCOLS:	GhostviewDismiss()
   90 *zoom.form.baseTranslations:	#replace \n\
   91     <Key>Q:			GhostviewDeleteZoom()
   92 *zoom.form.Translations:	#replace \n\
   93     <Key>Q:			GhostviewDeleteZoom()
   94 *zoom.baseTranslations:		#replace \n\
   95     <Message>WM_PROTOCOLS:	GhostviewDeleteWindow()
   96 *zoom.Translations:		#replace \n\
   97     <Message>WM_PROTOCOLS:	GhostviewDeleteWindow()
   98 *Ghostview.baseTranslations:	#replace \n\
   99     <Message>:	message() \n\
  100     <EnterWindow>:	notify(0) \n\
  101     <LeaveWindow>:	GhostviewEraseLocator() \n\
  102     <MotionNotify>:	notify(0) \n\
  103     <Btn1Down>:	notify(180 180 200 200) \n\
  104     <Btn2Down>:	notify(120 120 300 300) \n\
  105     <Btn3Down>:	notify(90 90 400 400)
  106 *Ghostview.Translations:	#replace \n\
  107     <Message>:	message() \n\
  108     <EnterWindow>:	notify(0) \n\
  109     <LeaveWindow>:	GhostviewEraseLocator() \n\
  110     <MotionNotify>:	notify(0) \n\
  111     <Btn1Down>:	notify(180 180 200 200) \n\
  112     <Btn2Down>:	notify(120 120 300 300) \n\
  113     <Btn3Down>:	notify(90 90 400 400)
  114 *toc.baseTranslations:	#replace \n\
  115     <FocusIn>:	focus-in() \n\
  116     <FocusOut>:	focus-out() \n\
  117     <Btn1Down>:	select-start() \n\
  118     <Btn1Motion>:	extend-adjust() \n\
  119     <Btn1Up>:	extend-end(PRIMARY, CUT_BUFFER0) \n\
  120     <Btn2Down>:	select-start() \n\
  121     <Btn2Motion>:	extend-adjust() \n\
  122     <Btn2Up>:	extend-end(PRIMARY, CUT_BUFFER0) GhostviewShow() \n\
  123     <Btn3Down>:	extend-start() \n\
  124     <Btn3Motion>:	extend-adjust() \n\
  125     <Btn3Up>:	extend-end(PRIMARY, CUT_BUFFER0)
  126 *toc.Translations:	#replace \n\
  127     <FocusIn>:	focus-in() \n\
  128     <FocusOut>:	focus-out() \n\
  129     <Btn1Down>:	select-start() \n\
  130     <Btn1Motion>:	extend-adjust() \n\
  131     <Btn1Up>:	extend-end(PRIMARY, CUT_BUFFER0) \n\
  132     <Btn2Down>:	select-start() \n\
  133     <Btn2Motion>:	extend-adjust() \n\
  134     <Btn2Up>:	extend-end(PRIMARY, CUT_BUFFER0) GhostviewShow() \n\
  135     <Btn3Down>:	extend-start() \n\
  136     <Btn3Motion>:	extend-adjust() \n\
  137     <Btn3Up>:	extend-end(PRIMARY, CUT_BUFFER0)
  138 *Form.baseTranslations:	#replace \n\
  139     <Key>C:	GhostviewCenter() \n\
  140     <Key>Q:	GhostviewQuit() \n\
  141     <Key>O:	GhostviewOpen() \n\
  142     <Key>R:	GhostviewReopen() \n\
  143     <Key>S:	GhostviewSave() \n\
  144     Shift<Key>P:	GhostviewPrintWhole() \n\
  145     <Key>P:	GhostviewPrintMarked() \n\
  146     <Key>BackSpace:	GhostviewPrevious() \n\
  147     <Key>Delete:	GhostviewPrevious() \n\
  148     <Key>B:	GhostviewPrevious() \n\
  149     <Key>Prior:	GhostviewPrevious() \n\
  150     <Key>space:	GhostviewNext() \n\
  151     <Key>Return:	GhostviewNext() \n\
  152     <Key>F:	GhostviewNext() \n\
  153     <Key>Next:	GhostviewNext() \n\
  154     <Key>Tab:	GhostviewNext() \n\
  155     <Key>period:	GhostviewShow() \n\
  156     Ctrl<Key>L:	GhostviewShow() \n\
  157     <Key>M:	GhostviewMark() \n\
  158     <Key>N:	GhostviewUnmark() \n\
  159     <Key>0:	GhostviewSetMagstep(0) \n\
  160     <Key>1:	GhostviewSetMagstep(1) \n\
  161     <Key>2:	GhostviewSetMagstep(2) \n\
  162     <Key>3:	GhostviewSetMagstep(3) \n\
  163     <Key>4:	GhostviewSetMagstep(4) \n\
  164     <Key>5:	GhostviewSetMagstep(5) \n\
  165     <Key>+:	GhostviewIncreaseMagstep() \n\
  166     <Key>-:	GhostviewDecreaseMagstep() \n\
  167     <Key>U:	GhostviewScrollUp() \n\
  168     <Key>D:	GhostviewScrollDown() \n\
  169     <Key>K:	GhostviewScrollUp() \n\
  170     <Key>J:	GhostviewScrollDown() \n\
  171     <Key>H:	GhostviewScrollLeft() \n\
  172     <Key>L:	GhostviewScrollRight() \n\
  173     Shift<Key>Up:	GhostviewForce() GhostviewSetOrientation(portrait) \n\
  174     Shift<Key>Right:	GhostviewForce() GhostviewSetOrientation(landscape) \n\
  175     Shift<Key>Down: GhostviewForce() GhostviewSetOrientation(upside-down) \n\
  176     Shift<Key>Left:	GhostviewForce() GhostviewSetOrientation(seascape) \n\
  177     <Key>Up:	GhostviewDefault() GhostviewSetOrientation(portrait) \n\
  178     <Key>Right:	GhostviewDefault() GhostviewSetOrientation(landscape) \n\
  179     <Key>Down:	GhostviewDefault() GhostviewSetOrientation(upside-down) \n\
  180     <Key>Left:	GhostviewDefault() GhostviewSetOrientation(seascape)
  181 *Form.Translations:	#replace \n\
  182     <Key>C:	GhostviewCenter() \n\
  183     <Key>Q:	GhostviewQuit() \n\
  184     <Key>O:	GhostviewOpen() \n\
  185     <Key>R:	GhostviewReopen() \n\
  186     <Key>S:	GhostviewSave() \n\
  187     Shift<Key>P:	GhostviewPrintWhole() \n\
  188     <Key>P:	GhostviewPrintMarked() \n\
  189     <Key>BackSpace:	GhostviewPrevious() \n\
  190     <Key>Delete:	GhostviewPrevious() \n\
  191     <Key>B:	GhostviewPrevious() \n\
  192     <Key>Prior:	GhostviewPrevious() \n\
  193     <Key>space:	GhostviewNext() \n\
  194     <Key>Return:	GhostviewNext() \n\
  195     <Key>F:	GhostviewNext() \n\
  196     <Key>Next:	GhostviewNext() \n\
  197     <Key>Tab:	GhostviewNext() \n\
  198     <Key>period:	GhostviewShow() \n\
  199     Ctrl<Key>L:	GhostviewShow() \n\
  200     <Key>M:	GhostviewMark() \n\
  201     <Key>N:	GhostviewUnmark() \n\
  202     <Key>0:	GhostviewSetMagstep(0) \n\
  203     <Key>1:	GhostviewSetMagstep(1) \n\
  204     <Key>2:	GhostviewSetMagstep(2) \n\
  205     <Key>3:	GhostviewSetMagstep(3) \n\
  206     <Key>4:	GhostviewSetMagstep(4) \n\
  207     <Key>5:	GhostviewSetMagstep(5) \n\
  208     <Key>+:	GhostviewIncreaseMagstep() \n\
  209     <Key>-:	GhostviewDecreaseMagstep() \n\
  210     <Key>U:	GhostviewScrollUp() \n\
  211     <Key>D:	GhostviewScrollDown() \n\
  212     <Key>K:	GhostviewScrollUp() \n\
  213     <Key>J:	GhostviewScrollDown() \n\
  214     <Key>H:	GhostviewScrollLeft() \n\
  215     <Key>L:	GhostviewScrollRight() \n\
  216     Shift<Key>Up:	GhostviewForce() GhostviewSetOrientation(portrait) \n\
  217     Shift<Key>Right:	GhostviewForce() GhostviewSetOrientation(landscape) \n\
  218     Shift<Key>Down: GhostviewForce() GhostviewSetOrientation(upside-down) \n\
  219     Shift<Key>Left:	GhostviewForce() GhostviewSetOrientation(seascape) \n\
  220     <Key>Up:	GhostviewDefault() GhostviewSetOrientation(portrait) \n\
  221     <Key>Right:	GhostviewDefault() GhostviewSetOrientation(landscape) \n\
  222     <Key>Down:	GhostviewDefault() GhostviewSetOrientation(upside-down) \n\
  223     <Key>Left:	GhostviewDefault() GhostviewSetOrientation(seascape)