home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / cpm / term / cls.lbr / CLS.DOC < prev   
Encoding:
Text File  |  1985-11-17  |  2.6 KB  |  48 lines

  1. CLS.COM - A "SCREEN" DOCUMENTARY.
  2.  
  3. Dear Friends:
  4.  
  5.     I suspect that most of us have wished that the earlier versions of 
  6. CP/M had a clear screen - home cursor command. I know I have. For that matter,
  7. I also always wanted the command in early versions of Microsoft (TM) Basic.
  8.     Remember though, when Gary Kildall wrote CP/M and Bill Gates wrote the
  9. first versions of Altair Basic, (for you young folks - this was in the Dark
  10. Ages - 1975 and 1976), most of the micro-computer community used as their
  11. terminals the terrible, noisy, 'leaks oil like some cars', MONSTER called
  12. a Teletype (TM) Model 33.
  13.     I built an Altair (TM) 8800B, (like the one Steve Jobs and Steve
  14. Wozniak could not afford) which started this whole thing, from the kit in
  15. early 1977 and had such a terminal.
  16.     If anyone ever knew how to 'home the cursor and clear the screen'
  17. on a Teletype (TM), I never heard of it here in Mississippi and I doubt
  18. somehow that anyone else did either.
  19.     Therefore, please "forgive" Gary Kildall and Bill Gates for not
  20.  including these commands in their early programming 'works of art'.
  21.     I certainly have.
  22.     Still, I have always wanted this command and it is not even present
  23. on my version of CP/M vers. 2.2G (for my Kaypro 4 84).
  24.     Therefore, in an uncharacteristic 'fit' of energy recently, I came
  25. up with the enclosed 'life work epic' which must run at least 15 or 20 bytes 
  26. of 'dreaded' machine language code. If you study it carefully, it is a
  27. bit more elegant than you might, at first, suspect.
  28.     Not surprisingly, I call it CLS.COM.
  29.     I have used this little program with great pleasure for the past few
  30. months and now I would like to share it with you. I know, because of that
  31. 'feature' of CP/M, that any program, no matter how small, takes up 2K of
  32. disk space; but I think it is worth the space - even if it's on every disk.
  33.     I find that it is my third most used program, right behind SD.COM
  34. and NSWEEP.COM.
  35.     I like it so much that my 'pride of authorship' and ego want me to
  36. stamp it with my name - or initials, at the very least - especially since
  37. I am sure that it is the only program I have ever written that amounts to
  38. a 'hill of beans'.
  39.     Alas! If I did that, it would defeat the whole purpose of it,
  40. wouldn't it?
  41.      Sometimes, "life is not always fair" as President Kennedy once
  42. reminded us.
  43.     Oh, well, for what it's worth, here it is and I really do hope you
  44. enjoy it but, please...
  45.     If you ever see my name again, just mumble, "I've seen that name
  46. somewhere before, but I don't remember where!"
  47.  
  48.     Regards, ERNEST SPENCER of Jackson, Ms., W5PQY.  06/06/85