|
From: | Thomas Dickey |
Subject: | Re: How to interpret ansi escape code like "\033[; 1; 31mHello World\033[0m"? |
Date: | Wed, 19 Nov 2008 18:27:13 -0500 (EST) |
On Thu, 20 Nov 2008, Tim Allen wrote:
Note that the control-sequences documentation lists various features, but doesn't mention any of the interaction corner-cases. Maybe the ECMA-48 standard (sometimes called 'ansi') defines some of the corner-cases, but I'll bet it doesn't mention things like double-width characters, Unicode or resizable terminals.
ECMA-48 is good reading to see the expected form of escapes in the early sections (some terminals advertised as "vt100"-like do not always follow this, however...). ECMA-48 tells about the sequences to send to a terminal to control it, and does not deal with inputs such as function-keys.
It also doesn't go into _behavior_ very much. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |