Dejan Muhamedagic <[email protected]> writes:

> Hi,
>
> On Mon, Nov 17, 2014 at 10:05:59AM +0300, Vladislav Bogdanov wrote:
>> Hi Kristoffer, all,
>> 
>> running 'crm configure show > file' appends non-printable chars at the
>> end (at least if op_defaults is used):
>
> Best to use crm configure save for filtering (I guess that you
> don't want colors in that case). As for strange codes output,
> they're most likely due to some libreadline bug and TERM set to
> xterm. I found some information at the time here:
>
> https://bugs.gentoo.org/show_bug.cgi?id=246091
>
> We dealt with that then by not importing readline unless
> absolutely necessary. The changeset is 4d11007. My bad for not
> commenting that in the code.
>
> readline probably gets imported in non-interactive mode again.
>

I can confirm that yes, it does. My apologies for reintroducing this
issue! I will change this.

I will also look at adding optional filtering to the save command just
like for show and edit. This seems like a useful feature to me.

-- 
// Kristoffer Grönlund
// [email protected]
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to