views:

58

answers:

1

Is there a standard C header containing ansi escape sequences for say vt100 ?

+3  A: 

More a library than a header, but I think you are looking for termcap or its modern replacement terminfo.

Or perhaps the higher-level curses. Or in this case, the drop-in replacement ncurses.

Pascal Cuoq
@Pascal: can you elaborate? I thought most systems switched over to the [terminfo](http://en.wikipedia.org/wiki/Terminfo)? Though, yes, (n)curses is the right way to access the terminal information DB.
Dummy00001
@Dummy00001 Yes, it seems that terminfo should be mentioned.
Pascal Cuoq