1! SshAskpass.ad:  Default resources for the X11-based ssh-askpass for OpenSSH
2! created 1999-Nov-17 03:40 Jim Knoble <jmknoble@jmknoble.cx>
3! autodate: 2000-Nov-07 05:50
4! 
5! by Jim Knoble <jmknoble@jmknoble.cx>
6! Copyright (C) 1999,2000 Jim Knoble
7! 
8! Disclaimer:
9! 
10! The software is provided "as is", without warranty of any kind,
11! express or implied, including but not limited to the warranties of
12! merchantability, fitness for a particular purpose and
13! noninfringement. In no event shall the author(s) be liable for any
14! claim, damages or other liability, whether in an action of
15! contract, tort or otherwise, arising from, out of or in connection
16! with the software or the use or other dealings in the software.
17! 
18! Permission to use, copy, modify, distribute, and sell this software
19! and its documentation for any purpose is hereby granted without
20! fee, provided that the above copyright notice appear in all copies
21! and that both that copyright notice and this permission notice
22! appear in supporting documentation.
23! 
24
25! +-----------------------------+
26! | Default theme (like SSH v1) |
27! +-----------------------------+
28
29*Dialog.font:			-adobe-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-1
30*Dialog.fixedFont:		-adobe-courier-bold-r-normal-*-*-120-*-*-*-*-iso8859-1
31*?.foreground:			rgb:00/00/00
32*?.background:			rgb:cc/cc/cc
33*topShadowColor:		rgb:ff/ff/ff
34*bottomShadowColor:		rgb:7f/7f/7f
35*borderColor:			rgb:20/20/20
36*shadowThickness:		3
37*borderWidth:			1
38*horizontalSpacing:		5
39*verticalSpacing:		6
40
41*Button.font:			-adobe-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-1
42*Button.shadowThickness:	2
43*Button.borderWidth:		1
44*Button.horizontalSpacing:	5
45*Button.verticalSpacing:	2
46
47*Indicator.foreground:		rgb:9b/cd/9b
48*Indicator.background:		rgb:00/00/80
49*Indicator.shadowThickness:	2
50*Indicator.borderWidth:		0
51*Indicator.height:		7
52*Indicator.width:		15
53*Indicator.horizontalSpacing:	2
54*Indicator.verticalSpacing:	4
55*Indicator.minimumCount:	8
56*Indicator.maximumCount:	24
57
58! X11 does a miserable job of providing resolution-independent drawing
59! facilities---it expects everything to be done in pixels.  So if you
60! happen to run your X server at a resolution of 100 pixels per inch
61! (or some other strange value) instead of the widely used default of
62! 75, x11-ssh-askpass looks might tiny.  [Sigh].
63! 
64! To get around this, umm, limitation, we declare the resolution that
65! the spacing and width/height pixels values are "valid" for, along
66! with a fuzz factor.  If the current actual resolution is outside of
67! the range of <DEFAULT - FUZZ>..<DEFAULT + FUZZ>, then we scale pixel
68! measurements to fit the actual resolution.
69! 
70! (And if you think *this* is a horrid hack, then take a look at the
71! actual code, which has to deal with conversion to [cheesy fanfare]
72! that's right---millimeters!!!  The right hand managed to slip that
73! one in while the left hand was adding a '-dpi' switch to the sample
74! server implementation.  I think both left feet were adding the
75! RESOLUTION_X and RESOLUTION_Y fields [in dots per inch, naturally]
76! to the X Logical Font Description.  The irony is underwhelming.)
77
78*defaultXResolution:		75/in
79*defaultYResolution:		75/in
80*xResolutionFuzz:		20/in
81*yResolutionFuzz:		20/in
82
83! Number of seconds to wait for a key- or button-press
84! before giving up.  '0' means wait forever.
85*inputTimeout:			0
86
87! Ssh-askpass grabs the keyboard by default.
88! To stop it from grabbing the keyboard, use:
89!*grabKeyboard:			false
90
91! Ssh-askpass does not grab the pointer by default.
92! To make it grab the pointer, use:
93!*grabPointer:			true
94
95! Ssh-askpass does not grab the server by default.
96! To make it grab the server, use:
97!*grabServer:			true
98
99*Dialog.title:			OpenSSH Authentication Passphrase Request
100*Dialog.label:			Please enter your authentication passphrase:
101*okButton.label:		OK
102*cancelButton.label:		Cancel
103
104