[comp.sys.sgi] Mysterious notifier editable region

mag@sunb5.cs.uiuc.edu (Tom Magliery) (04/17/91)

Posted for a friend; I'll be monitoring responses here, but please
send email to him directly:  weber@cs.uiuc.edu

**********************************************************************

A system command available to the IRIX System V Release 3.3.2 allows
one to create a "Notifier" window that displays a few lines of text and 
a couple of buttons that when clicked, return a user-defined value.  This
command is called "confirm", and produces a window like this:

+-------------------------------------------------------+
| Notifier						|
+-------------------------------------------------------+
|							|
| The text message is displayed here...			|
|							|
|							|
|							|
|							|
|							|
|			+-------+	+-------+	|
|			|button	|	|button	|	|
|			+-------+	+-------+	|
+-------------------------------------------------------+

Now the problem is this: for those of you who have used the "jot" editor
program, you will know that when you go to open or save a file, you get
the same style of notifier, EXCEPT you have a small line of EDITABLE text.
Ie.:

+-------------------------------------------------------+
| Notifier						|
+-------------------------------------------------------+
|							|
| Another text message is displayed here...		|
|							|
| +---------------------------------------------+	|
| | Editable text region (filenames typed here)	|	|
| +---------------------------------------------+	|
|							|
|							|
|			+-------+	+-------+	|
|			|Open < |	|Cancel	|	|
|			+-------+	+-------+	|
+-------------------------------------------------------+

How was that editable text region created????  How does the program that
created the notifier get that text returned to it?  If anybody has an answer
to how this was accomplished, I can be reached via e-mail should the solution
to this problem be rather lengthy.

				Thanks,
				Daniel E. Weber
				weber@cs.uiuc.edu


-- 
Tom Magliery      | WARNING:  Do not attempt to hang from towel, or insert
Univ. of Illinois | your head into the towel loop.  Failure to follow these
mag@cs.uiuc.edu   | simple instructions can be harmful or injurious.

eddc@opus.lerc.nasa.gov (Dave Carek) (04/18/91)

In article <280B4213.363F@ibma0.cs.uiuc.edu> mag@sunb5.cs.uiuc.edu (Tom Magliery) writes:
>
>Now the problem is this: for those of you who have used the "jot" editor
>program, you will know that when you go to open or save a file, you get
>the same style of notifier, EXCEPT you have a small line of EDITABLE text.

The utility your looking for is /usr/sbin/launch

Do a man on launch to get more info.  BTW there's alot of other cool
utilities in /usr/sbin you might want to check out.
 
-- 
-----------------------------------------------------------------------
| David Carek                   |   phone: 216-433-8396               |
| NASA Lewis Research Center    |                                     |
| Cleveland, Ohio  44135        |   email: eddc@opus.lerc.nasa.gov    |