Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!SUNRISE.ACS.SYR.EDU!jdpeek From: jdpeek@SUNRISE.ACS.SYR.EDU ("Peek, Jerold Devin") Newsgroups: comp.sources.wanted Subject: Convert screen with cursor positioning into ASCII file? Message-ID: <8904261800.AA16549@ucbvax.Berkeley.EDU> Date: 26 Apr 89 18:57:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 20 A lot of UNIX programs display text on the screen by spewing out the characters with newlines at the ends of lines: this is a line of text this is another line Those are easy to capture into a script(1) file. But some programs and operating systems use absolute cursor positioning with escape sequences that tell the cursor how to move: this is a line of textthis is another line When I try to get this into a sequence of characters in a script file that looks like the first example above, it's not easy... Stripping out the escape sequences to leave the text is a big help -- but something smarter that could build text screen images from the escape sequences would be even better. Anybody have anything like this running in any language on UNIX, DOS, VMS, Macintosh, or CMS? Thanks. --Jerry Peek; Syracuse University; Syracuse, NY; +1 315 443-3995 jdpeek@rodan.acs.syr.edu, jdpeek@suvm.bitnet, SUNRIS::JDPEEK