Still have a problem or two --
-- some screen refreshes are missing; I need to understand the event
model a little better. (Workaround: ctrl-R)
-- Double-wide ascii mode with yellow cursor leaves artifacts. (Nobody
sane uses this.)
-- graphics mode transparency doesn't work, for two reasons:
* I don't have 10.4, so I can't apply an image as an alpha-mask.
* (More critically) I don't know how to preserve alpha when drawing
to a CGContext. I can make transparency work, but it runs 20x
slower. As it stands, it's about 2x faster than the original
QuickDraw implementation.
-- The correspondence between pictures and obects is pretty weak.
(Fixing this is out of scope.)
Caveats:
-- Essentially all #ifdefs have been removed. I'm not interested in
supporting archaic versions of z-term.c
Total lines of code:
3859 12063 90538 main-crb.c
22 45 338 osx.h (OSX global declarations)
208 796 5713 osx_tables.h (const data)
4089 12904 96589 total
Original:
6574 20007 140651 main-crb-old.c
I knocked out about 40% of the original code+comments.
>> Stay informed about: OSX upgrade "alpha" ready