1! SshAskpass.ad:  Default resources for the X11-based ssh-askpass for OpenSSH
2! created 1999-Nov-17 03:40 Jim Knoble <jmknoble@pobox.com>
3! autodate: 2001-Sep-16 18:08
4!
5! by Jim Knoble <jmknoble@pobox.com>
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! | NEXTstep-ish theme |
27! +--------------------+
28
29*Dialog.font:			-adobe-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso8859-1
30*?.foreground:			rgb:00/00/00
31*?.background:			rgb:a8/a8/a8
32*topShadowColor:		rgb:ff/ff/ff
33*bottomShadowColor:		rgb:54/54/54
34*borderColor:			rgb:20/20/20
35*shadowThickness:		0
36*borderWidth:			1
37*horizontalSpacing:		8
38*verticalSpacing:		8
39
40*Button.font:			-adobe-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso8859-1
41*Button.shadowThickness:	1
42*Button.borderWidth:		1
43*Button.horizontalSpacing:	8
44*Button.verticalSpacing:	3
45
46*Indicator.foreground:		rgb:9b/cd/9b
47*Indicator.background:		rgb:54/54/54
48*Indicator.topShadowColor:	rgb:ff/ff/ff
49*Indicator.bottomShadowColor:	rgb:20/20/20
50*Indicator.shadowThickness:	1
51*Indicator.borderWidth:		0
52*Indicator.height:		7
53*Indicator.width:		15
54*Indicator.horizontalSpacing:	4
55*Indicator.verticalSpacing:	6
56*Indicator.minimumCount:	8
57*Indicator.maximumCount:	24
58
59! X11 does a miserable job of providing resolution-independent drawing
60! facilities---it expects everything to be done in pixels.  So if you
61! happen to run your X server at a resolution of 100 pixels per inch
62! (or some other strange value) instead of the widely used default of
63! 75, x11-ssh-askpass looks might tiny.  [Sigh].
64!
65! To get around this, umm, limitation, we declare the resolution that
66! the spacing and width/height pixels values are "valid" for, along
67! with a fuzz factor.  If the current actual resolution is outside of
68! the range of <DEFAULT - FUZZ>..<DEFAULT + FUZZ>, then we scale pixel
69! measurements to fit the actual resolution.
70!
71! (And if you think *this* is a horrid hack, then take a look at the
72! actual code, which has to deal with conversion to [cheesy fanfare]
73! that's right---millimeters!!!  The right hand managed to slip that
74! one in while the left hand was adding a '-dpi' switch to the sample
75! server implementation.  I think both left feet were adding the
76! RESOLUTION_X and RESOLUTION_Y fields [in dots per inch, naturally]
77! to the X Logical Font Description.  The irony is underwhelming.)
78
79*defaultXResolution:		75/in
80*defaultYResolution:		75/in
81*xResolutionFuzz:		20/in
82*yResolutionFuzz:		20/in
83
84! Number of seconds to wait for a key- or button-press
85! before giving up.  '0' means wait forever.
86*inputTimeout:			0
87
88! Ssh-askpass grabs the keyboard by default.
89! To stop it from grabbing the keyboard, use:
90!*grabKeyboard:			false
91
92! Ssh-askpass does not grab the pointer by default.
93! To make it grab the pointer, use:
94!*grabPointer:			true
95
96! Ssh-askpass does not grab the server by default.
97! To make it grab the server, use:
98!*grabServer:			true
99
100*Dialog.title:			OpenSSH Authentication Passphrase Request
101*Dialog.label:			Please enter your authentication passphrase:
102*okButton.label:		OK
103*cancelButton.label:		Cancel
104
105