Util-Linux package development
 help / color / mirror / Atom feed
From: "Pádraig Brady" <P@draigBrady.com>
To: Karel Zak <kzak@redhat.com>
Cc: Christian Schlotter <schlotter@users.sourceforge.net>,
	util-linux-ng@vger.kernel.org
Subject: Re: [PATCH] cal: Output unaligned with "-3" option and libtermcap
Date: Thu, 15 Feb 2007 15:04:30 +0000	[thread overview]
Message-ID: <45D4767E.6060206@draigBrady.com> (raw)
In-Reply-To: <20070215141835.GH3925@petra.dvoda.cz>

Karel Zak wrote:
> On Thu, Feb 15, 2007 at 01:31:20PM +0000, Pádraig Brady wrote:
>  
>> Sorry I missed the original mail/patch.
>> Can you send again?
> 
> There is a small display error when using cal from util-linux-2.13-pre7
> with the command line "cal -3m".  On Sep 27th 2006 it produced the
> following output (Sep 27th is highlighted):
> 
>     August 2006          September 2006         October 2006
> Mo Tu We Th Fr Sa Su  Mo Tu We Th Fr Sa Su  Mo Tu We Th Fr Sa Su
>     1  2  3  4  5  6               1  2  3                     1
>  7  8  9 10 11 12 13   4  5  6  7  8  9 10   2  3  4  5  6  7  8
> 14 15 16 17 18 19 20  11 12 13 14 15 16 17   9 10 11 12 13 14 15
> 21 22 23 24 25 26 27  18 19 20 21 22 23 24  16 17 18 19 20 21 22
> 28 29 30 31           25 26 27 28 29 30  23 24 25 26 27 28 29
>                                             30 31
> 
> As one can see, the second but last row of October is misaligned because
> the characters used for highlighting are not taken into account when
> aligning the last line of September.

Yes, that is exactly the issue my patch fixes.

Pádraig.

  reply	other threads:[~2007-02-15 15:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <45868535.5030402@users.sourceforge.net>
2007-02-15 13:03 ` [PATCH] cal: Output unaligned with "-3" option and libtermcap Karel Zak
2007-02-15 13:31   ` Pádraig Brady
2007-02-15 14:18     ` Karel Zak
2007-02-15 15:04       ` Pádraig Brady [this message]
2007-02-15 14:49     ` Karel Zak
2007-02-15 15:03       ` Pádraig Brady

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45D4767E.6060206@draigBrady.com \
    --to=p@draigbrady.com \
    --cc=kzak@redhat.com \
    --cc=schlotter@users.sourceforge.net \
    --cc=util-linux-ng@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox