>>>>> 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. __Martin ------------------------------------------------------------------------- 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