[comp.windows.x] X11 "Textwidget" for user input?

uhley@tybalt.caltech.edu (John Uhley) (06/23/88)

Is it appropriate (ie: easy) to use a TextWidget as a window in
which a user can type in text which will be interpreted by 
an application as commands?  I need to replace the command section of
a program which uses "getchar()" with an X11 window which passes 
entered text to the applications command interpreter.

I tried using the distributed "xtext.c" demo (in 'examples/Xaw/xtext.c')
but each time I hit a key I get "beeped" at by my Sun.  I modified the
code here to use the Edit and Append type of text selection...  Any leads
would be appriciated...

	Thanks,


		John Uhley
		uhley@tybalt.caltech.edu