Re: [libvirt] [PATCH] virsh: new environment variable VIRSH_HISTSIZE

2013-10-29 Thread Eric Blake
On 10/28/2013 08:05 AM, Daniel P. Berrange wrote: > On Mon, Oct 28, 2013 at 02:38:46PM +0100, Pavel Raiskup wrote: >> Allow adjust the number of commands to remember in the command >> history. >> >> * tools/virsh.c (vshReadlineInit): Read and sanity the >> VIRSH_HISTSIZE variable. >> (VIRSH_HISTSIZ

Re: [libvirt] [PATCH] virsh: new environment variable VIRSH_HISTSIZE

2013-10-28 Thread Daniel P. Berrange
On Mon, Oct 28, 2013 at 02:38:46PM +0100, Pavel Raiskup wrote: > Allow adjust the number of commands to remember in the command > history. > > * tools/virsh.c (vshReadlineInit): Read and sanity the > VIRSH_HISTSIZE variable. > (VIRSH_HISTSIZE_MAX): New constant. > * tools/virsh.pod: Document VIRSH

[libvirt] [PATCH] virsh: new environment variable VIRSH_HISTSIZE

2013-10-28 Thread Pavel Raiskup
Allow adjust the number of commands to remember in the command history. * tools/virsh.c (vshReadlineInit): Read and sanity the VIRSH_HISTSIZE variable. (VIRSH_HISTSIZE_MAX): New constant. * tools/virsh.pod: Document VIRSH_HISTSIZE variable. --- tools/virsh.c | 17 - tools/virsh.

Re: [libvirt] [PATCH] virsh: new environment variable VIRSH_HISTSIZE

2013-10-28 Thread Daniel P. Berrange
On Sun, Oct 27, 2013 at 10:17:29AM +0100, Pavel Raiskup wrote: > Allow adjust the number of commands to remember in the command > history. > > * tools/virsh.c (vshReadlineInit): Read and sanity the > VIRSH_HISTSIZE variable. > (VIRSH_HISTSIZE_MAX): New constant. > * tools/virsh.pod: Document VIRSH

[libvirt] [PATCH] virsh: new environment variable VIRSH_HISTSIZE

2013-10-28 Thread Pavel Raiskup
Allow adjust the number of commands to remember in the command history. * tools/virsh.c (vshReadlineInit): Read and sanity the VIRSH_HISTSIZE variable. (VIRSH_HISTSIZE_MAX): New constant. * tools/virsh.pod: Document VIRSH_HISTSIZE variable. --- tools/virsh.c | 17 - tools/virsh.