File: README

package info (click to toggle)
libcurses-perl 1.28-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 888 kB
  • ctags: 1,323
  • sloc: ansic: 8,743; perl: 1,298; makefile: 7
file content (144 lines) | stat: -rw-r--r-- 4,859 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
                           The Curses Perl Module


============================================================
COPYRIGHT AND LICENSE INFORMATION IS AT THE END OF THIS FILE
============================================================

This is a dynamic loadable curses module for perl.  You can get this
package at any CPAN archive.

Please see the INSTALL document for how to install it on your system,
the Curses pod (located at the end of "Curses.pm") for known
incompatibilities with other Perl programs, and the end of this
document for known compile or install problems.

RECENT CHANGES
--------------

The change history is in the file HISTORY.
 

BINARY DISTRIBUTIONS
--------------------

There is a binary package for Cygwin at

  ftp://sunsite.dk/projects/cygwinports/release/perl/perl-Curses

The maintainer of this CPAN source package doesn't know of any others,
but if you do, let him know and he will add them here.


DEMO PROGRAMS
-------------

The "demo" program is for demonstration purposes only.  If it
references a function your version of curses doesn't have, wrap it in
an "eval" and try again.  Same goes double for the "gdc" program.
You can type "make cdemo" to make a C language version of the demo.
If you get the same results via "demo" and "cdemo", but they don't
look right, then it's a bug in your libcurses, not in Curses.


MAINTENANCE
-----------

Bryan Henderson maintains the Perl Curses module.  Bryan doesn't actually
know much about it, and is functioning mainly as a coordinator.  Go ahead
and report bugs to and ask technical questions of Bryan, but don't hold
your breath.  If you should have a fix or enhancement, though, Bryan will
incorporate it into the package promptly.

Email Bryan at bryanh@giraffe-data.com.  Do not use the CPAN bug
database to report a bug.  It's more work for both parties and Bryan
doesn't know a bug has been opened except when he occasionally goes to
look.


*** SECURITY NOTICE ***

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.


Known Problems
--------------
Wide characters

   Screen positions get calculated wrong, i.e. based on the number of
   bytes in a string instead of the number of characters.

   You should debug this, fix it, and submit the fix for inclusion in
   the next release of Perl Curses.

   Note that unless you have and build for the wide-character-capable
   Ncurses (named 'ncursesw'), wide characters won't work even this much.
   

NCurses
   getch() and getstr() don't work right under very old versions of
   ncurses (around v1.8.5).  Please upgrade to a newer version.

   panel_hidden() test is reversed in v1.9.9g.  Please upgrade to
   a newer version.

   Actually, there are several problems in v1.9.9g.  Please upgrade
   to a newer version.

NETBSD

   William reported as of 2001: I continue to get conflicting reports
   about the correct number of arguments for longname() and
   touchline(), controlled via the file `hints/c-netbsd.h'.  Before
   compiling, you may want to look them up yourself, confirm them, and
   then editing `hints/c-netbsd.h'.

Solaris 2.6

   The menu stuff doesn't appear to work.  I have no idea why.



COPYRIGHT AND LICENSE INFORMATION
---------------------------------

	 Copyright (c) 1994-2000  William Setzer
                   All rights reserved.

    This program is free software; you can redistribute it and/or modify
    it under the same terms as perl, specifically:

        a) the GNU General Public License as published by the Free
        Software Foundation; either version 1, or (at your option) any
        later version, or

        b) the "Artistic License" which comes with this Kit.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Artistic License for more details. 

    You should have received a copy of the Artistic License with this
    Kit, in the file named "Artistic".  If not, I'll be glad to provide one.

    You should also have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software Foundation,
    Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.