public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: cygwin-3.2.0 + windows 10 - russian cyrilic input is broken
@ 2021-07-07 10:20 Егоров Егор
  2021-07-07 18:55 ` Andrey Repin
  0 siblings, 1 reply; 10+ messages in thread
From: Егоров Егор @ 2021-07-07 10:20 UTC (permalink / raw)
  To: cygwin

Hello!

I have a similar problem too.
After upgrading to cygwin-3.2.0 the input of Cyrillic characters in the
bash console is broken. Can we expect a fix for the problem in the next
nightly builds?

Thank you.

--
Regards,
Egor Y. Egorov

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: cygwin-3.2.0 + windows 10 - russian cyrilic input is broken
  2021-07-07 10:20 cygwin-3.2.0 + windows 10 - russian cyrilic input is broken Егоров Егор
@ 2021-07-07 18:55 ` Andrey Repin
  2021-07-08 10:35   ` Егоров Егор
  0 siblings, 1 reply; 10+ messages in thread
From: Andrey Repin @ 2021-07-07 18:55 UTC (permalink / raw)
  To: Егоров
	Егор,
	cygwin

Greetings, Егоров Егор!

> I have a similar problem too.

Unfortunately, "me too" is not a useful issue report.

> After upgrading to cygwin-3.2.0 the input of Cyrillic characters in the
> bash console is broken. Can we expect a fix for the problem in the next
> nightly builds?

Please follow issue reporting guide:

Problem reports:      https://cygwin.com/problems.html

See also:

FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html


-- 
With best regards,
Andrey Repin
Wednesday, July 7, 2021 21:52:50

Sorry for my terrible english...

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: cygwin-3.2.0 + windows 10 - russian cyrilic input is broken
  2021-07-07 18:55 ` Andrey Repin
@ 2021-07-08 10:35   ` Егоров Егор
  2021-07-08 11:12     ` Takashi Yano
  0 siblings, 1 reply; 10+ messages in thread
From: Егоров Егор @ 2021-07-08 10:35 UTC (permalink / raw)
  To: cygwin

Hello!
May be bisect result help:

e_egorov@inp-w-egorov-e /tmp/newlib-cygwin
$ git bisect bad
ff4440fcf7687d9af05f4c2fcb163fca5b2167f9 is the first bad commit
commit ff4440fcf7687d9af05f4c2fcb163fca5b2167f9
Author: Takashi Yano via Cygwin-patches <cygwin-patches@cygwin.com>
Date:   Tue Feb 16 20:37:05 2021 +0900

    Cygwin: console: Introduce new thread which handles input signal.

    - Currently, Ctrl-Z, Ctrl-\ and SIGWINCH does not work in console
      if the process does not call read() or select(). This is because
      these are processed in process_input_message() which is called
      from read() or select(). This is a long standing issue of console.
      Addresses:
        https://cygwin.com/pipermail/cygwin/2020-May/244898.html
        https://cygwin.com/pipermail/cygwin/2021-February/247779.html

      With this patch, new thread which handles only input signals is
      introduced so that Crtl-Z, etc. work without calling read() or
      select(). Ctrl-S and Ctrl-Q are also handled in this thread.

 winsup/cygwin/exceptions.cc       |   1 +
 winsup/cygwin/fhandler.h          |   5 +-
 winsup/cygwin/fhandler_console.cc | 177
+++++++++++++++++++++++++++++++++++++-
 3 files changed, 181 insertions(+), 2 deletions(-)

чт, 8 июл. 2021 г. в 01:05, Andrey Repin <anrdaemon@yandex.ru>:

> Greetings, Егоров Егор!
>
> > I have a similar problem too.
>
> Unfortunately, "me too" is not a useful issue report.
>
> > After upgrading to cygwin-3.2.0 the input of Cyrillic characters in the
> > bash console is broken. Can we expect a fix for the problem in the next
> > nightly builds?
>
> Please follow issue reporting guide:
>
> Problem reports:      https://cygwin.com/problems.html
>
> See also:
>
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
>
>
> --
> With best regards,
> Andrey Repin
> Wednesday, July 7, 2021 21:52:50
>
> Sorry for my terrible english...

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: cygwin-3.2.0 + windows 10 - russian cyrilic input is broken
  2021-07-08 10:35   ` Егоров Егор
@ 2021-07-08 11:12     ` Takashi Yano
  2021-07-08 11:20       ` Takashi Yano
  2021-07-08 11:53       ` Егоров Егор
  0 siblings, 2 replies; 10+ messages in thread
From: Takashi Yano @ 2021-07-08 11:12 UTC (permalink / raw)
  To: cygwin
  Cc: Егоров Егор

