Bug#834402: aptitude: search loses column format when redirected or piped

2016-11-18 Thread Yuri D'Elia
Package: aptitude Version: 0.8.3-1+b2 Followup-For: Bug #834402 I also consider this a regression. For instance, see this example: aptitude -s search -F '%c%M %p' '~i' > status.txt The width doesn't matter, I'm logging the output for archival. I actually *want* infinite width. But %M is now

Bug#834402: [Aptitude-devel] Bug#834402: aptitude: search loses column format when redirected or piped

2016-09-12 Thread Javier Cantero
On Wed, Aug 17, 2016 at 10:46:59PM +0100, Manuel A. Fernandez Montecelo wrote: > - somehow try to use the same width of the current terminal, with > possible truncation (would work fine in pipes for which the ultimate > output is the same terminal, but not if redirected and processed/seen >

Bug#834402: [Aptitude-devel] Bug#834402: aptitude: search loses column format when redirected or piped

2016-08-17 Thread Manuel A. Fernandez Montecelo
Hi, 2016-08-16 19:18 Javier Cantero: On Mon, Aug 15, 2016 at 11:25:40PM +0100, Manuel A. Fernandez Montecelo wrote: The reasoning for the change was that with pipes/redirections the concept of "terminal" and consequently "width" is lost. If it's redirected it's possibly/likely that it's

Bug#834402: [Aptitude-devel] Bug#834402: aptitude: search loses column format when redirected or piped

2016-08-16 Thread Javier Cantero
On Mon, Aug 15, 2016 at 11:25:40PM +0100, Manuel A. Fernandez Montecelo wrote: > The reasoning for the change was that with pipes/redirections the > concept of "terminal" and consequently "width" is lost. If it's > redirected it's possibly/likely that it's because it's moved and > processed

Bug#834402: [Aptitude-devel] Bug#834402: aptitude: search loses column format when redirected or piped

2016-08-15 Thread Manuel A. Fernandez Montecelo
Hi, 2016-08-15 20:54 Axel Beckert: Hi Manuel, Manuel A. Fernandez Montecelo wrote: In the past it was just hardcoded to "80 columns", so your example when doing it with and without pipe/redirection will have looked different as well -- unless the terminal that you are using is 80-column wide,

Bug#834402: [Aptitude-devel] Bug#834402: aptitude: search loses column format when redirected or piped

2016-08-15 Thread Axel Beckert
Hi Manuel, Manuel A. Fernandez Montecelo wrote: > In the past it was just hardcoded to "80 columns", so your example when > doing it with and without pipe/redirection will have looked different as > well -- unless the terminal that you are using is 80-column wide, of > course. (See attachment,

Bug#834402: aptitude: search loses column format when redirected or piped

2016-08-15 Thread Manuel A. Fernandez Montecelo
Hi, 2016-08-15 11:59 Axel Beckert: Control: tag -1 + confirmed Hi Javier, Javier Cantero wrote: Compare this: $ aptitude search "~i aptitude" i aptitude0.8.3-1 - gestor de paquetes basado en terminal i A

Bug#834402: [Aptitude-devel] Bug#834402: aptitude: search loses column format when redirected or piped

2016-08-15 Thread Axel Beckert
Control: tag -1 + confirmed Hi Javier, Javier Cantero wrote: > Compare this: > > $ aptitude search "~i aptitude" > i aptitude0.8.3-1 >- gestor de paquetes basado en terminal > i A aptitude-common

Bug#834402: aptitude: search loses column format when redirected or piped

2016-08-15 Thread Javier Cantero
Package: aptitude Version: 0.8.3-1 Severity: normal Dear Maintainer, Compare this: $ aptitude search "~i aptitude" i aptitude0.8.3-1 - gestor de paquetes basado en terminal i A aptitude-common