1
* Installation problems:
3
rlwrap needs the readline library (ftp://ftp.gnu.org/gnu/readline/),
4
version 4.2 or newer. For .deb or .rpm users: install the readline
7
Even though rlwrap now uses the excellent pseudo-terminal (pty)
8
handling code from rxvt, portable programming with ptys is something
9
of a black art. The configure script tries to guess how ptys have to
10
be handled on your system, but it may guess wrong. To quote rxvt's
11
configure script: "if we don't guess right then it's up to the user",
12
which means that you have to manually edit config.h (and save a copy
13
of it somewhere, as configure will create a new config.h when it runs.
15
Andreas Leitgeb wrote:
17
"If (on Solaris) configure fails to detect your libreadline,
18
then (temporarily) move the dynamic libs libreadline.so*
19
out of sight, and try again. (seems to be a problem in the
20
readline-package obtained from sunfreeware.com)"
23
Christoffer Dam Bruun reported:
25
"I have just installed rlwrap along with readline on Solaris 8 and
26
found that rlwrap did not work properly with readline 4.3. After
27
linking rlwrap with readline 4.2 it works correctly.
29
What happended using readline 4.3 was that an extra prompt would be
30
written after the first letter on a line, e.g. with a sqlplus prompt:
35
I (HL) have not been able to reproduce this.
37
After "configure", make wil re-run configure. This is a minor
38
annoyance, and probably due to my poor understanding of automake.
42
rlwrap cannot handle prompts that contain control characters. Any
43
client that uses color and/or curses will confuse rlwrap (though you
44
may not notice this until your cursor almost reaches end-of-line) This
45
is unlikely to change, as is is practically impossible (given a
46
terminal type and an initial position) to calculate the screen
47
position after an arbitrary sequence of bytes.
50
readline-4.3 tries to recognize multibyte characters. As rlwrap may
51
use any part of the clients output as "prompt" (even if you decide to
52
dump a binary file to stdout) this can confuse readline, which may
53
even dump core on occasion (this may be dependent on your locale
54
settings) If this becomes annoying, you could revert to readline-4.2
55
(which does not try to recognise multi-byte characters) or apply the
56
latest patches to readline-4.3
58
Filename completion is an ugly hack. If you typed "impossib" and your
59
completion wordlist contains "impossible" you wont't see the file
60
"impossibility". This is on the TODO list.