{The jprompt Input Panel

Introduction
The jprompt application is just a wrapper around the j:prompt procedure in the jprompts.tcl library.  It's intended to make it easy to ask the user for a line of input from shell scripts, window­manager menus, etc.

This help file describes jprompt version 4.0/4.0.

Copyright and contact information is available in the jstools documentation.

Invocation and Usage
	jprompt [-text text] [-title title] [other options]

Invoking jprompt brings up a panel displaying text with an entry field for the user to type a response into and OK and Cancel buttons.  The window­manager title will be title.  When the user clicks OK, jprompt exits and writes what the user typed to standard output.  If the user clicks Cancel, jprompt exits and, by default, writes nothing (except a newline) to standard output.

The value printed on Cancel can be specified, and there are a few other options not mentioned in this document; for full details, see the documentation for j:prompt in the jprompts.tcl library.

Both text and title are localisable.

Example
cat /tmp/out.$$ | enscript -2r -b`jprompt -text "Printout Title"`

Evolution
Feel free to report bugs (and feature requests) to me, <js@calumet.org>, and I will try to deal with them.  Also, feel free to fix bugs or add features on your own and let me know how you did it.



} {{{jdoc:xref:link {4.53 4.61 4.79 4.91 8.0 8.33 8.50 8.75 15.156 15.164 15.172 15.184 17.24 17.35}} {jdoc:anchor:anchorname {3.0 4.0 10.0 11.0 19.0 20.0 22.0 23.0}} {richtext:font:roman {2.0 3.0 4.0 4.4 4.11 4.53 4.61 4.79 4.91 6.25 6.32 8.54 8.61 10.0 11.9 11.10 11.20 11.21 11.22 11.23 11.35 11.36 11.37 11.38 11.51 13.9 13.16 13.46 13.50 13.169 13.174 13.202 13.209 13.295 13.302 15.156 15.164 15.172 15.184 17.5 17.9 17.14 17.19 19.0 21.0 22.0 23.0 23.55 23.71 23.195}} {richtext:font:italic {11.16 11.20 11.30 11.35 11.38 11.51 13.46 13.50 13.169 13.174 17.5 17.9 17.14 17.19}} {richtext:font:bold {4.79 4.91 8.54 8.61 15.172 15.184}} {richtext:font:typewriter {4.4 4.11 4.53 4.61 6.25 6.32 11.0 11.9 11.10 11.16 11.21 11.22 11.23 11.30 11.36 11.37 13.9 13.16 13.202 13.209 13.295 13.302 15.156 15.164 20.0 21.0 23.55 23.71}} {richtext:font:heading0 {1.0 2.0}} {richtext:font:heading1 {3.0 4.0 10.0 11.0 19.0 20.0 22.0 23.0}} {jdoc:link:jstools.jdoc {8.50 8.75}} {jdoc:anchorname:Introduction {3.0 4.0}} {jdoc:anchorname:Evolution {22.0 23.0}} {jdoc:link:jstools.jdoc#Credits_and_Copyright {8.0 8.33}} {jdoc:anchorname:Invocation_and_Usage {10.0 11.0}} {jdoc:link:jprompts.tcl.jdoc {4.79 4.91 15.172 15.184}} {jdoc:anchorname:Example {19.0 20.0}} {jdoc:link:jprompts.tcl.jdoc#j:prompt {4.53 4.61 15.156 15.164}} {jdoc:link:localisable.jdoc {17.24 17.35}}} {{del_from 21.0} {abbrevstart 4.168} {richptr 18.0} {abbrevend 4.172} {insert 1.0} {anchor 1.0} {del_to 21.0} {current 1.2}}}