"Fossies" - the Fresh Open Source Software Archive

Member "ghostview-1.5/Ghostview.ad" (24 Jul 1993, 10310 Bytes) of package /linux/misc/old/ghost/gnu/ghostview/ghostview-1.5.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 *MenuButton.baseTranslations:	#replace \n\
   61     <EnterWindow>:	highlight() \n\
   62     <LeaveWindow>:	reset() \n\
   63     !               <BtnDown>:		reset() PopupMenu() \n\
   64     !          Shift<BtnDown>:		reset() PopupMenu() \n\
   65     !     Lock      <BtnDown>:		reset() PopupMenu() \n\
   66     !     Lock Shift<BtnDown>:		reset() PopupMenu() \n\
   67     !Ctrl           <BtnDown>:		reset() PopupMenu() \n\
   68     !Ctrl      Shift<BtnDown>:		reset() PopupMenu() \n\
   69     !Ctrl Lock      <BtnDown>:		reset() PopupMenu() \n\
   70     !Ctrl Lock Shift<BtnDown>:		reset() PopupMenu()
   71 *MenuButton.translations:	#replace \n\
   72     <EnterWindow>:	highlight() \n\
   73     <LeaveWindow>:	reset() \n\
   74     !               <BtnDown>:		reset() PopupMenu() \n\
   75     !          Shift<BtnDown>:		reset() PopupMenu() \n\
   76     !     Lock      <BtnDown>:		reset() PopupMenu() \n\
   77     !     Lock Shift<BtnDown>:		reset() PopupMenu() \n\
   78     !Ctrl           <BtnDown>:		reset() PopupMenu() \n\
   79     !Ctrl      Shift<BtnDown>:		reset() PopupMenu() \n\
   80     !Ctrl Lock      <BtnDown>:		reset() PopupMenu() \n\
   81     !Ctrl Lock Shift<BtnDown>:		reset() PopupMenu()
   82 *SimpleMenu.baseTranslations:	#replace \n\
   83     <EnterWindow>:	highlight() \n\
   84     <LeaveWindow>:	unhighlight() \n\
   85     <BtnMotion>:	highlight() \n\
   86     <Btn2Up>:	MenuPopdown() GhostviewForce() notify() unhighlight() \n\
   87     <BtnUp>:	MenuPopdown() GhostviewDefault() notify() unhighlight()
   88 *SimpleMenu.translations:	#replace \n\
   89     <EnterWindow>:	highlight() \n\
   90     <LeaveWindow>:	unhighlight() \n\
   91     <BtnMotion>:	highlight() \n\
   92     <Btn2Up>:	MenuPopdown() GhostviewForce() notify() unhighlight() \n\
   93     <BtnUp>:	MenuPopdown() GhostviewDefault() notify() unhighlight()
   94 *okay.Label:	Okay
   95 *cancel.Label:	Cancel
   96 *dismiss.Label:	Dismiss
   97 *Ghostview.busyCursor:	target
   98 Ghostview.baseTranslations:	#replace \n\
   99     <MapNotify>:		GhostviewCheckFile() \n\
  100     <Message>WM_PROTOCOLS:	GhostviewDeleteWindow()
  101 Ghostview.translations:		#replace \n\
  102     <MapNotify>:		GhostviewCheckFile() \n\
  103     <Message>WM_PROTOCOLS:	GhostviewDeleteWindow()
  104 *TopLevelShell.baseTranslations:	#replace \n\
  105     <Message>WM_PROTOCOLS:	GhostviewDismiss()
  106 *TopLevelShell.translations:	#replace \n\
  107     <Message>WM_PROTOCOLS:	GhostviewDismiss()
  108 *TransientShell.baseTranslations:	#replace \n\
  109     <Message>WM_PROTOCOLS:	GhostviewDismiss()
  110 *TransientShell.translations:	#replace \n\
  111     <Message>WM_PROTOCOLS:	GhostviewDismiss()
  112 *zoom.form.baseTranslations:	#replace \n\
  113     <Key>Q:			GhostviewDeleteZoom()
  114 *zoom.form.translations:	#replace \n\
  115     <Key>Q:			GhostviewDeleteZoom()
  116 *zoom.baseTranslations:		#replace \n\
  117     <Message>WM_PROTOCOLS:	GhostviewDeleteWindow()
  118 *zoom.translations:		#replace \n\
  119     <Message>WM_PROTOCOLS:	GhostviewDeleteWindow()
  120 *Ghostview.baseTranslations:	#replace \n\
  121     <Message>:	message() \n\
  122     <EnterWindow>:	notify(0) \n\
  123     <LeaveWindow>:	GhostviewEraseLocator() \n\
  124     <MotionNotify>:	notify(0) \n\
  125     <Btn1Down>:	notify(180 180 200 200) \n\
  126     <Btn2Down>:	notify(120 120 300 300) \n\
  127     <Btn3Down>:	notify(90 90 400 400)
  128 *Ghostview.translations:	#replace \n\
  129     <Message>:	message() \n\
  130     <EnterWindow>:	notify(0) \n\
  131     <LeaveWindow>:	GhostviewEraseLocator() \n\
  132     <MotionNotify>:	notify(0) \n\
  133     <Btn1Down>:	notify(180 180 200 200) \n\
  134     <Btn2Down>:	notify(120 120 300 300) \n\
  135     <Btn3Down>:	notify(90 90 400 400)
  136 *toc.baseTranslations:	#replace \n\
  137     <FocusIn>:	focus-in() \n\
  138     <FocusOut>:	focus-out() \n\
  139     <Btn1Down>:	select-start() \n\
  140     <Btn1Motion>:	extend-adjust() \n\
  141     <Btn1Up>:	extend-end(PRIMARY, CUT_BUFFER0) \n\
  142     <Btn2Down>:	select-start() \n\
  143     <Btn2Motion>:	extend-adjust() \n\
  144     <Btn2Up>:	extend-end(PRIMARY, CUT_BUFFER0) GhostviewShow() \n\
  145     <Btn3Down>:	extend-start() \n\
  146     <Btn3Motion>:	extend-adjust() \n\
  147     <Btn3Up>:	extend-end(PRIMARY, CUT_BUFFER0)
  148 *toc.translations:	#replace \n\
  149     <FocusIn>:	focus-in() \n\
  150     <FocusOut>:	focus-out() \n\
  151     <Btn1Down>:	select-start() \n\
  152     <Btn1Motion>:	extend-adjust() \n\
  153     <Btn1Up>:	extend-end(PRIMARY, CUT_BUFFER0) \n\
  154     <Btn2Down>:	select-start() \n\
  155     <Btn2Motion>:	extend-adjust() \n\
  156     <Btn2Up>:	extend-end(PRIMARY, CUT_BUFFER0) GhostviewShow() \n\
  157     <Btn3Down>:	extend-start() \n\
  158     <Btn3Motion>:	extend-adjust() \n\
  159     <Btn3Up>:	extend-end(PRIMARY, CUT_BUFFER0)
  160 *Form.baseTranslations:	#replace \n\
  161     <Key>C:	GhostviewCenter() \n\
  162     <Key>Q:	GhostviewQuit() \n\
  163     <Key>O:	GhostviewOpen() \n\
  164     <Key>R:	GhostviewReopen() \n\
  165     <Key>S:	GhostviewSave() \n\
  166     Shift<Key>P:	GhostviewPrintWhole() \n\
  167     <Key>P:	GhostviewPrintMarked() \n\
  168     <Key>BackSpace:	GhostviewPrevious() \n\
  169     <Key>Delete:	GhostviewPrevious() \n\
  170     <Key>B:	GhostviewPrevious() \n\
  171     <Key>Prior:	GhostviewPrevious() \n\
  172     <Key>space:	GhostviewNext() \n\
  173     <Key>Return:	GhostviewNext() \n\
  174     <Key>F:	GhostviewNext() \n\
  175     <Key>Next:	GhostviewNext() \n\
  176     <Key>Tab:	GhostviewNext() \n\
  177     <Key>period:	GhostviewShow() \n\
  178     Ctrl<Key>L:	GhostviewShow() \n\
  179     <Key>M:	GhostviewMark() \n\
  180     <Key>N:	GhostviewUnmark() \n\
  181     <Key>0:	GhostviewSetMagstep(0) \n\
  182     <Key>1:	GhostviewSetMagstep(1) \n\
  183     <Key>2:	GhostviewSetMagstep(2) \n\
  184     <Key>3:	GhostviewSetMagstep(3) \n\
  185     <Key>4:	GhostviewSetMagstep(4) \n\
  186     <Key>5:	GhostviewSetMagstep(5) \n\
  187     <Key>+:	GhostviewIncreaseMagstep() \n\
  188     <Key>-:	GhostviewDecreaseMagstep() \n\
  189     <Key>U:	GhostviewScrollUp() \n\
  190     <Key>D:	GhostviewScrollDown() \n\
  191     <Key>K:	GhostviewScrollUp() \n\
  192     <Key>J:	GhostviewScrollDown() \n\
  193     <Key>H:	GhostviewScrollLeft() \n\
  194     <Key>L:	GhostviewScrollRight() \n\
  195     Shift<Key>Up:	GhostviewForce() GhostviewSetOrientation(portrait) \n\
  196     Shift<Key>Right:	GhostviewForce() GhostviewSetOrientation(landscape) \n\
  197     Shift<Key>Down: GhostviewForce() GhostviewSetOrientation(upside-down) \n\
  198     Shift<Key>Left:	GhostviewForce() GhostviewSetOrientation(seascape) \n\
  199     <Key>Up:	GhostviewDefault() GhostviewSetOrientation(portrait) \n\
  200     <Key>Right:	GhostviewDefault() GhostviewSetOrientation(landscape) \n\
  201     <Key>Down:	GhostviewDefault() GhostviewSetOrientation(upside-down) \n\
  202     <Key>Left:	GhostviewDefault() GhostviewSetOrientation(seascape)
  203 *Form.translations:	#replace \n\
  204     <Key>C:	GhostviewCenter() \n\
  205     <Key>Q:	GhostviewQuit() \n\
  206     <Key>O:	GhostviewOpen() \n\
  207     <Key>R:	GhostviewReopen() \n\
  208     <Key>S:	GhostviewSave() \n\
  209     Shift<Key>P:	GhostviewPrintWhole() \n\
  210     <Key>P:	GhostviewPrintMarked() \n\
  211     <Key>BackSpace:	GhostviewPrevious() \n\
  212     <Key>Delete:	GhostviewPrevious() \n\
  213     <Key>B:	GhostviewPrevious() \n\
  214     <Key>Prior:	GhostviewPrevious() \n\
  215     <Key>space:	GhostviewNext() \n\
  216     <Key>Return:	GhostviewNext() \n\
  217     <Key>F:	GhostviewNext() \n\
  218     <Key>Next:	GhostviewNext() \n\
  219     <Key>Tab:	GhostviewNext() \n\
  220     <Key>period:	GhostviewShow() \n\
  221     Ctrl<Key>L:	GhostviewShow() \n\
  222     <Key>M:	GhostviewMark() \n\
  223     <Key>N:	GhostviewUnmark() \n\
  224     <Key>0:	GhostviewSetMagstep(0) \n\
  225     <Key>1:	GhostviewSetMagstep(1) \n\
  226     <Key>2:	GhostviewSetMagstep(2) \n\
  227     <Key>3:	GhostviewSetMagstep(3) \n\
  228     <Key>4:	GhostviewSetMagstep(4) \n\
  229     <Key>5:	GhostviewSetMagstep(5) \n\
  230     <Key>+:	GhostviewIncreaseMagstep() \n\
  231     <Key>-:	GhostviewDecreaseMagstep() \n\
  232     <Key>U:	GhostviewScrollUp() \n\
  233     <Key>D:	GhostviewScrollDown() \n\
  234     <Key>K:	GhostviewScrollUp() \n\
  235     <Key>J:	GhostviewScrollDown() \n\
  236     <Key>H:	GhostviewScrollLeft() \n\
  237     <Key>L:	GhostviewScrollRight() \n\
  238     Shift<Key>Up:	GhostviewForce() GhostviewSetOrientation(portrait) \n\
  239     Shift<Key>Right:	GhostviewForce() GhostviewSetOrientation(landscape) \n\
  240     Shift<Key>Down: GhostviewForce() GhostviewSetOrientation(upside-down) \n\
  241     Shift<Key>Left:	GhostviewForce() GhostviewSetOrientation(seascape) \n\
  242     <Key>Up:	GhostviewDefault() GhostviewSetOrientation(portrait) \n\
  243     <Key>Right:	GhostviewDefault() GhostviewSetOrientation(landscape) \n\
  244     <Key>Down:	GhostviewDefault() GhostviewSetOrientation(upside-down) \n\
  245     <Key>Left:	GhostviewDefault() GhostviewSetOrientation(seascape)