I'm going to post a series of 6 patches for dvtm over the next several minutes. They all apply to the current HEAD of the dvtm git repository (committed 2011-01-07). I think I've teased them all apart pretty well so that each one is separate and complete.
1. support for compiling under AIX 2. support the 8 basic highlighted colors, plus a couple of color_hash fixes 3. fix a scrolling issue and add in "ESC #" to call interpret_esc_SCS() 4. support for "ESC 6 n", get cursor position, which calls a new function, send_curs() 5. support colorrules[] to match strings against window titles, applycolorrules(), and call madtty_set_dflt_colors() 6. support to backfill text from the buffer when a windows is resized with more rows Comments, testing, and bugfixes sincerely welcome! Cheers! -Ross