home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXPPPPRRRROOOOMMMMPPPPTTTT((((1111)))) NNNNoooonnnn----PPPPrrrroooopppprrrriiiieeeettttaaaarrrryyyy XXXX ((((22229999 OOOOcccctttt 1111999999990000)))) XXXXPPPPRRRROOOOMMMMPPPPTTTT((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- xprompt - Athena toolkit program to prompt for input in an X
- window
-
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- xxxxpppprrrroooommmmpppptttt [ ----ddddiiiissssppppllllaaaayyyy _d_s_p ] [ ----pppp_p_r_o_m_p_t_s_t_r_i_n_g [ ----rrrr_d_e_f_a_u_l_t_r_e_p_l_y ]
- ] [ ----rrrrlllleeeennnn ] [ ----iiiibbbbwwww ] [ ----ggggrrrraaaabbbb////----nnnnooooggggrrrraaaabbbb ] [ ----ppppffffnnnn ] [ ----rrrrffffnnnn ] [
- ----hhhhllll ]
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- xxxxpppprrrroooommmmpppptttt opens an X window and accepts single lines of input
- from the user.
-
- Invoke xxxxpppprrrroooommmmpppptttt with as many -_ps as you have fields. For
- each -_p you may specify a -_r for a default reply. The
- default reply will be inserted into the reply field and the
- user will be able to edit it with the normal Athena text-
- widget keys.
-
- If no arguments are given, a default prompt of "?" is given
- and the user will have a blank reply field.
-
- Pressing <Return> or ^M will advance the input focus
- highlight to the next field. <Return> and ^M will exit the
- program normally if pressed in the last field. Pressing ^N
- or <Tab> will advance the highlight to the next field but
- wrap back to the top if in the last field. Pressing ^P or
- <Shift><Tab> will take the input focus to the previous
- field, wrapping to the bottom if the focus is in the first
- field.
-
- Upon normal exit the program prints out what is in each of
- the fields onto stdout. Different fields are in order on
- different lines. If the user presses ^C at any time,
- xprompt will exit and print nothing.
-
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- ----ddddiiiissssppppllllaaaayyyy ddddppppyyyy::::nnnn....mmmm
- The _d_i_s_p_l_a_y option sets the X11 display to prompt for
- input on.
-
-
- ----rrrrlllleeeennnn rrrreeeeppppllllyyyylllleeeennnnggggtttthhhh
- The _r_l_e_n option sets the reply length for all the
- fields to _r_e_p_l_y_l_e_n_g_t_h characters.
-
-
- ----iiiibbbbwwww wwww
- This sets the internal borderWidth for all the input
-
-
-
- Page 1 (printed 6/30/95)
-
-
-
-
-
-
- XXXXPPPPRRRROOOOMMMMPPPPTTTT((((1111)))) NNNNoooonnnn----PPPPrrrroooopppprrrriiiieeeettttaaaarrrryyyy XXXX ((((22229999 OOOOcccctttt 1111999999990000)))) XXXXPPPPRRRROOOOMMMMPPPPTTTT((((1111))))
-
-
-
- text-widgets. It is retained because the original
- xprompt had it (I think).
-
-
- ----ggggrrrraaaabbbb
-
- ----nnnnooooggggrrrraaaabbbb
- xprompt normally grabs the keyboard. Other programs
- will not be able to recieve keyboard input until the
- user exits xprompt. ----nnnnooooggggrrrraaaabbbb will allow other programs
- to recieve keyboard input, but the user will then have
- to focus keyboard input on xprompt like a normal
- application to be able to type in it.
-
-
- ----ppppffffnnnn ffffoooonnnnttttssssppppeeeecccc
- sets the font for the prompts.
-
-
- ----rrrrffffnnnn ffffoooonnnnttttssssppppeeeecccc
- sets the font for the reply fields.
-
-
- ----hhhhllll ccccoooolllloooorrrr
- sets the color for the highlight of the active field,
- normally white.
-
-
- ----pppp pppprrrroooommmmpppptttt
- specifies a prompt for a field.
-
-
- ----rrrr rrrreeeeppppllllyyyy
- specifies a reply that will be inserted into the field
- for the user to edit.
-
-
- BBBBUUUUGGGGSSSS
- The default does not look good on a monochromes screen. Try
-
- xprompt -p what -p too -p do -xrm "*input.borderColor:white"
- -hl black
-
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- X(1), Xlib,Xt,Xaw Documentation.
-
- AAAAUUUUTTTTHHHHOOOORRRR
- Michael Murphy (mjm@cis.ufl.edu)
- -and-
- Robert Forsman (thoth@cis.ufl.edu)
-
-
-
- Page 2 (printed 6/30/95)
-
-
-
-
-
-
- XXXXPPPPRRRROOOOMMMMPPPPTTTT((((1111)))) NNNNoooonnnn----PPPPrrrroooopppprrrriiiieeeettttaaaarrrryyyy XXXX ((((22229999 OOOOcccctttt 1111999999990000)))) XXXXPPPPRRRROOOOMMMMPPPPTTTT((((1111))))
-
-
-
- University of Florida
- Department of Computer Science
- and other places.
-
-
- CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
- Copyright (c) 1990 by Michael Murphy and Robert Forsman.
-
- This program is free software; you can redistribute it
- and/or modify it under the terms of the GNU General Public
- License as published by the Free Software Foundation; either
- version 1, or (at your option) any later version.
-
- This program is distributed in the hope that it will be
- useful, but WITHOUT ANY WARRANTY; without even the implied
- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- PURPOSE. See