[Bug 1052653] Re: cal doesn't remove all formatting when stdout is a pipe

2016-03-12 Thread Bug Watch Updater
** Changed in: bsdmainutils (Debian)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1052653

Title:
  cal doesn't remove all formatting when stdout is a pipe

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/1052653/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1052653] Re: cal doesn't remove all formatting when stdout is a pipe

2015-08-10 Thread Rolf Leggewie
** Tags added: precise trusty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1052653

Title:
  cal doesn't remove all formatting when stdout is a pipe

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/1052653/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1052653] Re: cal doesn't remove all formatting when stdout is a pipe

2015-08-10 Thread Rolf Leggewie
If this is accepted as valid, then it's a regression-release bug as per
bug 1055007

** Tags added: regression-release

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1052653

Title:
  cal doesn't remove all formatting when stdout is a pipe

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/1052653/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1052653] Re: cal doesn't remove all formatting when stdout is a pipe

2015-08-10 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: bsdmainutils (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1052653

Title:
  cal doesn't remove all formatting when stdout is a pipe

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/1052653/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1052653] Re: cal doesn't remove all formatting when stdout is a pipe

2012-09-19 Thread Bug Watch Updater
** Changed in: bsdmainutils (Debian)
   Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1052653

Title:
  cal doesn't remove all formatting when stdout is a pipe

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/1052653/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1052653] Re: cal doesn't remove all formatting when stdout is a pipe

2012-09-18 Thread Andrew Pollock
>From looking at the source, this is possibly by design, but I'd argue
that it's flawed logic to behave this way:


/*
 * If it is a real terminal, use the data from the termcap database.
 */
if (term_so != NULL && term_se != NULL) {
/* separator. */
dst[0] = ' ';
dst++;
/* highlight on. */
memcpy(dst, term_so, strlen(term_so));
dst += strlen(term_so);
/* the actual text. (minus leading space) */
len--;
src++;
memcpy(dst, src, len);
dst += len;
/* highlight off. */
memcpy(dst, term_se, strlen(term_se));
*extralen = strlen(term_so) + strlen(term_se);
return;
}

/*
 * Otherwise, print a _, backspace and the letter.
 */
*extralen = 0;
/* skip leading space. */
src++;
len--;
/* separator. */
dst[0] = ' ';
dst++;
while (len > 0) {
/* _ and backspace. */
memcpy(dst, "_\010", 2);
dst += 2;
*extralen += 2;
/* the character. */
*dst++ = *src++;
len--;
}
return;


** Bug watch added: Debian Bug tracker #688078
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688078

** Also affects: bsdmainutils (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688078
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1052653

Title:
  cal doesn't remove all formatting when stdout is a pipe

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bsdmainutils/+bug/1052653/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs