Coder Social home page Coder Social logo

cpressey / ncurses_programs Goto Github PK

View Code? Open in Web Editor NEW
38.0 6.0 10.0 163 KB

git-ification/cleanup of the source code for "NCURSES Programming HOWTO".

Home Page: http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/

License: Other

C 90.89% Perl 9.11%
ncurses example-code

ncurses_programs's Introduction

This is the top level README file.
This directory is structured as follows:

ncurses
   |
   |----> JustForFun         -- just for fun programs
   |----> basics             -- basic programs
   |----> demo               -- output files go into this directory after make
   |          |
   |          |----> exe     -- exe files of all example programs
   |----> forms              -- programs related to form library
   |----> menus              -- programs related to menus library
   |----> panels             -- programs related to panels library
   |----> perl               -- perl equivalents of the examples (contributed
   |                            by Anuradha Ratnaweera)
   |----> Makefile           -- the top level Makefile
   |----> README             -- the top level README file. contains instructions
   |			             -- to create executables for example programs

To compile and install all example programs, just run make in this directory.
	
	make

It installs all the exe files in demo/exe directory. You can go to that direcory
and see the examples in action.

Have Fun !!!
					-- Pradeep Padala

Description of files in each directory
--------------------------------------
JustForFun
    |
    |----> hanoi.c	-- The Towers of Hanoi Solver
    |----> life.c	-- The Game of Life demo
    |----> magic.c	-- An Odd Order Magic Square builder 
    |----> queens.c	-- The famous N-Queens Solver
    |----> shuffle.c	-- A fun game, if you have time to kill
    |----> tt.c		-- A very trivial typing tutor

  basics
    |
    |----> acs_vars.c	    -- ACS_ variables example
    |----> hello_world.c	-- Simple "Hello World" Program
    |----> init_func_example.c	-- Initialization functions example
    |----> key_code.c		-- Shows the scan code of the key pressed
    |----> mouse_menu.c		-- A menu accessible by mouse
    |----> other_border.c	-- Shows usage of other border functions apart
    |				        -- box()
    |----> printw_example.c	-- A very simple printw() example
    |----> scanw_example.c	-- A very simple getstr() example
    |----> simple_attr.c	-- A program that can print a c file with comments
    |				-- in attribute
    |----> simple_color.c	-- A simple example demonstrating colors
    |----> simple_key.c		-- A menu accessible with keyboard UP, DOWN arrows
    |----> temp_leave.c		-- Demonstrates temporarily leaving curses mode
    |----> win_border.c		-- Shows Creation of windows and borders
    |----> with_chgat.c		-- chgat() usage example

  forms 
    |
    |----> form_attrib.c	-- Usage of field attributes
    |----> form_options.c	-- Usage of field options
    |----> form_simple.c	-- A simple form example
    |----> form_win.c		-- Demo of windows associated with forms

  menus 
    |
    |----> menu_attrib.c	-- Usage of menu attributes
    |----> menu_item_data.c	-- Usage of item_name() etc.. functions
    |----> menu_multi_column.c	-- Creates multi columnar menus
    |----> menu_scroll.c	-- Demonstrates scrolling capability of menus
    |----> menu_simple.c	-- A simple menu accessed by arrow keys
    |----> menu_toggle.c	-- Creates multi valued menus and explains
    |				-- REQ_TOGGLE_ITEM
    |----> menu_userptr.c	-- Usage of user pointer
    |----> menu_win.c		-- Demo of windows associated with menus

  panels 
    |
    |----> panel_browse.c	-- Panel browsing through tab. Usage of user pointer
    |----> panel_hide.c		-- Hiding and Un hiding of panels
    |----> panel_resize.c	-- Moving and resizing of panels
    |----> panel_simple.c	-- A simple panel example
 
  perl
    |----> 01-10.pl	        -- Perl equivalents of first ten example programs

ncurses_programs's People

Contributors

cpressey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.