Shell curses

Shell Curses is a terminal control library for Unix-like systems, enabling the construction of applications. The purpose of the function library is to provide the shell programmer with the ability to move the cursor to specific locations on the screen and display text or read input from a user. It consists of a library of functions that manage the display of a shell program or application on character-cell terminals (e.g., VT100).
Shell Curses function library was written by Dana L. French and originally released with French Menus in circa 1993, where it was used for building text based menus and data entry screens for database user interfaces. It was originally written in Bourne shell syntax utilizing the tput binary utility available on all Unix based systems. Later versions of Shell Curses were ported to Korn Shell, Korn Shell 93, and Bash.
For a simple shell utility, program, or application that does not require bit-mapped graphics or multiple fonts, an interface implementation using Shell Curses will usually be much simpler than one using an X toolkit or the "C" language curses library. Using Shell Curses, shell programmers are able to write text-based applications without writing directly for any specific terminal type. The Shell Curses function library on the executing system sends the correct control characters based on the terminal type. Also, since it is shell code, the programs generated using Shell Curses do not need to be compiled.
Although the Shell Curses function library was initially developed as Bourne Shell code under AT&T System V Release 4, since it is shell code, it ports unmodified to any Unix system, and between Bourne compatible shells. The syntax and arguments of using each function is also very similar to the corresponding curses function.
Numerous menuing and data entry systems exist based on shell curses and are used for a variety of purposes such as system administration, application administration, installation, database interaction, and others.
< Prev   Next >