Re: [dev] [st and terminals] About escape sequences and stuff

From: pancake <>
Date: Thu, 9 Feb 2012 18:15:54 +0100

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.

On Feb 9, 2012, at 18:02, Chris Siebenmann <> 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
Received on Thu Feb 09 2012 - 18:15:54 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 09 2012 - 18:24:04 CET