Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!van-bc!ubc-cs!kiwi!zaphod!swong From: swong@zaphod.mpr.ca (Susan Wong) Newsgroups: comp.windows.x Subject: Xterm buffer printing Keywords: Xterm Message-ID: <2126@kiwi.mpr.ca> Date: 9 Apr 90 06:34:54 GMT Sender: news@eric.mpr.ca Reply-To: swong@zaphod.mpr.ca (Susan Wong) Organization: Microtel Pacific Research Ltd. Lines: 24 Hi! I'm currently looking for a way to print the text buffered up in an xterm. What I would like to happen is this: 1) user selects "Print Buffer" out of one of the xterm menus 2) all the text in the scroll buffer gets printed on the user's default printer I figure the only way to achieve this is to dive into the xterm source. However, having had a quick look at the source (and the warnings - "Abandon All Hope, Ye Who Enter Here") I've realized that this not going to be easy. Does anyone have any advice - like where in the source to look for access to the buffer contents? I think that this would be a universally useful feature since the only other way to print xterm contents would be to use the logging feature and printing the log file. I would be happy to hear *ANY* suggestions! Thanks for listening, Susan