SshAskpass-NeXTish.ad 3.8 KB

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