~ubuntu-branches/ubuntu/wily/rlwrap/wily

« back to all changes in this revision

Viewing changes to BUGS

  • Committer: Bazaar Package Importer
  • Author(s): Oyvind Gronnesby
  • Date: 2004-02-29 00:21:27 UTC
  • Revision ID: james.westby@ubuntu.com-20040229002127-skvgfcakwtvwz75c
Tags: upstream-0.18
ImportĀ upstreamĀ versionĀ 0.18

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
* Installation problems:
 
2
 
 
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
 
5
-devel- package!
 
6
 
 
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.
 
14
 
 
15
Andreas Leitgeb wrote:
 
16
 
 
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)"
 
21
 
 
22
 
 
23
Christoffer Dam Bruun reported:
 
24
 
 
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.
 
28
 
 
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:
 
31
  SQL>
 
32
  (now writing select )
 
33
  SQL> sSQL> select"
 
34
 
 
35
I (HL) have not been able to reproduce this. 
 
36
 
 
37
After "configure", make wil re-run configure. This is a minor
 
38
annoyance, and probably due to my poor understanding of automake. 
 
39
 
 
40
* Run-time problems
 
41
 
 
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.
 
48
 
 
49
 
 
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
 
57
 
 
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.
 
61
 
 
62
 
 
63
 
 
64
 
 
65
 
 
66
 
 
67
 
 
68
 
 
69