Martin Simmons schrieb:
On Wed, 06 Feb 2008 11:14:03 +0100, Tilman Schmidt said:>>>> 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. [...] >>>> On a single one of my systems, line editing actually works as expected, [...] This is the machine where line editing works: [EMAIL PROTECTED]:~> ldd /usr/sbin/bconsole linux-gate.so.1 => (0xffffe000) libncurses.so.5 => /lib/libncurses.so.5 (0xb7f76000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7f5f000) libdl.so.2 => /lib/libdl.so.2 (0xb7f5b000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7f18000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7dd2000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7ce4000) libm.so.6 => /lib/libm.so.6 (0xb7cbe000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7cb2000) libc.so.6 => /lib/libc.so.6 (0xb7b7f000) /lib/ld-linux.so.2 (0xb7fb6000) libz.so.1 => /lib/libz.so.1 (0xb7b6c000) [EMAIL PROTECTED]:~> This is one of those where hitting backspace clears the displayed line: [EMAIL PROTECTED]:~> ldd /usr/sbin/bconsole linux-gate.so.1 => (0xb7f1b000) libtermcap.so.2 => /usr/lib/libtermcap.so.2 (0xb7ef7000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7ee0000) libdl.so.2 => /lib/libdl.so.2 (0xb7edc000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7e99000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7d53000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c65000) libm.so.6 => /lib/libm.so.6 (0xb7c3f000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7c33000) libc.so.6 => /lib/libc.so.6 (0xb7b00000) /lib/ld-linux.so.2 (0xb7f1c000) libz.so.1 => /lib/libz.so.1 (0xb7aed000) [EMAIL PROTECTED]:~>Unless you linked readline statically, I suspect that both of them are using conio. Are they both running the same bconsole executable?
No. The first (working) one is version 2.0.3 installed from the RPM package included with openSUSE 10.3. The second one I compiled myself on openSUSE 10.2.
What is the output of stty -a on the two machines?
The first (working) one: [EMAIL PROTECTED]:~> stty -a speed 38400 baud; rows 24; columns 80; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke Output from the other one later - I don't have access to it right now. -- Tilman Schmidt Phoenix Software GmbH www.phoenixsoftware.de 53227 Bonn, Germany Amtsgericht Bonn HRB 2934
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- 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