vt/ansi codes

Chuck Swiger cswiger at mac.com
Wed Jul 2 00:50:41 PDT 2003

abc at ai1.anchorage.mtaonline.net wrote:
[ ... ]
> the basis for this question was to determine if it was
> feasible to write a portable FBSD application and/or library
> without external dependencies.

You can write portable ANSI-C code using the STDIO routines, without external 
dependencies upon termcap, ncurses, or anything else but libc.

> it is understood what "ncurses" and "SLang" are for - and initially ANSI
> escape sequences seemed to provide a way to break through the burdens and
> complications of ncurses and termcap entries.

Which are?  Precisely what are you trying to do?

Do you need color?  Are you using plain text-mode stuff, or do you need 
bitmapped graphics?  If text-mode, do you need cursor positioning?  Do you care 
whether your code runs on anything but an Intel box?


More information about the freebsd-questions mailing list