Re: include tag in uname -s for ARM64 hosts

2024-11-21 Thread Jeremy Drake via Cygwin
On Thu, 21 Nov 2024, Corinna Vinschen via Cygwin wrote: > IMHO: > > if (IsWow64Process2 (GetCurrentProcess (), &emulated, &hosted)) > && emulated != IMAGE_FILE_MACHINE_UNKNOWN) > if (hosted == IMAGE_FILE_MACHINE_AMD64) > strcat (sysname, "-WOW64"); > else if (hosted == IMAGE_

Re: include tag in uname -s for ARM64 hosts

2024-11-21 Thread Corinna Vinschen via Cygwin
On Nov 21 10:15, Jeremy Drake via Cygwin wrote: > On Thu, 21 Nov 2024, Corinna Vinschen via Cygwin wrote: > > > > i686 x86_64 -WOW64-x64 (or omit arch to match existing?) > > > > Just -WOW64 > > > > For backward compat and it's a sole representative of an intel-intel > > emulation anyway. I

Re: include tag in uname -s for ARM64 hosts

2024-11-21 Thread Jeremy Drake via Cygwin
On Thu, 21 Nov 2024, Corinna Vinschen via Cygwin wrote: > > i686x86_64 -WOW64-x64 (or omit arch to match existing?) > > Just -WOW64 > > For backward compat and it's a sole representative of an intel-intel > emulation anyway. I think we may safely ignore "WOW" > > > i686ARM64 -W

Re: Cygwin zh_CN.GB18030 locale?

2024-11-21 Thread Corinna Vinschen via Cygwin
On Nov 21 12:25, Corinna Vinschen via Cygwin wrote: > On Nov 21 05:57, Dan Shelton via Cygwin wrote: > > locale -a | grep 18030 > > You're confusing locale with codeset (or charset). > > $ locale -a | grep zh_CN > zh_CN > zh_CN.utf8 > zh_CN.utf8@cjknarrow > zh_CN@cjknarrow > > $ loca

Re: Cygwin zh_CN.GB18030 locale?

2024-11-21 Thread Corinna Vinschen via Cygwin
On Nov 21 05:57, Dan Shelton via Cygwin wrote: > On Thu, 21 Nov 2024 at 05:06, Takashi Yano wrote: > > > > On Thu, 21 Nov 2024 00:16:41 +0100 > > Dan Shelton wrote: > > > Does Cygwin have a zh_CN.GB18030 locale? > > > > I think so. > > > > $ locale > > LANG=zh_CN.GB18030@cjknarrow > > LC_CTYPE="zh

Re: Read Windows event log from via Cygwin /proc, /dev, ...?

2024-11-21 Thread Martin Wege via Cygwin
On Wed, Nov 20, 2024 at 11:38 PM Dan Shelton via Cygwin wrote: > > On Wed, 24 Jul 2024 at 03:10, Brian Inglis via Cygwin > wrote: > > > > On 2024-07-23 18:07, Dan Shelton via Cygwin wrote: > > > Does Cygwin have a script API to read the Windows event log, maybe via > > > /proc > > > or /dev? >

Re: Read Windows event log from via Cygwin /proc, /dev, ...?

2024-11-21 Thread Corinna Vinschen via Cygwin
On Nov 20 23:36, Dan Shelton via Cygwin wrote: > On Wed, 24 Jul 2024 at 03:10, Brian Inglis via Cygwin > wrote: > > > > On 2024-07-23 18:07, Dan Shelton via Cygwin wrote: > > > Does Cygwin have a script API to read the Windows event log, maybe via > > > /proc > > > or /dev? > > Install package s

Re: include tag in uname -s for ARM64 hosts

2024-11-21 Thread Corinna Vinschen via Cygwin
On Nov 20 11:34, Jeremy Drake via Cygwin wrote: > I mentioned this briefly on cygwin-patches during the review of the fix > for a deadlock when running under emulation on ARM64 hosts, but I wanted > to discuss it more thoroughly here now that that is merged. > > It seems like it would be useful, p

Re: Cygwin zh_CN.GB18030 locale?

2024-11-21 Thread Thomas Wolff via Cygwin
Am 21.11.2024 um 06:55 schrieb Dan Shelton via Cygwin: ... What do I have to install and do to get a single MinTTY running with bash with a GB18030 locale, while the rest of the Windows session remains English? You can use the different locale categories, e.g. LC_MESSAGES=en_GB LC_CTYPE=zh_CN.G