SshAskpass-default.ad 3.8 KB

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