ANSI ESCAPE SEQUENCES
Chris Torek
chris at mimsy.umd.edu
Tue Nov 13 20:20:19 AEST 1990
In article <1746 at ruunsa.fys.ruu.nl> demoel at ruunsa.fys.ruu.nl
(Ed de_Moel) writes:
>The ANSI standard for device control (not just CRT's but any
>output device!) exists since 1979. It really amazes me
>that UNIX people, unlike the rest of the world keep using
>non-standard (and hence non-portable) code using termcaps libraries.
Tell that to the manufacturers of about half the terminals in use at
our University, none of whom saw fit to implement X3.64.
If our software required ANSI terminals, it would not work.
In addition, merely knowing that a terminal's software followed the
recommendations in X3.64 is not enough to control it fully, because
you have no idea:
- whether the device implements underline, bold, italics, etc
- how many rows and columns there are
- whether the device is a CRT or a printer
- if the device is a CRT, which editing modes it implements
and so on.
X3.64 is a good (if annoyingly complicated) start, but it is not The Answer.
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 405 2750)
Domain: chris at cs.umd.edu Path: uunet!mimsy!chris
More information about the Comp.lang.c
mailing list