is an X11-based pass-phrase dialog for use with OpenSSH. It is intended to be called from the program and not invoked directly. supports most standard Toolkit command line arguments, with the exception of and See If exactly one non-option argument is provided on the command line, it is displayed in the dialog instead of the default label. If the argument contains newline characters ('\n'), each line of text is displayed on a separate line in the dialog. The features of are as follows: Configurable via the standard X resource mechanisms etc. Requires only stock X11 libraries (libXt, libX11, libSM, libICE). Can be configured to grab the keyboard and/or pointer (grabs the keyboard by default, not the pointer). The user interface is somewhat different than most password/pass-phrase dialogs and more similar to the X11-based pass-phrase dialog that accompanies the regular SSH distribution. Instead of a text field that fills with asterisks or some other character as the user enters the pass- phrase, a series of LED-like areas light up one-by-one with each pass- phrase character entered, beginning from the left-hand edge of the dialog. When they reach the right-hand edge, they go dark one-by-one again, and so on. This gives the user feedback that pass-phrase characters have been entered, but does not provide onlookers with a cue as to the length of the pass-phrase. Pressing the button accepts the pass-phrase (even if it is empty), which is printed on the standard output, and the dialog exits with a status of zero (success). Pressing the button discards the pass-phrase, and the dialog exits with non-zero status. The following keystrokes work as expected: Erase previous character Erase entire pass-phrase Accept pass-phrase (OK) Discard pass-phrase (Cancel) The main window of has the widget hierarchy indicated below. The widget class name is given first, followed by the instance name. dialog indicator okButton cancelButton The following resources are used to customize the application globally: should wait for a key or button press before it gives up and exits. A timeout of means wait forever. spacing and width values are intended for. If the actual horizontal (x) resolution of the X server is significantly greater or less than this value, portions of the dialog, indicator, and button widgets are stretched or shrunk horizontally to take the difference into account. The value is a positive integer, followed by a slash and a one- or two-character unit abbreviation. Valid units are inches or and meters (75 pixels per inch). spacing and height values are intended for. If the actual vertical (y) resolution of the X server is significantly greater or less than this value, portions of the dialog, indicator, and button widgets are stretched or shrunk vertically to take the difference into account. Valid values are the same as for above. (75 pixels per inch). around the value of beyond which some widgets will be stretched or shrunk horizontally to fit the current actual horizontal resolution. Valid values are the same as for For example, if the default X resolution is and the X resolution fuzz is then widgets won't be scaled horizontally unless the actual horizontal resolution is less than 25 pixels per inch or greater than 125 pixels per inch. (20 pixels per inch). around the value of beyond which some widgets will be stretched or shrunk vertically to fit the current actual vertical resolution. Valid values are the same as for above. (20 pixels per inch). The following resources are recognized by the Dialog widget: The title of the application as specified to the window manager. The label displayed above the led indicators. The font to be used to display the label. The following Resources are recognized by the dialog, button, and indicator widgets and the main widget to customize the 3D appearance (all measurements are in pixels): The foreground color of the widget. This is the text color of the label for buttons and dialog and the color of the active led for the indicator. The background color of the widget. In the case of the indicator this is the color of the inactive led. The color used by the sides of the widget exposed to the light (top and left). The color used by the sides of the widget in the shadow (right and bottom). The thickness of the 3D border of the widget. The color of the border around the widget. The width of the border around the widget. The space to leave on left and right sides of the widget. The space to leave on top and bottom sides of the widget. The following resources are recognized by the indicator widgets: The minimum number of indicators to display in the dialog. The maximum number of indicators to display in the dialog. Each button uses the following resources to customize its label: the string to display on the button. the font to use for this button label. Some portions of are derived directly or indirectly from portions of xscreensaver by Jamie Zawinski <jwz@jwz.org>, while others are original works. xscreensaver, Copyright c 1991-1999 Jamie Zawinski Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. The remaining portions fall under the following copyright and license: by Jim Knoble Copyright c 1999,2000,2001 Jim Knoble Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.