On Thu, 8 Jul 2021 16:35:41 +0600
Егоров Егор via Cygwin <cygwin@cygwin.com> wrote:
> Hello!
> May be bisect result help:
> 
> e_egorov@inp-w-egorov-e /tmp/newlib-cygwin
> $ git bisect bad
> ff4440fcf7687d9af05f4c2fcb163fca5b2167f9 is the first bad commit
> commit ff4440fcf7687d9af05f4c2fcb163fca5b2167f9
> Author: Takashi Yano via Cygwin-patches <cygwin-patches@cygwin.com>
> Date:   Tue Feb 16 20:37:05 2021 +0900
> 
>     Cygwin: console: Introduce new thread which handles input signal.

Does your issue also happen after the following commit?

commit 98e3aeb1f521151f5b18fc2af9a8fecf11a98e76
Author: Takashi Yano <takashi.yano@nifty.ne.jp>
Date:   Thu Jun 24 12:40:58 2021 +0900

    Cygwin: console: Fix garbled input for non-ASCII chars.

    - After the commit ff4440fc, non-ASCII input may sometimes be garbled.
      This patch fixes the issue.

      Addresses: https://cygwin.com/pipermail/cygwin/2021-June/248775.html

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: cygwin-3.2.0 + windows 10 - russian cyrilic input is broken
  2021-07-08 11:12     ` Takashi Yano
@ 2021-07-08 11:20       ` Takashi Yano
  2021-07-08 11:53       ` Егоров Егор
  1 sibling, 0 replies; 10+ messages in thread
From: Takashi Yano @ 2021-07-08 11:20 UTC (permalink / raw)
  To: cygwin

On Thu, 8 Jul 2021 20:12:36 +0900
Takashi Yano wrote:
> Does your issue also happen after the following commit?
> 
> commit 98e3aeb1f521151f5b18fc2af9a8fecf11a98e76
> Author: Takashi Yano <takashi.yano@nifty.ne.jp>
> Date:   Thu Jun 24 12:40:58 2021 +0900

Please note that not 1b242c12 but 98e3aeb1.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: cygwin-3.2.0 + windows 10 - russian cyrilic input is broken
  2021-07-08 11:12     ` Takashi Yano
  2021-07-08 11:20       ` Takashi Yano
@ 2021-07-08 11:53       ` Егоров Егор
  1 sibling, 0 replies; 10+ messages in thread
From: Егоров Егор @ 2021-07-08 11:53 UTC (permalink / raw)
  To: Takashi Yano; +Cc: cygwin

Yes, this commit solved the issue!
And cygwin1-20210707.dll.xz works fine!
Thank you very much!

чт, 8 июл. 2021 г. в 17:13, Takashi Yano <takashi.yano@nifty.ne.jp>:

> On Thu, 8 Jul 2021 16:35:41 +0600
> Егоров Егор via Cygwin <cygwin@cygwin.com> wrote:
> > Hello!
> > May be bisect result help:
> >
> > e_egorov@inp-w-egorov-e /tmp/newlib-cygwin
> > $ git bisect bad
> > ff4440fcf7687d9af05f4c2fcb163fca5b2167f9 is the first bad commit
> > commit ff4440fcf7687d9af05f4c2fcb163fca5b2167f9
> > Author: Takashi Yano via Cygwin-patches <cygwin-patches@cygwin.com>
> > Date:   Tue Feb 16 20:37:05 2021 +0900
> >
> >     Cygwin: console: Introduce new thread which handles input signal.
>
> Does your issue also happen after the following commit?
>
> commit 98e3aeb1f521151f5b18fc2af9a8fecf11a98e76
> Author: Takashi Yano <takashi.yano@nifty.ne.jp>
> Date:   Thu Jun 24 12:40:58 2021 +0900
>
>     Cygwin: console: Fix garbled input for non-ASCII chars.
>
>     - After the commit ff4440fc, non-ASCII input may sometimes be garbled.
>       This patch fixes the issue.
>
>       Addresses: https://cygwin.com/pipermail/cygwin/2021-June/248775.html
>
> --
> Takashi Yano <takashi.yano@nifty.ne.jp>
>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: cygwin-3.2.0 + windows 10 - russian cyrilic input is broken
  2021-06-23  6:07   ` Eugene Klimov
@ 2021-06-23  8:41     ` Takashi Yano
  0 siblings, 0 replies; 10+ messages in thread
From: Takashi Yano @ 2021-06-23  8:41 UTC (permalink / raw)
  To: cygwin; +Cc: Eugene Klimov

On Wed, 23 Jun 2021 11:07:44 +0500
Eugene Klimov wrote:
> Thanks a lot, in cygwin 3.1.7 error not present

Thanks.

