Which way is better in C ?
Ben Duncan
bns
Thu Jan 20 09:27:36 PST 2005
While true, ncurses has a lot going, it also leaves a lot to be desired.
S-Lang has pretty much the same as ncurses, but has a lot of bases covered.
Example, ncurses leaves one with figuring out function key and special
key sequences return codes. S-lang simply returns a common "code" for whatever
function/special key is pressed REGARDLESS of the terminal type.
There are several ready to use wrapper functions ready to run out of the box
in S-Lang and S-Lang comes with it's own nifty , powerful language.
SLrn, jed, most, lynx, dosemu, SLirc, Red Hat installer using newt,
are all written using S-Lang and/or the S-Lang libraries.
Roger Oberholtzer wrote:
> On Tue, 2005-01-18 at 16:18, Ben Duncan wrote:
<SNIP>
>
>>From a C POV, wouldn't you use ncurses? That has a concept of the
> screen, occluding windows, and replacing the text that is no longer
> covered by a pop-up (i.e., a menu). I have a few apps that use the
> screen info to keep track of what a user types in an area of the screen.
> But ncurses will make your life easier for this. And eliminate terminal
> dependencies in your code and all.
>
>
--
Ben Duncan - VersAccounting Software LLC 336 Elton Road Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
- Hanlon's Razor
More information about the Linux-users
mailing list