Martin Simmons wrote:
>>>>>> On Tue, 05 Feb 2008 05:56:21 -0500, Dan Langille said:
>> Tilman Schmidt wrote:
>>> James Harper schrieb:
>>>> I'm not sure if this is just something peculiar to my configuration, but
>>>> in the text console for bacula, if I type a command then backspace over
>>>> it then press enter, bacula still acts as if I typed the command, or at
>>>> least part of it.
>>>>
>>>> Does anyone else see this or is it just me?
>>> I get wildly varying results with line editing in bconsole between
>>> different systems. On some systems, I can edit the command on the
>>> screen as expected, with backspace erasing characters from the end as
>>> usual, but when I finally type enter what gets sent as command is
>>> obviously not what I last saw on the screen. On others, hitting
>>> backspace once skips to a new line as if it had deleted the entire
>>> command, so line editing is guesswork at best, and never seems to
>>> result in what I intended. Bconsole itself doesn't really help in
>>> identifying the problem, since it never tells me what was the actual
>>> command it thought I sent or what was specifically wrong with it.
>>>
>>> On a single one of my systems, line editing actually works as expected,
>>> but I don't know why.
>>>
>>> All systems are running some version of Suse Linux. The one where line
>>> editing works correctly has openSUSE 10.3 and Bacula version 2.0.3
>>> which came with that. One of those which skip to a new line as soon as
>>> I try any line editing at all has the same versions. Most others are
>>> older Suse releases with self-compiled Baculas from the 2.2.x range.
>>>
>>> Go figure.
>> I suspect readline.  Different versions and/or options.
> 
> That depends on whether readline is being used.  I think the default is to use
> the internal conio instead.

Come up with a test for determining what is being used and let the 
investigations begin.  Will this suffice?

[EMAIL PROTECTED]:~] $ ldd `which bconsole`
/usr/local/sbin/bconsole:
         libreadline.so.6 => /lib/libreadline.so.6 (0x280a2000)
         libhistory.so.6 => /usr/lib/libhistory.so.6 (0x280cf000)
         libncurses.so.6 => /lib/libncurses.so.6 (0x280d6000)
         libpthread.so.2 => /lib/libpthread.so.2 (0x28115000)
         libintl.so.8 => /usr/local/lib/libintl.so.8 (0x2813a000)
         libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28143000)
         libssl.so.4 => /usr/lib/libssl.so.4 (0x28230000)
         libcrypto.so.4 => /lib/libcrypto.so.4 (0x2825e000)
         libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x28351000)
         libm.so.4 => /lib/libm.so.4 (0x2841c000)
         libc.so.6 => /lib/libc.so.6 (0x28432000)
[EMAIL PROTECTED]:~] $

-- 
Dan Langille - http://www.langille.org/
BSDCan - The Technical BSD Conference: http://www.bsdcan.org/
PGCon  - The PostgreSQL Conference:    http://www.pgcon.org/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to