774 Part VI . (Anonymous web server) Programming in Linux Figure
774 Part VI . Programming in Linux Figure 28-5: An ncursesbased TUI. Figure 28-6: Displaying input piped to an ncurses-based program. As you saw with the command pipeline used with the readkey.c program (shown in Listing 28-2), the input is truncated at the end of the first line because each line in /etc/passwd ends with the newline character, and readkey.c uses the newline character to signal the end of input. For more information about ncurses, including download information, visit the ncurses Web page at http://dickey.his.com/ncurses/ncurses.html. Creating Text-Mode User Interfaces with S-Lang S-Lang, created by John Davis, is an alternative to ncurses for creating TUIs. In addition to providing screen manipulation and cursor control routines, S-Lang also consists of an embeddable S-Lang interpreter, a large library of built-in (intrinsic) routines that simplify certain parts of programming, and a variety of predefined data types and data structures. Listing 28-4 shows the same program as Listing 28-3, with appropriate updates to reflect use of S-Lang instead of ncurses. Note
We recommend high quality webhost to host and run your jsp application: christian web host services.