home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / shell / 5100 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  1.1 KB

  1. 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
  2. From: sbrenner@cbnewsb.cb.att.com (scott.d.brenner)
  3. Newsgroups: comp.unix.shell
  4. Subject: Question About 'tput': Is There a Way to Store Current Position?
  5. Message-ID: <1992Dec17.194742.23675@cbfsb.cb.att.com>
  6. Date: 17 Dec 92 19:47:42 GMT
  7. Sender: news@cbfsb.cb.att.com
  8. Organization: AT&T
  9. Lines: 16
  10.  
  11. Is there a way to save the current cursor position so I can put the
  12. cursor back there after doing a "tput cup X Y" ?  As part of a shell
  13. script, I want to echo a line near the bottom of the screen and then
  14. return to the previous cursor position as if I had never left.
  15.  
  16. If you have any ideas on this, please respond directly to sbrenner@att.com
  17. since I don't get to read this group as often as I'd like.
  18.  
  19. a T d H v A a N n K c S e
  20.  
  21. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  22. Scott D. Brenner
  23. AT&T Consumer Communications Services
  24. Basking Ridge, NJ
  25. sbrenner@attmail.com
  26. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  27.