Re: [libvirt] [PATCH v3] virsh: Honor reedit opts printing to a function

2012-06-14 Thread Michal Privoznik
On 14.06.2012 11:22, Peter Krempa wrote: > On 06/14/12 11:07, Michal Privoznik wrote: >> When printing reedit options we make stdin raw. However, >> this results in stdout being raw as well. Therefore we need >> to return carriage when doing new line. Unfortunately, >> '\r' cannot be part of intern

Re: [libvirt] [PATCH v3] virsh: Honor reedit opts printing to a function

2012-06-14 Thread Peter Krempa
On 06/14/12 11:07, Michal Privoznik wrote: When printing reedit options we make stdin raw. However, this results in stdout being raw as well. Therefore we need to return carriage when doing new line. Unfortunately, '\r' cannot be part of internationalized messages hence we must move them to forma

[libvirt] [PATCH v3] virsh: Honor reedit opts printing to a function

2012-06-14 Thread Michal Privoznik
When printing reedit options we make stdin raw. However, this results in stdout being raw as well. Therefore we need to return carriage when doing new line. Unfortunately, '\r' cannot be part of internationalized messages hence we must move them to formatting string which then in turn become huge a