Re: [Bacula-users] recall previous command in bconsole

2012-03-28 Thread Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]
When I compiled Bacula I have not compiled it with readline (--with-readline) 
support. So it did not work.


-Original Message-
From: Konstantin Khomoutov [mailto:flatw...@users.sourceforge.net] 
Sent: Wednesday, March 28, 2012 11:52 AM
To: Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] recall previous command in bconsole

On Wed, 28 Mar 2012 10:21:44 -0500
"Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]" 
wrote:

> In Bacula 5.2.6 when I go to "bconsole" and type commands and later if 
> I want to recall the previous command it does not work. Normally this 
> worked in old versions of Bacula if I pressed the "up arrow"
> button on my key board. Is there a way to recall the previous command 
> in bconsole? Please let me know.
Check if your actual bconsole binary ("bconsole" itself may be a shell script 
running an actual binary) is linked against a library providing those advanced 
features like history.  Usually it's either libreadline or libedit.  Supposedly 
you have built bacula from source and failed to properly configure it so that 
bconsole wasn't linked against one of such libraries.

For instance, on my Debian system running Bacula 5.0.2:

$ ldd /usr/sbin/bacula-console |egrep 'readline|edit'
libreadline.so.6 => /lib/libreadline.so.6 (0xb780)

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] recall previous command in bconsole

2012-03-28 Thread Radosław Korzeniewski
Hello,

2012/3/28 Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] <
uthra.r@nasa.gov>

> In Bacula 5.2.6 when I go to “bconsole” and type commands and later if I
> want to recall the previous command it does not work. Normally this worked
> in old versions of Bacula if I pressed the “up arrow” button on my key
> board. Is there a way to recall the previous command in bconsole? Please
> let me know.
>

You have to configure your Bacula 5.2.6 with following
switches: --disable-conio --with-readline

It is working as expected.

best regards

-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] recall previous command in bconsole

2012-03-28 Thread Konstantin Khomoutov
On Wed, 28 Mar 2012 10:21:44 -0500
"Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]" 
wrote:

> In Bacula 5.2.6 when I go to "bconsole" and type commands and later
> if I want to recall the previous command it does not work. Normally
> this worked in old versions of Bacula if I pressed the "up arrow"
> button on my key board. Is there a way to recall the previous command
> in bconsole? Please let me know.
Check if your actual bconsole binary ("bconsole" itself may be a shell
script running an actual binary) is linked against a library providing
those advanced features like history.  Usually it's either libreadline
or libedit.  Supposedly you have built bacula from source and failed to
properly configure it so that bconsole wasn't linked against one of such
libraries.

For instance, on my Debian system running Bacula 5.0.2:

$ ldd /usr/sbin/bacula-console |egrep 'readline|edit'
libreadline.so.6 => /lib/libreadline.so.6 (0xb780)

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] recall previous command in bconsole

2012-03-28 Thread Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]
In Bacula 5.2.6 when I go to "bconsole" and type commands and later if I want 
to recall the previous command it does not work. Normally this worked in old 
versions of Bacula if I pressed the "up arrow" button on my key board. Is there 
a way to recall the previous command in bconsole? Please let me know.

Uthra
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users