59 lines
2.4 KiB
Diff
59 lines
2.4 KiB
Diff
Patch by Chris Waters <xtifr@debian.org> and Sergei Golovan <sgolovan@debian.org> for
|
|
tclreadline >= 2.1.0 which fixes typos in the manual page. It also fixes an nroff error
|
|
in man page (needed to double escape char '/'). For further information, please have a
|
|
look to Debian bug ID #242369.
|
|
|
|
--- tclreadline-2.1.0/tclreadline.n.in 2000-08-27 15:25:24.000000000 +0200
|
|
+++ tclreadline-2.1.0/tclreadline.n.in.man-page 2010-04-06 01:32:08.000000000 +0200
|
|
@@ -73,7 +73,7 @@
|
|
|
|
.PP
|
|
The following list will give all commands, which are currently
|
|
-implemented in the shared lib (e.g. libtclreadline@TCLREADLINE_VERSION@.so).
|
|
+implemented in the shared lib (e.g. libtclreadline-@VERSION@.so).
|
|
Additional commands were introduced in a startup script
|
|
\fBtclreadlineSetup.tcl\fP, which lives in the tclreadline
|
|
installation directory.
|
|
@@ -145,7 +145,7 @@
|
|
.TP 5
|
|
\fB::tclreadline::readline initialize\fP \fIhistoryfile\fP
|
|
initialize the tclreadline interface and read the history from
|
|
-the \fIhistoryfile\fP. On succes an empty string is returned.
|
|
+the \fIhistoryfile\fP. On success an empty string is returned.
|
|
This command has to be called before any other tclreadline commands.
|
|
|
|
.TP 5
|
|
@@ -211,7 +211,7 @@
|
|
\fB::tclreadline::prompt1\fP
|
|
a proc which is called by ::tclreadline::Loop and returns a string
|
|
which will be displayed as the primary prompt. This prompt will be
|
|
-something like "[info nameofexecutable] \[[pwd]\]" possibly fancy colored.
|
|
+something like "[info nameofexecutable] \\[[pwd]\\]" possibly fancy colored.
|
|
The default proc is defined on entering the ::tclreadline::Loop,
|
|
if it is not already defined. So: If you define your own proc
|
|
::tclreadline::prompt1 before entering ::tclreadline::Loop, this
|
|
@@ -242,12 +242,12 @@
|
|
|
|
\fItclreadline\fP defines the following variables in the
|
|
namespace \fI::tclreadline\fP:
|
|
-(for backwards compatiblity the global variables tclreadline_version,
|
|
+(for backwards compatibility the global variables tclreadline_version,
|
|
tclreadline_patchLevel and tclreadline_library are still present).
|
|
|
|
.TP 5
|
|
\fBtclreadline::version\fP (read-only)
|
|
-holds the version string "@TCLREADLINE_VERSION@".
|
|
+holds the version string "@VERSION@".
|
|
|
|
.TP 5
|
|
\fBtclreadline::patchLevel\fP (read-only)
|
|
@@ -255,7 +255,7 @@
|
|
|
|
.TP 5
|
|
\fBtclreadline::library\fP (read-only)
|
|
-holds the library string "@TCLREADLINE_LIBRARY@".
|
|
+holds the library string "@TCLRL_DIR@".
|
|
|
|
.TP 5
|
|
\fBtclreadline::license\fP (read-only)
|