Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!xanth!mcnc!duke!romeo!pusateri From: pusateri@romeo.cs.duke.edu (Thomas J. Pusateri) Newsgroups: comp.windows.x Subject: athena asciiDiskWidget Keywords: athena widget Message-ID: <15342@duke.cs.duke.edu> Date: 21 Aug 89 21:23:22 GMT Sender: news@duke.cs.duke.edu Distribution: usa Lines: 24 I've been trying to display multiple columns of data in an athena text widget (asciiDiskWidgetClass). The lines of data turn out to be longer than the widget so I set the scrollVertical | scrollHorizontal as Options. However, no horizontal scrollbars ever exist and my line just gets chopped off in the middle. When the application writes another line of text to the bottom of the file, the asciiDiskWidget does not keep up with the file. This is understandable so I called XtTextDisplay(w) but it still didn't realize more text had been added. Now I guess I could use XtTextSetLastPos() but why should I have to keep track of how many characters are in the file? If the file already exists when I start, I would have to read the entire file when I open it to count characters and then rewind it so the widget could read it. Has anyone else experienced similar problems? What is the best way to provide a window into a large file? Are there any patches for the Athena Text Widgets that aren't in the fixes 1-10? Thanks for any info. Tom Pusateri National Biomedical Simulation Resource pusateri@nbsr.mc.duke.edu