[Urwid] Patches to the library: more attributes and colors

Derek Peschel dpeschel at eskimo.com
Tue Jul 25 12:27:08 EDT 2006


On Tue, Jul 25, 2006 at 09:46:03AM -0400, Ian Ward wrote:
> What's really missing is an escape sequence that would report how a
> terminal will display a given set of characters.  I'd love to be able to
> ask the terminal:
> 1. "do you have glyphs for the following characters? (and how many
> characters do you think I sent you)"
> 2. "do you think you understand this escape sequence?"

Interesting!  Would 2. include the escape sequence or use some kind of ID?
DEC terminals do have some "report features" escape sequences, but the
feature set is limited and I doubt you can trust all the emulators.

> I would love it if something like these were added to the real xterm.

I got a bounce from Tom Dickey's address, so we may have to resend him
the whole thread.

> I don't want to duplicate the work of others, but if the information
> termcap gives me is incomplete, and I can't probe for the information I
> need, I'm not sure what else to do.

When you put it that way...  Hopefully the new database entries will be
backed up by lots of test cases.

-- Derek




More information about the Urwid mailing list