incorrect text mode graphic character display

Thomas Wolff towo@towo.net
Sat May 9 07:41:06 GMT 2020



Am 09.05.2020 um 09:30 schrieb Marco Atzeri via Cygwin:
> Am 09.05.2020 um 08:45 schrieb Thomas Wolff:
>> Am 09.05.2020 um 08:32 schrieb Marco Atzeri via Cygwin:
>>> Am 08.05.2020 um 22:14 schrieb briand@pounceofcats.com:
>>>> On Fri, 8 May 2020 20:41:55 +0200
>>>> Marco Atzeri via Cygwin <cygwin@cygwin.com> wrote:
>>>>
>>>>> Am 07.05.2020 um 17:18 schrieb briand@pounceofcats.com:
>>>>>> Hi,
>>>>>>
>>>>>> Doesn't matter what terminal i'm using, I'm having a problem with 
>>>>>> the way graphic characters print.
>>>>>> Julia uses unicode output, and will generate output that should 
>>>>>> look like this:
>>>>>>    julia> x=DataFrame([(1,2,3), (4,5,6)])
>>>>>> 2×3 DataFrame
>>>>>> │ Row │ 1     │ 2     │ 3     │
>>>>>> │     │ Int64 │ Int64 │ Int64 │
>>>>>> ├─────┼───────┼───────┼───────┤
>>>>>> │ 1   │ 1     │ 2     │ 3     │
>>>>>> │ 2   │ 4     │ 5     │ 6     │
>>>>>>
>>>>>
>>>>> it works fine for me with
>>>>> $ uname -svr
>>>>> CYGWIN_NT-10.0 3.1.4(0.340/5/3) 2020-02-19 08:49
>>>>>
>>>>> both on CMD console and Mintty
>>>>> without need to disable pcon
>>>>>
>>>>> julia> using DataFrames
>>>>>
>>>>> julia> x=DataFrame([(1,2,3), (4,5,6)])
>>>>> 2×3 DataFrame
>>>>> │ Row │ 1     │ 2     │ 3     │
>>>>> │     │ Int64 │ Int64 │ Int64 │
>>>>> ├─────┼───────┼───────┼───────┤
>>>>> │ 1   │ 1     │ 2     │ 3     │ │ 2   │ 4     │ 5     │ 6 │
>>>>>
>>>>> what type of locale are you using ?
>>>>> $ echo $LANG
>>>>> en_US.UTF-8
>>>>
>>>> yes, that's the locale
>>>>
>>>
>>> so it is not the DLL alone and it is not the locale
>>> that is causing the problem you see.
>>>
>>> Please provide the cygcheck.out as attachment
>>> https://cygwin.com/problems.html
>>>
>>> Which version of Julia are you running ?
>>> How are you running Julia?
>>> Do you have any custom user setup in Julia?
>>> I just installed it and only installed the DataFrames package.
>> Julia had a patch to enable UTF-8 output via Windows output functions 
>> in previous cygwin versions.
>> I remember the details only vaguely right now, but it may be 
>> necessary to remove that patch for cygwin from 3.1.0, or it might 
>> cause some kind of double transformation.
>> Thomas
>> -- 
>
> there is a Cygwin porting ?
No, it's not a cygwin porting. It's some initial stty setting.
Reference, not revealing details: 
https://github.com/JuliaLang/julia/issues/7267#issuecomment-49097410
Another reference: 
https://github.com/JuliaLang/julia/issues/28891#issuecomment-416149391
Thomas

> I installed the last windows 64 binary
> Current stable release: v1.4.1 (April 14, 2020)
>
> and it works for me, I do not see the issue reported by Brian
>
> Marco
>
>
> -- 
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list