Nope, Ncurses does not use escapes except in a very few esoteric cases. In fact ncurses was orriginally created to replace the old curses library. Curses had been an escape sequence based lib that was itself created orriginally to implement the game rogue. The move from curses to ncurses was primarilly motivated by the need to a terminal independent library to do the job. Curses could only run on terminals that supported the full ansi set, ncurses runs on almost any terminal. The person who did about 95% of the conversion of was Eric Raymond, and in the spirit of teh grandfather lib, the major reason for the task was to create nethack, which is a multiplatform rogue descendent - it needed a terminal independent lib to be that.
Yes, I scare myself too. A.J. On 5/22/07, Albert Zeyer <[EMAIL PROTECTED]> wrote:
Am Dienstag, den 22.05.2007, 10:09 +0200 schrieb A.J. Venter: So it's a case of which is your needs - for general console apps though - you should use ncrt because it's terminal independent and a LOT faster (ansi escapes take a long time to execute and make your whole program feel slow) Why is it faster? I always thought, that ncurses also uses escape sequences, but it is very optimized in that to minimize them.
-- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives