Well, it does work:
printf 'A\bA_\bB'|ul
I still think it is not useful, I say kill it.
On Fri, Oct 23, 2015 at 03:47:56AM -0400, Ted Unangst wrote:
> ul appears somewhat useless for its intended purpose.
>
> echo _xxx_ | ul does not result in underlined text in an xterm, so I doubt
> many
Nicholas Marriott wrote:
> Well, it does work:
>
> printf 'A\bA_\bB'|ul
>
> I still think it is not useful, I say kill it.
Oh! Is that how you use it? The man page doesn't explain, apparently expecting
that everybody just knows there's only one true way to mark up text.
Hi Ted,
On Fri 23/10/2015 03:47, Ted Unangst wrote:
> ul appears somewhat useless for its intended purpose.
>
> echo _xxx_ | ul does not result in underlined text in an xterm, so I doubt
> many people are using this.
[...]
I don't use it anymore, but some time ago I needed to quickly highlight
On 2015/10/23 11:52, Ingo Schwarze wrote:
> I didn't use it so far, but now that you made me look at it, i'm
> likely to start using it almost daily. I often felt unhappy that
> my gmdiff tool (for comparing groff and mandoc output) does not
> show bold and underline fonts and i always had to
Stefan Sperling wrote:
> On Fri, Oct 23, 2015 at 05:50:53AM -0400, Ted Unangst wrote:
> > well, it doesn't work with utf-8 because it tries to underline only half the
> > character. i'm aiming for the "quick fix"...
>
> Why not at least try a kind of better fix to see how it would work?
Is this
Ted Unangst:
> > mandoc /usr/share/man/man1/ksh.1 | sed -n 1185,1190p | ul
>
> so that works with the diff below. i'm not sure how far down this road we need
> to travel, but i figure it's worth a little exploration.
That works so far.
Next problem: tabs.
(I think it's reasonable to ignore
Christian Weisgerber wrote:
> On 2015-10-23, "Ted Unangst" wrote:
>
> > ul appears somewhat useless for its intended purpose.
>
> mandoc /usr/share/man/man1/ls.1 | ul
>
> Works fine. Of course that functionality has been incorporated
> into more/less decades ago.
>
> >
Hi Ted,
Ted Unangst wrote on Fri, Oct 23, 2015 at 03:47:56AM -0400:
> ul appears somewhat useless for its intended purpose.
>
> echo _xxx_ | ul does not result in underlined text in an xterm,
> so I doubt many people are using this.
>
> Unlike, say, mandoc, it can't output Greek letters.
> I
Ted Unangst:
> --- ul.c 10 Oct 2015 16:15:03 - 1.19
> +++ ul.c 23 Oct 2015 10:29:43 -
> @@ -241,6 +241,8 @@ mfilter(FILE *f)
> obuf[col].c_mode |= BOLD|mode;
> else
> obuf[col].c_mode = mode;
> + if ((c &
Christian Weisgerber wrote:
> Ted Unangst:
>
> > --- ul.c10 Oct 2015 16:15:03 - 1.19
> > +++ ul.c23 Oct 2015 10:29:43 -
> > @@ -241,6 +241,8 @@ mfilter(FILE *f)
> > obuf[col].c_mode |= BOLD|mode;
> > else
> >
> > From: "Ted Unangst"
> > Date: Fri, 23 Oct 2015 03:47:56 -0400
> >
> > ul appears somewhat useless for its intended purpose.
> >
> > echo _xxx_ | ul does not result in underlined text in an xterm, so I doubt
> > many people are using this.
> >
> > Unlike, say, mandoc,
On Fri, Oct 23, 2015 at 06:32:32AM -0400, Ted Unangst wrote:
> Stefan Sperling wrote:
> > On Fri, Oct 23, 2015 at 05:50:53AM -0400, Ted Unangst wrote:
> > > well, it doesn't work with utf-8 because it tries to underline only half
> > > the
> > > character. i'm aiming for the "quick fix"...
> >
>
> From: "Ted Unangst"
> Date: Fri, 23 Oct 2015 03:47:56 -0400
>
> ul appears somewhat useless for its intended purpose.
>
> echo _xxx_ | ul does not result in underlined text in an xterm, so I doubt
> many people are using this.
>
> Unlike, say, mandoc, it can't output
Ted Unangst:
> well, it doesn't work with utf-8 because it tries to underline only half the
> character. i'm aiming for the "quick fix"...
FreeBSD has imported a fix for this, r132858.
--
Christian "naddy" Weisgerber na...@mips.inka.de
On Fri, Oct 23, 2015 at 05:50:53AM -0400, Ted Unangst wrote:
> well, it doesn't work with utf-8 because it tries to underline only half the
> character. i'm aiming for the "quick fix"...
Why not at least try a kind of better fix to see how it would work?
On 2015-10-23, "Ted Unangst" wrote:
> ul appears somewhat useless for its intended purpose.
mandoc /usr/share/man/man1/ls.1 | ul
Works fine. Of course that functionality has been incorporated
into more/less decades ago.
> Will anyone miss it?
Probably not, but what's
On Fri, Oct 23, 2015 at 05:11:42AM -0400, Ted Unangst wrote:
> Nicholas Marriott wrote:
> > Well, it does work:
> >
> > printf 'A\bA_\bB'|ul
> >
> > I still think it is not useful, I say kill it.
>
> Oh! Is that how you use it? The man page doesn't explain, apparently expecting
> that everybody
Hi Stuart,
Stuart Henderson wrote on Fri, Oct 23, 2015 at 11:28:35AM +0100:
> On 2015/10/23 11:52, Ingo Schwarze wrote:
>> I didn't use it so far, but now that you made me look at it, i'm
>> likely to start using it almost daily. I often felt unhappy that
>> my gmdiff tool (for comparing groff
2015-10-23 15:38 GMT+02:00 Ted Unangst :
> Christian Weisgerber wrote:
>> Ted Unangst:
>>
>> > --- ul.c10 Oct 2015 16:15:03 - 1.19
>> > +++ ul.c23 Oct 2015 10:29:43 -
>> > @@ -241,6 +241,8 @@ mfilter(FILE *f)
>> > obuf[col].c_mode |=
Ingo Schwarze:
> - The FreeBSD change with wchar_t (+70 -44 lines) seems
>like overkill to me.
Wait until you've added double-width characters and correct tab
handling, which the FreeBSD code supports.
--
Christian "naddy" Weisgerber na...@mips.inka.de
Hi Christian,
Christian Weisgerber wrote on Fri, Oct 23, 2015 at 11:26:00PM +0200:
> Ingo Schwarze:
>> - The FreeBSD change with wchar_t (+70 -44 lines) seems
>>like overkill to me.
> Wait until you've added double-width characters
I tested double-width characters (both bold and
2015-10-23 23:00 GMT+02:00 Ingo Schwarze :
> Hi Ted,
>
> Ted Unangst wrote on Fri, Oct 23, 2015 at 09:38:22AM -0400:
>
>> so that works with the diff below.
>
> I agree with the direction for this kind of tool, at least for now.
> However, your diff has a few issues, so i
Hi Ted,
Ted Unangst wrote on Fri, Oct 23, 2015 at 09:38:22AM -0400:
> so that works with the diff below.
I agree with the direction for this kind of tool, at least for now.
However, your diff has a few issues, so i improved it, see below.
Any OKs or vetos?
Ted, in case you want to commit, the
ul appears somewhat useless for its intended purpose.
echo _xxx_ | ul does not result in underlined text in an xterm, so I doubt
many people are using this.
Unlike, say, mandoc, it can't output Greek letters. I also imagine most people
have moved on to some form of markdown for their other text
24 matches
Mail list logo