Ben Harris
d63d02b743
Don't try to initialise the palette unless we have Color QuickDraw. This gets
...
PuTTY running on my Mac SE again (albeit very slowly and with scroll
optimisation broken for some reason).
[originally from svn r2253]
2002-11-23 22:36:56 +00:00
Ben Harris
d60ea36673
Add a Config * argument to ldisc_create(), and use it in place of the global
...
cfg throughout ldisc.c. Not tested other than on Mac, but all other ports
just pass &cfg as this argument for now.
[originally from svn r2250]
2002-11-23 20:02:38 +00:00
Ben Harris
8280e645e4
Add a "Config *" argument to term_init(), and use that instead of the global
...
cfg throughout the terminal emulator. Not tested in PuTTY and pterm, but they
just pass in &cfg.
[originally from svn r2248]
2002-11-23 19:01:01 +00:00
Ben Harris
721399ac82
On a keypress, hide the mouse cursor, send the key to the line discipline
...
(rather than straight to the backend), and then prod the terminal. I think
this is closer to the correct set of things to do.
[originally from svn r2245]
2002-11-23 14:22:11 +00:00
Ben Harris
1eef3b7e84
Remove a debugging printf.
...
[originally from svn r2243]
2002-11-23 13:16:36 +00:00
Ben Harris
55c618d344
Fiddle with mac_initpalette() so that the cursor works in 2bpp modes as well.
...
[originally from svn r2233]
2002-11-20 00:33:44 +00:00
Ben Harris
55fc07c583
Remove has_focus from Session and use the one in Terminal. Active vs passive
...
cursor now behaves correctly.
[originally from svn r2232]
2002-11-20 00:11:05 +00:00
Ben Harris
d50ad9ddb9
Remove CURSOR_FG_BOLD and CURSOR_BG_BOLD, and hence bring reality in line
...
with palette_reset()'s expectations.
[originally from svn r2231]
2002-11-19 23:59:27 +00:00
Ben Harris
93a461028b
Pass co-ordinates to term_paint() in characters rather than pixels. Partial
...
redraws now work rather better.
[originally from svn r2230]
2002-11-19 22:05:48 +00:00
Ben Harris
c4eebb49a9
Tentative merge of ben-mac-port (only dead for three years!) into the trunk.
...
This doesn't include any mkfiles.pl glue, and is missing one or two other
fixes. The terminal emulator is kind of working, though, as, I believe, is
the store module. Everything else is yet to be done.
[originally from svn r2226]
2002-11-19 02:13:46 +00:00