Re: [PATCH] Cygwin: console: Fix segfault on shared_console_info access.

2020-02-25 Thread Corinna Vinschen
On Feb 25 12:53, Takashi Yano wrote: > On Tue, 25 Feb 2020 12:08:16 +0900 > Takashi Yano wrote: > > On Mon, 24 Feb 2020 19:33:18 +0100 > > Corinna Vinschen wrote: > > > Is there some kind of workaround for that problem? Otherwise defaulting > > > to a (broken) xterm mode instead of a (working) cyg

Re: [PATCH] Cygwin: console: Fix segfault on shared_console_info access.

2020-02-25 Thread Takashi Yano
Hi Corinna, On Tue, 25 Feb 2020 10:16:56 +0100 Corinna Vinschen wrote: > > > Oh, wait. I was setting foreground and background color in > > > "terminal" tab in property. If I set them in "colors" tab, > > > cmd.exe behaves differently. In this setting, your problem > > > does not seems to occur. >

[PATCH 0/2] Modify handling of several ESC sequences in xterm mode.

2020-02-25 Thread Takashi Yano
Takashi Yano (2): Cygwin: console: Add workaround for broken IL/DL in xterm mode. Cygwin: console: Add support for REP escape sequence to xterm mode. winsup/cygwin/fhandler_console.cc | 215 ++ winsup/cygwin/wincap.cc | 20 +++ winsup/cygwin/wincap.h

[PATCH 1/2] Cygwin: console: Add workaround for broken IL/DL in xterm mode.

2020-02-25 Thread Takashi Yano
- Cygwin console with xterm compatible mode causes problem reported in https://www.cygwin.com/ml/cygwin-patches/2020-q1/msg00212.html if background/foreground colors are set to gray/black respectively in Win10 1903/1909. This is caused by "CSI Ps L" (IL), "CSI Ps M" (DL) and "ESC M" (RI) co

[PATCH 2/2] Cygwin: console: Add support for REP escape sequence to xterm mode.

2020-02-25 Thread Takashi Yano
- In Win10 upto 1809, xterm compatible mode does not have REP escape sequence which terminfo declares. This patch adds support for "CSI Ps b" (REP). With this patch, bvi (binary editor) works normally in Win10 1809. Also, xterm compatible mode does not have "CSI Pm `" (HPA), "CSI Pm a" (HPR

Re: [PATCH] Cygwin: console: Fix segfault on shared_console_info access.

2020-02-25 Thread Brian Inglis
On 2020-02-24 20:53, Takashi Yano wrote: > On Tue, 25 Feb 2020 12:08:16 +0900 > Takashi Yano wrote: >> On Mon, 24 Feb 2020 19:33:18 +0100 >> Corinna Vinschen wrote: >>> Is there some kind of workaround for that problem? Otherwise defaulting >>> to a (broken) xterm mode instead of a (working) cygwi

[PATCH] cpuinfo:power management: add proc_feedback, acc_power

2020-02-25 Thread Brian Inglis
linux 4.6 x86/cpu: Add advanced power management bits Bit 11 of CPUID 8000_0007 edx is processor feedback interface. Bit 12 of CPUID 8000_0007 edx is accumulated power. Print proper names in /proc/cpuinfo [missed enabling this 2016 change during previous major cpuinfo update as no power related c