jdpeek@SUNRISE.ACS.SYR.EDU ("Peek, Jerold Devin") (04/27/89)
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<newline> this is another line<newline> 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: <move to line 1, column 1>this is a line of text<move to line 2, column 1>this 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