Re: /usr/bin/fallocate missing in Cygwin 3.5's "util-linux" ...

2024-01-26 Thread ASSI via Cygwin
Mark Geisert via Cygwin writes: > A new build of the util-linux package, 2.33.1-3, now includes > fallocate and its man page. The updated package is now making its way > to the Cygwin mirrors. fallocate requires Cygwin version >= 3.5.0. It also doesn't work at all on Cygwin 3.4.x and 3.5 isn't

Re: New package: btop 1.3.0-1

2024-01-26 Thread Takashi Yano via Cygwin
On Sat, 27 Jan 2024 08:58:49 +0900 Takashi Yano wrote: > On Fri, 26 Jan 2024 16:09:10 -0700 > Brian Inglis wrote: > > Window blips and disappears whether running from XDG Menu btop++ or > > terminal! > > What happens if you run btop in mintty or UXterm? I could reproduce the problem. I'll

btop 1.3.0-2

2024-01-26 Thread Takashi Yano via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * btop-1.3.0-2 Resource monitor that shows usage and stats for processor, memory, disks, network and processes. - Fix the problem that btop cannot start at all. -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** The

Re: New package: btop 1.3.0-1

2024-01-26 Thread Takashi Yano via Cygwin
On Fri, 26 Jan 2024 16:09:10 -0700 Brian Inglis wrote: > Window blips and disappears whether running from XDG Menu btop++ or terminal! What happens if you run btop in mintty or UXterm? > tail ~/.xsession-errors > ... > executing 'xterm -e btop', pid 23052 > (pid 23052 stderr) Missing charset

Re: arc4random does not reseed after using fork()

2024-01-26 Thread Glenn Strauss via Cygwin
> While testing ksh93u+m's recently added SRANDOM variable[1], I have > discovered a bug in Cygwin's arc4random function. After using fork(), > arc4random does not reseed itself, which causes the results to become > predictable[2]. Below is a test case C program exhibiting the bug: > > ... > >

Re: New package: btop 1.3.0-1

2024-01-26 Thread Brian Inglis via Cygwin
On 2024-01-26 04:45, Takashi Yano via Cygwin-announce wrote: The following packages have been uploaded to the Cygwin distribution: * btop-1.3.0-1 Resource monitor that shows usage and stats for processor, memory, disks, network and processes. Window blips and disappears whether running from

Overlay server instructions

2024-01-26 Thread Ihor via Cygwin-apps
Hi! While I was trying to test how fine my package is installed and works, I relied on instructions at https://www.cygwin.com/package-server.html. Specifically on "Creating an overlay Cygwin package server" section, as it looked like the fastest way to test everything for me. But it was a bit

Re: [ITP] pigz 2.8

2024-01-26 Thread Ihor via Cygwin-apps
Hi Marco, Achim, Thank you for your time, the suggestions and fixes. Yes, looks like everything works fine with your changes. Also, as I understand, line `# REQUIRES="zlib"` can be removed? I'm attaching here latest pigz.cygport with your fixes and without `# REQUIRES="zlib"` line. Best

Re: Setting process command name in forked process

2024-01-26 Thread Steve Beck via Cygwin
Thanks so much for the reply, Anton! Really appreciate it. I tried what you proposed. Here is the code trying both ways (overwriting what is referenced by __argv[0] and then reassigning the reference). I compile this code (foo.c) simply as follows: gcc -o foo foo.c (with no errors or

Updated: xterm 389

2024-01-26 Thread Thomas Wolff
I've updated the cygwin xterm package to upstream release 389. The xterm program is a terminal emulator for the X Window System. It provides DEC terminal features (VT102, VT220, VT340, VT420 and beyond) for command-line interaction, ISO/ANSI and true colour support, Tektronix 4014 terminal

RE: Setting process command name in forked process

2024-01-26 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> (I'm assuming it's too late by the time the /proc entry has been set up). Actually, it's not. But beware, the suggested solution is absolutely NOT portable: These are the externals that /proc is referring to... (Not argc, argv passed to main().) extern char** __argv; extern int

[ITA] ncompress 5.0

2024-01-26 Thread Brian Inglis via Cygwin-apps
Hi folks, Noticed mention of ncompress used, saw it was unmaintained, occasionally use it for old sources, although it appears that gzip also decompresses compress .Z, pack .z, and zip single file formats. Mike F/vapier has migrated ncompress from SF to Github and updated it. It is available

Re: [PATCH 1/5] Cygwin: Make 'ulimit -c' control writing a coredump

2024-01-26 Thread Corinna Vinschen
On Jan 26 12:12, Corinna Vinschen wrote: > On Jan 25 20:03, Jon Turney wrote: > > On 25/01/2024 18:21, Corinna Vinschen wrote: > > > On Jan 25 14:50, Jon Turney wrote: > > > > On 24/01/2024 14:39, Corinna Vinschen wrote: > > > > > On Jan 24 13:28, Jon Turney wrote: > > > > > > On 23/01/2024 14:29,

New package: btop 1.3.0-1

2024-01-26 Thread Takashi Yano via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * btop-1.3.0-1 Resource monitor that shows usage and stats for processor, memory, disks, network and processes. -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** The easiest way to unsubscribe is to visit

Re: [PATCH 1/5] Cygwin: Make 'ulimit -c' control writing a coredump

2024-01-26 Thread Corinna Vinschen
On Jan 25 20:03, Jon Turney wrote: > On 25/01/2024 18:21, Corinna Vinschen wrote: > > On Jan 25 14:50, Jon Turney wrote: > > > On 24/01/2024 14:39, Corinna Vinschen wrote: > > > > On Jan 24 13:28, Jon Turney wrote: > > > > > On 23/01/2024 14:29, Corinna Vinschen wrote: > > > > > > On Jan 23 14:20,

Updated: dos2unix 7.5.2-1

2024-01-26 Thread Erwin Waterlander via Cygwin-announce
CHANGES SINCE LAST RELEASE: === New upstream release. * Dos2unix can print info about the line break type of the last line, or indicate there is none. * Updated documentation about ASCII mode conversion. homepage:https://waterlan.home.xs4all.nl/dos2unix.html

Re: Source code for bash package?

2024-01-26 Thread Marco Atzeri via Cygwin
On 26/01/2024 08:22, Cedric Blancher via Cygwin wrote: Good morning! Where can I find the source code for the Cygwin bash package? Not the bash source itself, I am looking for the data which is used to build the Cygwin bash package. Ced https://cygwin.com/cgit/cygwin-packages/bash/tree/

Re: [ITP] pigz 2.8

2024-01-26 Thread Marco Atzeri via Cygwin-apps
On 26/01/2024 08:00, ASSI via Cygwin-apps wrote: Marco Atzeri via Cygwin-apps writes: BUILD_REQUIRES="zlib-devel ncompress gzip" Why is ncompress a build dependency? Please remove if possible. Regards, Achim. it is used in the testing