Path: utzoo!attcan!uunet!husc6!cmcl2!rutgers!apple!bloom-beacon!athena.mit.EDU!swick From: swick@athena.mit.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: Did I miss something to deal with the text widget? Message-ID: <8809051737.AA07085@LYRE.MIT.EDU> Date: 5 Sep 88 17:37:05 GMT References: Sender: daemon@bloom-beacon.MIT.EDU Organization: DEC/MIT Project Athena Lines: 22 Date: Thu, 1 Sep 88 16:39:54 -0400 (EDT) From: Yin-Cheng Tsai I assume you're referring to the Athena text widget... The text widget only accepts 100 characters Right default, wrong analysis. You must set the length resource (XtNlength) if you want other than the default value. The newline procedure in text widget does nothing about string output. How can I get the string displayed on that widget right after I press the ENTER key? You need to override the translation binding for ENTER and register a global action procedure. How to create an AsciiDiskWidget? I assign a string (char *) onto the XtNfile argument. But the program runs into a fatal error Your description of your code sounds correct.