mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
709a94e5f2
The active terminal screen is no longer an array of `unsigned long' encoding 16-bit Unicode plus 16 attribute bits. Now it's an array of `termchar' structures, which currently have 32-bit Unicode and 32 attribute bits but which will probably expand further in future. To prevent bloat of the memory footprint, I've introduced a mostly RLE-like compression scheme for storing scrollback: each line is compressed into a compact (but hard to modify) form when it moves into the term->scrollback tree, and is temporarily decompressed when the user wants to scroll back over it. My initial tests suggest that this compression averages about 1/4 of the previous (32 bits per character cell) data size in typical output, which means this is an improvement even without counting the new ability to extend the information stored in each character cell. Another beneficial side effect is that the insane format in which Unicode was passed to front ends through do_text() has now been rendered sane. Testing is incomplete; this _may_ still have instabilities. Windows and Unix front ends both seem to work as far as I've looked, but I haven't yet looked very hard. The Mac front end I've edited (it seemed obvious how to change it) but I can't compile or test it. As an immediate functional effect, the terminal emulator now supports full 32-bit Unicode to whatever extent the host platform allows it to. For example, if you output a 4-or-more-byte UTF-8 character in Unix pterm, it will not display it properly, but it will correctly paste it back out in a UTF8_STRING selection. Windows is more restricted, sadly. [originally from svn r4609] |
||
---|---|---|
.. | ||
.cvsignore | ||
mac_res.r | ||
mac.c | ||
mac.h | ||
macabout.c | ||
macctrls.c | ||
macdlg.c | ||
macevlog.c | ||
macmisc.c | ||
macnet.c | ||
macnoise.c | ||
macpgen.c | ||
macpgen.r | ||
macpgkey.c | ||
macpgrid.h | ||
macresid.h | ||
macstore.c | ||
macstuff.h | ||
macterm.c | ||
macucs.c | ||
mkputty.mpw | ||
mtcpnet.c | ||
otnet.c | ||
README.mac | ||
stricmp.c | ||
version.r | ||
vsnprint.c |
$Id: README.mac,v 1.28 2003/02/23 00:13:17 ben Exp $ Information about PuTTY for the Mac OS -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Compiling it: See ../README for generic information. To compile PuTTY for Mac OS you will need: MPW <ftp://ftp.apple.com/developer/Tool_Chest/Core_Mac_OS_Tools/MPW_etc./ MPW-GM_Images/MPW-GM.img.bin> Install this in the usual way. Universal Headers <ftp://ftp.apple.com/developer/Development_Kits/ UniversalHeaders3.4.2.img.bin> Install using the script in "Documentation:MPW Users - ReadMe". Text Encoding Converter SDK <ftp://ftp.apple.com/developer/Development_Kits/TEC_1.5.sit.hqx> Copy contents of "68K Static Libraries" to "Interfaces&Libraries:Libraries:Libraries". Copy contents of "Stub Libraries" to "Interfaces&Libraries:Libraries:SharedLibraries". CarbonStdCLib.o <ftp://ftp.apple.com/developer/Tool_Chest/Core_Mac_OS_Tools/ MPW_Website_Downloads/CarbonStdCLib.o-3.8d3.hqx> Copy contents of "CIncludes" to "Interfaces&Libraries:Interfaces:CIncludes". Copy contents of "PPCLibraries" to "Interfaces&Libraries:Libraries:PPCLibraries". The "mkputty.mpw" script does all the work, and currently producess a Classic 68K build of PuTTY called "PuTTY.68k", a non-Carbon PowerPC build called "PuTTY.ppc", and similar builds of PuTTYtel called "PuTTYtel.68k" and "PuTTYtel.ppc". The CFM-68K build is currently disabled because it overflows the global data space and I can't work out how to stop this happening. The Carbon build doesn't work yet. Runtime requirements: The Classic 68K build of PuTTY should work on any Macintosh running System 7.0 or later. It runs in the Classic environment in Mac OS X. The CFM-68K build of PuTTY should work on any Macintosh with a 68020, 68030 or 68040 processor and with either the CFM-68K Runtime Enabler or Mac OS 7.6.1 or later installed. The PowerPC build of PuTTY should work on any Power Macintosh. It runs in the Classic environment in Mac OS X. The Carbon build of PuTTY (when it works) should work on any Power Macintosh with CarbonLib (and Mac OS 8.1 or later), Mac OS 9 or Mac OS X installed. Known bugs: * Display is far too slow. * Real bold doesn't compensate for changing character widths without Color QuickDraw. [MAYBE FIXED] * When the last terminal window closes, the Edit menu doesn't get disabled immediately, which it should. * When using the "VT100" font, text copied to the clipboard doesn't get newlines in it, because that font has a graphic character at position 0x0d. Even if we did insert 0x0d manually, TextEdit insists on displaying the graphic version, so I think we need a font switch at this point. This can be seen as a special case of the need to switch fonts to get odd characters. * Pasting large blocks of text doesn't work. Unimplemented features (should be done before release): * TCP urgent data. * Listening sockets. * Changing font size in reponse to resize requests. * Full screen mode. * Session configuration. * Host key database. * Entropy collection. * Private key files. * Pageant and PuTTYgen. * Do something with Open Application Apple Events. * Warn-on-close. * Close-on-exit. * Warn-on-quit. * Flashing things. * Non-block cursors. Wishlist (after release): * SFTP client (GUI?) * Carbon compatibility (requires Open Transport and Navigation Services). * 'styl' paste, for script codes. * Handle 'gurl' Apple Events. Local Variables: mode: text End: