3 Apr 2002 Omnifarious   » (Journeyer)

Ugh! Terminal libraries are so misdesigned. GNU readline almost demands to talk to a real terminal. ncurses definitely does. They all use global variables so you can't talk to more than one at a time.

All these libraries do is parse incoming characters and send characters back out according to a set of rules about what a terminal is supposed to understand. Parsers like bison allow you multiple parser instances and allow you a fair amount of flexibility regarding input sources. Why can't readline or ncurses?!

*sigh*

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!