Roland Mainz <[EMAIL PROTECTED]> wrote:
> This is slightly offtopic but due lack of a better list for this I am > asking this here: > Does Solaris have any C API (maybe something in libc ?) which works like > /usr/bin/clear but does not require a |fork()| (=expensive call) nor > uses libcurses/libncurses (e.g. adds another library dependicy) ? There is no way to do this without using a terminal capability database. It you believe that lib*curses is too expensive, I recommend you to get libxtermcap from ved ftp://ftp.berlios.de/pub/ved/alpha/ This is a lightweight from scratch implementation of good old termcap with the BSD-4.4 TERMPATH extensions. Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED] (uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ opensolaris-discuss mailing list [email protected]
