Re: In Cygwin console (not Mintty), escape sequences DL/IL at the last line misbehave

2022-02-03 Thread Koichi Murase
2022年2月3日(木) 21:10 Takashi Yano : Thank you for your prompt reply and support! > On Thu, 3 Feb 2022 19:02:14 +0900 > Koichi Murase wrote: > > I'm not sure what this exactly is related to, but I guess pcon is > > closely related. > > No, this is not related to pseudo

In Cygwin console (not Mintty), escape sequences DL/IL at the last line misbehave

2022-02-03 Thread Koichi Murase
I'm not sure what this exactly is related to, but I guess pcon is closely related. Cygwin version: I can reproduce it in Cygwin 3.2.0 and the latest 3.3.4 for both 64-bit and 32-bit versions. I usually set CYGWIN=disable_pcon, but this reproduces for both cases with and without disable_pcon. I t

Re: Question on pseudo console and legacy console

2020-02-08 Thread Koichi Murase
Thank you for the explanation. I think I'm going to by default add `disable_pcon' to the environment variable `CYGWIN' before calling `posix_openpt'. 2020年2月9日(日) 7:43 Takashi Yano > Do you mean "without pseudo console support" by "legacy console mode"? Yes. > If so, pty should behave as before

Re: Cygwin-3.1.3: Terminal contents are overwritten by less graphical ones on the start of non-Cygwin programs

2020-02-08 Thread Koichi Murase
Thank you for your quick response and the explanations and pointers to related discussions. 2020年2月8日(土) 22:25 Takashi Yano > From https://www.cygwin.com/ml/cygwin/2019-10/msg00063.html > > The pseudo console has its own screen buffer behind, and redraws the > screen based on the screen buffer at

Question on pseudo console and legacy console

2020-02-08 Thread Koichi Murase
I have a question on the pseudo console mode and the legacy console mode. Question: Does it cause problems to set `disable_pcon' in the default value of the environment variable `CYGWIN'? When is the pseudo console mode recommended, and when can I use the legacy console mode? I noticed

Cygwin-3.1.3: Terminal contents are overwritten by less graphical ones on the start of non-Cygwin programs

2020-02-08 Thread Koichi Murase
Hi, this is another report related to the pseudo console. Description: When a non-Cygwin program is started for the first time in that PTY in terminal emulators such as Mintty, Xterm, Urxvt and GNU Screen, the terminal contents are overwritten by less graphical ones. I guess that the con

Cygwin-3.1.3: read(2) from /dev/consN returns unexpected EOF after select(2) and redirection

2020-01-24 Thread Koichi Murase
Hi, this is another report related to Cygwin console. Description: In a noncanonical mode of console (where tty is /dev/consN), if there is some unprocessed inputs from the user side (i.e., terminal side), the combination of select(2) (for read) and redirection causes the next attempt of

Cygwin 3.3.0: The programs compiled with "-mwindows" cannot read more than one byte from noncanonical mode TTY

2020-01-23 Thread Koichi Murase
2020年1月21日(火) 10:47 Takashi Yano : > Thanks for the report. I could reproduce the problem under LANG=ja_JP.UTF-8. > I have almost caught the culprit. Please wait for a while. Thank you for the patch fixing the problem. I cherry-picked the patch and tried it, but there is another problem. Descript

Re: Cygwin 3.1.2: Every call of exec(2) in the session starts to create a console window after some TTY outputs from programs compiled with "-mwindows"

2020-01-20 Thread Koichi Murase
2020年1月20日(月) 15:17 Marco Atzeri : > > I can not replicate with latest snapshot > > $ uname -a > CYGWIN_NT-10.0 LAPTOP-82F08ILC 3.1.2s(0.340/5/3) 2020-01-14 16:33 x86_64 > Cygwin > > $ mintty --version > mintty 3.1.0 (x86_64-pc-cygwin) > ... > > $ for i in {0..99}; do date; done | uniq -c >

Cygwin 3.1.2: Every call of exec(2) in the session starts to create a console window after some TTY outputs from programs compiled with "-mwindows"

2020-01-19 Thread Koichi Murase
Hi, I updated Cygwin from 3.0.7 to 3.1.2 and have two problems. This is the report for one of them. (For the other one, read(2) occasionally fails on the new cygwin console for some settings, but I'm still trying to pin down the issue.) Cygwin Version: Cygwin 3.1.2 x86_64 on Windows 10. I al