source: trunk/third/x11-ssh-askpass/SshAskpass-motif.ad @ 17783

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