Path: utzoo!mnetor!uunet!husc6!hao!gatech!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!iuvax!inuxc!ihnp4!upba!unocss!ca055 From: ca055@unocss.UUCP (David B. Caplinger) Newsgroups: comp.os.vms Subject: reliably returning the cursor position on a vt2xx Message-ID: <240@unocss.UUCP> Date: 15 Feb 88 00:38:54 GMT Distribution: na Organization: U. of Nebraska at Omaha Lines: 20 Sorry if this is a dumb place to put this, but I don't know where /else/ to send it... I'm trying to run a process in the background (via spawn/nowait/noinput) that takes over the top 4 lines of the screen, sets up the scroll region below that (so it won't get erased), and update the display on top every 30 seconds. The only problem I have so far is: The cursor never goes back to the original position after the background process updates. Sure, I used ESC 7 and ESC 8, but the cursor still winds up on the beginning of the next line, after scroll- ing the lower region. Argh! (I added a reverse-index at the end, and now it's on the same /line/ at least, but the coloumn is still wrong.) Is there any way to make sure the cursor position is retored /where it left off/, instead of the next line? (Perhaps it /is/, and it's getting moved somehow? Has anyone else had a problem like this?) -/ Dave Caplinger /- ihnp4!unocss!ca055 (preferred) unocc07@zeus.unl.edu