you may probably want to look at my r_cons and r_line libraries from r2. 

i do buffering, autocomplete, screen filling, and works on w32 console, and 
most of terminals (st, xterm...) without guessing the termcodes. i just 
hardcode them.

http://radare.org

On Feb 9, 2012, at 18:02, Chris Siebenmann <c...@cs.toronto.edu> wrote:

> | Writing a saner library than ncurses that knows only st and try to
> | convince other terminal emulator writers to do the same: support
> | exactly the same sequences.
> 
> Replacing ncurses with a hardcoded library is not a workable approach.
> 
> Unix systems today are accessed from far more environments than simply
> X Windows terminal emulators. Even if all such programs were updated
> to the new escape sequences, an ncurses-equivalent library that only
> supports them would not work for everyone ssh'ing in to Unix systems
> from Mac OS X, from Windows, from various smartphones and other devices,
> and for those quixotic people who are still using real serial terminals
> (or in some cases emulations of them). More precisely, any program that
> used this new library would be nonfunctional for such people.
> 
>    - cks
> 

Reply via email to