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

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

Serving Software Downloads in 976 Categories, Downloaded 29.610.407 Times

Curses 1.15

  Date Added: June 17, 2010  |  Visits: 315

Curses

Report Broken Link
Printer Friendly Version


Product Homepage
Download (72 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  -  LIBH 0.8.5 Alpha
LIBH is a collection of functions for C programming intended to be helpful or handy for C programmers. Many of these functions originated with various programming projects where they were needed. Other functions were then added to fill out the...
757.76 KB  
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...
 
Photo & Video  -  3G MVS 3.5
This mobile client software is for the mobile application of video surveillance devices, with multiple functions including GPS, alarm info, screen capture, two-way auido, playback and so on. Requirements: iOS 6.0 or later. Compatible with...
6.6 MB  
Utilities  -  Hexulator 1.0
Hexulator is a simple hex calculator that performs unsigned operations. The calculator performs mod, and, or, xor, and not along with the typical calculator functions. On the 4-inch screen the result is displayed in hex, binary, and decimal at the...
204.8 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.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...
2.73 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