Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.138.951 Times

Curses 1.15

  Date Added: June 17, 2010  |  Visits: 493

Curses

Report Broken Link
Printer Friendly Version


Product Homepage
Download (96 downloads)



Curses is a terminal screen handling and optimization. SYNOPSIS use Curses; initscr; ... endwin; Curses::supports_function($function); Curses::supports_contsant($constant); Curses is the interface between Perl and your systems curses(3) library. For descriptions on the usage of a given function, variable, or constant, consult your systems documentation, as such information invariably varies (:-) between different curses(3) libraries and operating systems. This document describes the interface itself, and assumes that you already know how your systems curses(3) library works. Unified Functions Many curses(3) functions have variants starting with the prefixes w-, mv-, and/or wmv-. These variants differ only in the explicit addition of a window, or by the addition of two coordinates that are used to move the cursor first. For example, addch() has three other variants: waddch(), mvaddch(), and mvwaddch(). The variants arent very interesting; in fact, we could roll all of the variants into original function by allowing a variable number of arguments and analyzing the argument list for which variant the user wanted to call. Unfortunately, curses(3) predates varargs(3), so in C we were stuck with all the variants. However, Curses is a Perl interface, so we are free to "unify" these variants into one function. The section "Supported Functions" below lists all curses(3) function supported by Curses, along with a column listing if it is unified. If so, it takes a varying number of arguments as follows: function( [win], [y, x], args ); win is an optional window argument, defaulting to stdscr if not specified. y, x is an optional coordinate pair used to move the cursor, defaulting to no move if not specified. args are the required arguments of the function. These are the arguments you would specify if you were just calling the base function and not any of the variants. This makes the variants obsolete, since their functionality has been merged into a single function, so Curses does not define them by default. You can still get them if you want, by setting the variable $Curses::OldCurses to a non-zero value before using the Curses package. See "Perl 4.X cursperl Compatibility" for an example of this. Objects Objects are supported. Example: $win = new Curses; $win->addstr(10, 10, foo); $win->refresh; ... Any function that has been marked as unified (see "Supported Functions" below and "Unified Functions" above) can be called as a method for a Curses object. Do not use initscr() if using objects, as the first call to get a new Curses will do it for you. Security Concerns It has always been the case with the curses functions, but please note that the following functions: getstr() (and optional wgetstr(), mvgetstr(), and mvwgetstr()) inchstr() (and optional winchstr(), mvinchstr(), and mvwinchstr()) instr() (and optional winstr(), mvinstr(), and mvwinstr()) are subject to buffer overflow attack. This is because you pass in the buffer to be filled in, which has to be of finite length, but there is no way to stop a bad guy from typing. In order to avoid this problem, use the alternate functions: getnstr() inchnstr() innstr() which take an extra "size of buffer" argument..

Requirements: No special requirements
Platforms: Linux
Keyword: Curses Function Functions Libraries Optional Programming Terminal Screen Variants
Users rating: 0/10

License: Freeware Size: 81.92 KB
USER REVIEWS
More Reviews or Write Review


CURSES RELATED
Libraries  -  ffcall 1.10
ffcall is a foreign function call libraries. This is a collection of four libraries which can be used to build foreign function call interfaces in embedded interpreters. The four packages are: avcall calling C functions with variable...
911.36 KB  
Development Tools  -  debugHelper 0.8
debugHelper is a class, that provides useful functions for daily programming tasks. The class provides JAVA style error messages for PHP. It has a nicer display of variable contents than PHPs print_r() function. It can take execution times, has a...
 
Database Tools  -  poptasticDB database access functions for Scripts 1.0v0.4
The poptasticDB database access functions are a set of PHP functions libraries designed to provide cross platform database support for PHP applications from a common programmers interface.They are free open source software released under the GNU...
20.48 KB  
Libraries  -  C++ printscreen New
C++ printscreen was designed as a framework that is supposed to provide the functions necesary to print the screen, desktop, and all the windows as well. Now you can make use of this handy component in order to take screenshots directly from C++.
 
Development Editors  -  Renesas Flash Programmer 1.02.00
Renesas Flash Programmer is programming software for a Renesas Electronics microcontroller with flash memory, which provides operations and functions specific to programming. Get Renesas Flash Programmer and take it for spin to fully assess its...
 
Shell & Desktop  -  ESBCalc - Freeware Calculator 6.2.0
ESBCalc is a Freeware Windows Scientific Calculator with Infix Notation, Brackets, Scientific Functions, Memory, Optional Paper Trail, Result History List, Customisation of the Colours/Fonts used, Customisation of the Hints, and more. Functions...
828 KB  
Miscellaneous  -  RICHVALUE 1.2
While evolving code, there is often a need to enrich an existing simple return scheme of a function by extra/optional return values. Using (variable lenght) return tuples often introduces puzzles - and the pychecker yells. In such cases the...
 
Libraries  -  DAEMon Raco Libraries 0.3
DAEMon Raco Libraries (DRLibs) is a collection of useful functions, objects, and routines for C++. Whats New in This Release: - This release adds new libraries to manage object lists: doublelist.dr.h, simplelist.dr.h, and sortedlist.dr.h..
28.67 KB  
Libraries  -  libutempter 1.1.5
libutempter project provides a library interface for terminal emulators such as screen and xterm to record user sessions to utmp and wtmp files. Whats New in This Release: - FreeBSD support has been fixed..
13.31 KB  
Screen Capture Tools  -  Screen Grabber Free 1.0.0
The AceThinker Screen Grabber Free is a comprehensive solution for people to capture screen in multiple modes while you can easily select from region, full screen and application window. You're allowed to easily switch between snapshot and...
6.39 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB