Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!oberon!cit-vax!tybalt.caltech.edu!uhley From: uhley@tybalt.caltech.edu (John Uhley) Newsgroups: comp.windows.x Subject: X11 "Textwidget" for user input? Message-ID: <7030@cit-vax.Caltech.Edu> Date: 22 Jun 88 18:39:10 GMT Sender: news@cit-vax.Caltech.Edu Reply-To: uhley@tybalt.caltech.edu (John Uhley) Organization: California Institute of Technology Lines: 17 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