home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!ames!olivea!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsc!cbfsb!cbnewsb.cb.att.com!sbrenner
- From: sbrenner@cbnewsb.cb.att.com (scott.d.brenner)
- Newsgroups: comp.unix.shell
- Subject: Question About 'tput': Is There a Way to Store Current Position?
- Message-ID: <1992Dec17.194742.23675@cbfsb.cb.att.com>
- Date: 17 Dec 92 19:47:42 GMT
- Sender: news@cbfsb.cb.att.com
- Organization: AT&T
- Lines: 16
-
- Is there a way to save the current cursor position so I can put the
- cursor back there after doing a "tput cup X Y" ? As part of a shell
- script, I want to echo a line near the bottom of the screen and then
- return to the previous cursor position as if I had never left.
-
- If you have any ideas on this, please respond directly to sbrenner@att.com
- since I don't get to read this group as often as I'd like.
-
- a T d H v A a N n K c S e
-
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Scott D. Brenner
- AT&T Consumer Communications Services
- Basking Ridge, NJ
- sbrenner@attmail.com
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-