home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / pascal / 5071 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  1.3 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
  2. From: holland@matt.ksu.ksu.edu (Rich Holland)
  3. Newsgroups: comp.lang.pascal
  4. Subject: Re: Prevent the screen from scrolling?
  5. Date: 26 Aug 1992 20:00:55 -0500
  6. Organization: Kansas State University
  7. Lines: 21
  8. Message-ID: <17h9g7INNsta@matt.ksu.ksu.edu>
  9. References: <1992Aug26.153649.147@csghsg5a.bitnet>
  10. NNTP-Posting-Host: matt.ksu.ksu.edu
  11.  
  12. 89612048s@csghsg5a.bitnet writes:
  13.  
  14. >If I am going to write anything into the last position of the screen
  15. >(80,25) or of a window, the screen is scrolling on line forward. Is there any 
  16. >possibility to prevent the screen from scrolling? Otherwise you
  17. >always have to take care that you never write into the last screen-
  18. >positio.
  19.  
  20. I've thought about this in the past, and here's what I came up with (but
  21. haven't coded yet):
  22.  
  23. Instead of calling Write(), call DirectWrite, a procedure that will copy 
  24. the ASCII value to the screen but not update the cursor position....
  25.  
  26. That, or there's probably a BIOS interrupt to do somethign similar...
  27.  
  28. -- 
  29. Rich Holland              | INTERNET: holland@matt.ksu.ksu.edu
  30. 100 Jardine Terr, Apt A7  | BITNET  : holland@ksuvm
  31. Manhattan, KS  66502-3357 | UUCP    : ...!rutgers!matt.ksu.ksu.edu!holland
  32. "Jesus saves...but Gretzky gets the rebound!  He shoots!  He scores!!"
  33.