Re: [Patch] mg(1): Experimental UTF-8 support

2018-06-01 Thread S. Gilles
On 2018-06-01T11:02:57+0200, Stefan Sperling wrote: > On Wed, May 30, 2018 at 04:01:57PM -0400, S. Gilles wrote: > > On 2018-05-30T09:17:22-0600, Theo de Raadt wrote: > > > This approach seems misguided. Let me tell a story. > > > > > > More than two decade

Re: [Patch] mg(1): Experimental UTF-8 support

2018-05-30 Thread S. Gilles
ely not up for reworking all of mg. It seems better that this patch, as it is, remain off to the side in case someone wants to use it themselves. -- S. Gilles

Re: [Patch] mg(1): Experimental UTF-8 support

2018-05-30 Thread S. Gilles
On 2018-05-30T11:50:37+0200, Stefan Sperling wrote: > Comments inline. I think this still needs a lot of work... Thanks for the review; replies inline (and omitted where the reply is the same as one above). By the time you read this, I'll have pushed the changes I mention to my branch in hboetes'

Re: [patch] mg: fix overflow on vteeol()

2017-05-07 Thread S. Gilles
rc.info/?l=openbsd-tech&m=145338987910327&w=2 [1] https://github.com/hboetes/mg/tree/display-wide-characters -- S. Gilles diff --git a/basic.c b/basic.c index 85d9f70..123e115 100644 --- a/basic.c +++ b/basic.c @@ -18,6 +18,7 @@ #include #include #include +#include #include &

Re: mg: display wide characters

2016-01-21 Thread S. Gilles
ely placing the `$' to denote extended lines, depending on what type of character is the character that goes beyond ncol If there's something that seems suspiciously absent from that list, perhaps it's something I've overlooked and haven't tested myself. Hopefully that helps somewhat. -- S. Gilles

mg: display wide characters

2016-01-21 Thread S. Gilles
se gcc still (erroneously) complains about initializing to { 0 }. If that's a serious concern, I can send another version using memset. I don't have commit access, so if this goes through someone else will have to finalize it.