Hmm, I may have found the culprit. I will submit a patch which
possibly fixes the issue.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: cygwin-3.2.0 + windows 10 - russian cyrilic input is broken
  2021-06-23  3:09 ` Takashi Yano
@ 2021-06-23  6:07   ` Eugene Klimov
  2021-06-23  8:41     ` Takashi Yano
  0 siblings, 1 reply; 10+ messages in thread
From: Eugene Klimov @ 2021-06-23  6:07 UTC (permalink / raw)
  To: Takashi Yano; +Cc: cygwin

Thanks a lot, in cygwin 3.1.7 error not present

ср, 23 июн. 2021 г. в 08:09, Takashi Yano <takashi.yano@nifty.ne.jp>:
>
> On Tue, 22 Jun 2021 18:34:03 +0500
> Eugene Klimov wrote:
>
> > LANG=en_US.UTF-8
> > LC_CTYPE="en_US.UTF-8"
> > LC_NUMERIC="en_US.UTF-8"
> > LC_TIME="en_US.UTF-8"
> > LC_COLLATE="en_US.UTF-8"
> > LC_MONETARY="en_US.UTF-8"
> > LC_MESSAGES="en_US.UTF-8"
> > LC_ALL=en_US.UTF-8
> > TERM=xterm-256color
> >
> > when i run cygwin.bat from any cmd.exe
> > or just run bash.exe
> > and try to input cyrillic characters
> > some of symbols echoed wrong
> > look to screenshot
> > https://monosnap.com/file/nTjoi16aqBRcOhzj88S25h7YEkAUS7
> > some of input character wrong interpreted on cygwin side, wrong
> > interpretation depends on keypress speed
> > when i run mintty.exe, everything is fine
>
> Thanks for the report. Could you please check if your problem
> occurs with cygwin 3.1.7?
>
> --
> Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: cygwin-3.2.0 + windows 10 - russian cyrilic input is broken
  2021-06-22 13:34 Eugene Klimov
@ 2021-06-23  3:09 ` Takashi Yano
  2021-06-23  6:07   ` Eugene Klimov
  0 siblings, 1 reply; 10+ messages in thread
From: Takashi Yano @ 2021-06-23  3:09 UTC (permalink / raw)
  To: cygwin; +Cc: Eugene Klimov

On Tue, 22 Jun 2021 18:34:03 +0500
Eugene Klimov wrote:

> LANG=en_US.UTF-8
> LC_CTYPE="en_US.UTF-8"
> LC_NUMERIC="en_US.UTF-8"
> LC_TIME="en_US.UTF-8"
> LC_COLLATE="en_US.UTF-8"
> LC_MONETARY="en_US.UTF-8"
> LC_MESSAGES="en_US.UTF-8"
> LC_ALL=en_US.UTF-8
> TERM=xterm-256color
> 
> when i run cygwin.bat from any cmd.exe
> or just run bash.exe
> and try to input cyrillic characters
> some of symbols echoed wrong
> look to screenshot
> https://monosnap.com/file/nTjoi16aqBRcOhzj88S25h7YEkAUS7
> some of input character wrong interpreted on cygwin side, wrong
> interpretation depends on keypress speed
> when i run mintty.exe, everything is fine

Thanks for the report. Could you please check if your problem
occurs with cygwin 3.1.7?

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* cygwin-3.2.0 + windows 10 - russian cyrilic input is broken
@ 2021-06-22 13:34 Eugene Klimov
  2021-06-23  3:09 ` Takashi Yano
  0 siblings, 1 reply; 10+ messages in thread
From: Eugene Klimov @ 2021-06-22 13:34 UTC (permalink / raw)
  To: cygwin

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=en_US.UTF-8
TERM=xterm-256color

when i run cygwin.bat from any cmd.exe
or just run bash.exe
and try to input cyrillic characters
some of symbols echoed wrong
look to screenshot
https://monosnap.com/file/nTjoi16aqBRcOhzj88S25h7YEkAUS7
some of input character wrong interpreted on cygwin side, wrong
interpretation depends on keypress speed
when i run mintty.exe, everything is fine

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-07-08 11:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07 10:20 cygwin-3.2.0 + windows 10 - russian cyrilic input is broken Егоров Егор
2021-07-07 18:55 ` Andrey Repin
2021-07-08 10:35   ` Егоров Егор
2021-07-08 11:12     ` Takashi Yano
2021-07-08 11:20       ` Takashi Yano
2021-07-08 11:53       ` Егоров Егор
  -- strict thread matches above, loose matches on Subject: below --
2021-06-22 13:34 Eugene Klimov
2021-06-23  3:09 ` Takashi Yano
2021-06-23  6:07   ` Eugene Klimov
2021-06-23  8:41     ` Takashi Yano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).