home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / apple2 / 17861 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  2.0 KB

  1. Path: sparky!uunet!gatech!destroyer!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!TSENGR.dnet.ge.com!TEFFTA
  2. From: TEFFTA@TSENGR.dnet.ge.com (Andrew Tefft)
  3. Newsgroups: comp.sys.apple2
  4. Subject: answers to mousetext & hyperc problems
  5. Message-ID: <9207241442.AA00701@aitgw.ge.com>
  6. Date: 24 Jul 92 14:53:28 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 29
  11.  
  12. Through some playing around and some helpful info from a few people, this
  13. is what I have figured out:
  14.  
  15. 1) in hyperc, placing a visible cursor on a mousetext character has the
  16.    effect of changing the mousetext to inverse uppercase.
  17.  
  18. 2) in hyperc, printing a `\n' causes the cursor position to move to
  19.    the leftmost column, and then down one position. This has the effect
  20.    of wiping out any mousetext in column 1 if you print a \n at the end of
  21.    that line.
  22.  
  23. 3) Making the cursor invisible, and making it visible again only after the
  24.    newline is printed, will prevent the wiping out of mousetext.
  25.  
  26. 4) Mousetext characters are stored in screen memory as the ascii uppercase
  27.    characters with the high bit cleared, or in that range (e.g. the open apple
  28.    is stored as a 65). Inverse uppercase characters are in the range 1-26 
  29.    (or thereabouts), and normal uppercase are stored as their ascii values
  30.    with the high bit set. This means that one can directly query the screen
  31.    memory and immediately know whether the character there is mousetext or not.
  32.  
  33. 5) printing the characters retrieved from screen memory (in hyperc) will
  34.    not produce mousetext. Directly storing them to screen memory WILL
  35.    produce mousetext, or inverse, or normal, i.e. whatever *was* there
  36.    can be put back there by directly storing it in screen memory. To actually
  37.    *print* a mousetext character requires printing characters 15 (inverse mode),
  38.    27 (start mousetext), uppercase characters, then 14 (turn off inverse, if
  39.    desired), 24 (turn off mousetext).
  40.  
  41.