Programming with Curses: UNIX C Library for Screen Manipulation

Overview

curses is a UNIX library of functions for controlling a terminal's display screen from a C program. It can be used to provide a screen driver for a program (such as a visual editor) or to improve a program's user interface.

This handbook will help you make use of the curses library in your C programs. We have presented ample material on curses and its implementation in UNIX so that you understand the whole, as...

See more details below
Paperback (New Edition)
$13.90
BN.com price
(Save 7%)$14.95 List Price
Other sellers (Paperback)
  • All (27) from $1.99   
  • New (3) from $5.59   
  • Used (24) from $1.99   
Sending request ...

Overview

curses is a UNIX library of functions for controlling a terminal's display screen from a C program. It can be used to provide a screen driver for a program (such as a visual editor) or to improve a program's user interface.

This handbook will help you make use of the curses library in your C programs. We have presented ample material on curses and its implementation in UNIX so that you understand the whole, as well as its parts.

Note: This handbook covers Ken Arnold's original Berkeley implementation of curses, not the System V version.

Topics covered include:

  • Windows, screens, and images.
  • Multiple windows.
  • The WINDOW structure.

Curses is a UNIX library of functions for controlling a terminal's display screen from a C program. It can be used to provide a screen driver for a program (such as a visual editor) or improve a program's user interface. This handbook will help you make use of the curses library in your C programs. The book covers Windows, screens and images; multiple windows; and the Window structure.

Read More Show Less

Product Details

  • ISBN-13: 9780937175026
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 1/28/1986
  • Series: Nutshell Handbooks Series
  • Edition description: New Edition
  • Pages: 76
  • Product dimensions: 5.54 (w) x 8.45 (h) x 0.24 (d)

Meet the Author

John Strang now finds himself "a consumer--rather than a producer of Nutshells." He is currently a diagnostic radiologist (MD) at Stanford University. He is married to a pediatrician, Susie, and they have two children, Katie and Alex. John enjoys hiking, bicycling, and dabbling in other sciences. He plans to use his experience as an author at ORA to write his own book on radiology.

Read More Show Less

Table of Contents

Programming with curses
Preface
A Library for Screen Manipulation .................... 1
Scope of this Handbook ............................... 2

1 Understanding Windows
Introduction ......................................... 3
Windows, Screens and Images .......................... 4
Multiple Windows ..................................... 9
The WINDOW Structure ................................ 11

2 Terminal Independence
Introduction ........................................ 15
What is Terminal Independence? ...................... 16
Examining the Header File ........................... 20

3 The Curses Library
Introduction ........................................ 25
Using the Curses Library ............................ 26
The Spreadsheet Program ............................. 26
The Curses Functions ................................ 29
Sample Program ........................................ 63
Quick Reference
Window-Specific Functions ........................... 71
Move and Act Functions .............................. 71

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)