Re: Why is taskset still not in util-linux?

2020-03-03 Thread Mark Geisert
Eliot Moss wrote: Dear cygwin-ers -- Something I had asked about a while ago was the absence os taskset in cygwin's util-linux.  At the time, it was pointed out that the necessary get/set affinity library/system calls were not yet supported.  These were added a while ago, so it would seem that

Re: Has rename syntax changed?

2020-03-03 Thread L A Walsh
On 2020/03/03 15:45, Hans-Bernhard Bröker wrote: Am 04.03.2020 um 00:25 schrieb L A Walsh: On 2020/02/28 04:38, Fergus Daly wrote: I am almost certain that the command $ rename "anything" "AnyThing" *.ext would alter the string from lc to uc as shown, anywhere it occurred in any

Re: [PATCH 1/1] Collect handling of wpixput and wpbuf into a helper class.

2020-03-03 Thread Takashi Yano
On Tue, 3 Mar 2020 21:03:38 +0100 Hans-Bernhard Bröker wrote: > OTOH the MS documentation calls this DWORD* an "optional output" > argument. If I'm reading that right, it means it should be fine to just > pass NULL to indicate that we don't need it: > > inline void sendOut (HANDLE ) > { >

Re: Cygwin/X XWinrc menu no longer launches after recent updates

2020-03-03 Thread Roland Roberts
On 3/3/2020 7:59 AM, Takashi Yano wrote: On Tue, 03 Mar 2020 12:40:17 + "Henry S. Thompson" wrote: Takashi Yano writes: This bug was already fixed in current git head. Current git head for Cygwin? Or mintty? I mean cygwin. Because I have another box, and now see that the bug does

Re: Has rename syntax changed?

2020-03-03 Thread Hans-Bernhard Bröker
Am 04.03.2020 um 00:25 schrieb L A Walsh: On 2020/02/28 04:38, Fergus Daly wrote: I am almost certain that the command $ rename "anything" "AnyThing" *.ext would alter the string from lc to uc as shown, anywhere it occurred in any filename in *.ext in the current directory. isn't that they

Re: Has rename syntax changed?

2020-03-03 Thread L A Walsh
On 2020/02/28 04:38, Fergus Daly wrote: I am almost certain that the command $ rename "anything" "AnyThing" *.ext would alter the string from lc to uc as shown, anywhere it occurred in any filename in *.ext in the current directory. isn't that they same as "mv anything.xxx Anything.xxx" ?

Re: Cygwin/X XWinrc menu no longer launches after recent updates

2020-03-03 Thread Henry S. Thompson
Brian Inglis writes: >> 2) There are some hints that cygrunsrv/cygserver might be implicated. >> Two cygchecks on one of my machines (which did run to completion) >> differ in that the one taken while XWin had started successfully >> differed from the other in that all my Cygwin

Re: Cygwin/X XWinrc menu no longer launches after recent updates

2020-03-03 Thread Brian Inglis
On 2020-03-03 10:21, Henry S. Thompson wrote: > Takashi Yano writes: > >> On Tue, 03 Mar 2020 12:40:17 + >> "Henry S. Thompson" wrote: >>> Takashi Yano writes: This bug was already fixed in current git head. >>> >>> Current git head for Cygwin? Or mintty? >> >> I mean cygwin. > > OK,

Re: Cygwin/X XWinrc menu no longer launches after recent updates

2020-03-03 Thread Brian Inglis
On 2020-03-03 10:21, Henry S. Thompson wrote: > Takashi Yano writes: > >> On Tue, 03 Mar 2020 12:40:17 + >> "Henry S. Thompson" wrote: >>> Takashi Yano writes: This bug was already fixed in current git head. >>> >>> Current git head for Cygwin? Or mintty? >> >> I mean cygwin. > > OK,

Re: [PATCH 1/1] Collect handling of wpixput and wpbuf into a helper class.

2020-03-03 Thread Hans-Bernhard Bröker
Am 03.03.2020 um 01:35 schrieb Takashi Yano: The second argument DWORD *wn of sendOut() is not used outside sendOut(), so it can be covered up like: inline void sendOut (HANDLE ) { DWORD wn; WriteConsoleA (handle, buf, ixput, , 0); } I doubt that will improve much, if anything. There

Re: -bash: cd: /cygdrive/j/tri60/220-1116c_1.993: No such file or directory

2020-03-03 Thread Robert McBroom
On 3/2/20 3:53 PM, Marco Atzeri wrote: Am 02.03.2020 um 21:17 schrieb Robert McBroom via cygwin: Details in attached file better in line next time. Are you sure that the disk J is mounted in a Administrator account ? Regards Marco USB drive Windows mounted on login. emacs shows the owner

Re: Change in logical link behaviour

2020-03-03 Thread Rainer Emrich
Am 03.03.2020 um 17:41 schrieb Corinna Vinschen: > On Mar 3 17:05, Rainer Emrich wrote: >> Am 03.03.2020 um 16:49 schrieb Corinna Vinschen: >>> On Mar 3 15:31, Corinna Vinschen wrote: On Mar 3 15:19, Rainer Emrich wrote: > Am 03.03.2020 um 14:39 schrieb Corinna Vinschen: >> Aha!

Re: Cygwin/X XWinrc menu no longer launches after recent updates

2020-03-03 Thread Henry S. Thompson
Takashi Yano writes: > On Tue, 03 Mar 2020 12:40:17 + > "Henry S. Thompson" wrote: >> Takashi Yano writes: >> > This bug was already fixed in current git head. >> >> Current git head for Cygwin? Or mintty? > > I mean cygwin. OK, this is now getting very weird. As at least one other person

Re: cat /proc/partitions shows only devices, not partitions

2020-03-03 Thread Corinna Vinschen
On Mar 3 16:32, Hashim Aziz wrote: > Yes, this was what I expected you meant by elevated shell. I tried that > earlier and got no luck (though I tried the link to the Cygwin terminal in my > start menu > not a desktop shortcut), and I just tried again after attempting several > permissions

Re: Change in logical link behaviour

2020-03-03 Thread Corinna Vinschen
On Mar 3 17:05, Rainer Emrich wrote: > Am 03.03.2020 um 16:49 schrieb Corinna Vinschen: > > On Mar 3 15:31, Corinna Vinschen wrote: > >> On Mar 3 15:19, Rainer Emrich wrote: > >>> Am 03.03.2020 um 14:39 schrieb Corinna Vinschen: > Aha! So powershell does not show the 'l'. > >>> The most

Re: cat /proc/partitions shows only devices, not partitions

2020-03-03 Thread Hashim Aziz
Yes, this was what I expected you meant by elevated shell. I tried that earlier and got no luck (though I tried the link to the Cygwin terminal in my start menu not a desktop shortcut), and I just tried again after attempting several permissions fixes but still no luck. The permissions fixed

Re: Change in logical link behaviour

2020-03-03 Thread Rainer Emrich
Am 03.03.2020 um 16:49 schrieb Corinna Vinschen: > On Mar 3 15:31, Corinna Vinschen wrote: >> On Mar 3 15:19, Rainer Emrich wrote: >>> Am 03.03.2020 um 14:39 schrieb Corinna Vinschen: Aha! So powershell does not show the 'l'. >>> The most important thing is the difference between cygwin

Re: Change in logical link behaviour

2020-03-03 Thread Corinna Vinschen
On Mar 3 15:31, Corinna Vinschen wrote: > On Mar 3 15:19, Rainer Emrich wrote: > > Am 03.03.2020 um 14:39 schrieb Corinna Vinschen: > > > Aha! So powershell does not show the 'l'. > > The most important thing is the difference between cygwin 3.0.7 and > > cygwin 3.1.4. For cygwin 3.0.7 the link

Re: Change in logical link behaviour

2020-03-03 Thread Corinna Vinschen
On Mar 3 15:19, Rainer Emrich wrote: > Am 03.03.2020 um 14:39 schrieb Corinna Vinschen: > > Aha! So powershell does not show the 'l'. > The most important thing is the difference between cygwin 3.0.7 and > cygwin 3.1.4. For cygwin 3.0.7 the link indicator is shown even in > powershell on Windows

Re: -bash: cd: /cygdrive/j/tri60/220-1116c_1.993: No such file or directory

2020-03-03 Thread Bill Stewart
On Mon, Mar 2, 2020 at 11:08 PM Robert McBroom wrote: Details in attached file Hint: When asking for help in a mailing list, the less effort respondents have to go through, the better. It is better to put your information directly in the message rather than attaching a file. (Why attach a

Re: Change in logical link behaviour

2020-03-03 Thread Rainer Emrich
Am 03.03.2020 um 14:39 schrieb Corinna Vinschen: > On Mar 3 14:17, Rainer Emrich wrote: >> Dear Corinna, >> >> Am 02.03.2020 um 17:48 schrieb Corinna Vinschen: >>> On Feb 29 14:10, Rainer Emrich wrote: I try to reliably determine if native Windows symlink are working for a current

Re: Change in logical link behaviour

2020-03-03 Thread Corinna Vinschen
On Mar 3 14:17, Rainer Emrich wrote: > Dear Corinna, > > Am 02.03.2020 um 17:48 schrieb Corinna Vinschen: > > On Feb 29 14:10, Rainer Emrich wrote: > >> I try to reliably determine if native Windows symlink are working for a > >> current cygwin environment in a shell script. > >> [...] > >> On

Re: Change in logical link behaviour

2020-03-03 Thread Rainer Emrich
Dear Corinna, Am 02.03.2020 um 17:48 schrieb Corinna Vinschen: > On Feb 29 14:10, Rainer Emrich wrote: >> I try to reliably determine if native Windows symlink are working for a >> current cygwin environment in a shell script. >> >> Therefor I used a powershell snipped: >> >> mkdir asdfgh >> ln

Re: Cygwin/X XWinrc menu no longer launches after recent updates

2020-03-03 Thread Takashi Yano
On Tue, 03 Mar 2020 12:40:17 + "Henry S. Thompson" wrote: > Takashi Yano writes: > > This bug was already fixed in current git head. > > Current git head for Cygwin? Or mintty? I mean cygwin. > Because I have another box, and now see that the bug does _not_ occur > with Cygwin 3.1.4 and

Re: [PATCH 1/1] Collect handling of wpixput and wpbuf into a helper class.

2020-03-03 Thread Takashi Yano
On Tue, 3 Mar 2020 12:14:00 +0100 Corinna Vinschen wrote: > Btw., looking through the code with this change I wonder about ixput not > being set to 0 in sendOut, right after calling WriteConsoleA. That > would drop the need to call empty after calls to sendOut and thus clean > up the code, no?

Re: Cygwin/X XWinrc menu no longer launches after recent updates

2020-03-03 Thread Henry S. Thompson
Takashi Yano writes: > On Tue, 03 Mar 2020 12:18:44 + > "Henry S. Thompson" wrote: >> Takashi Yano writes: >> >> > Does reverting cygwin1.dll to 3.1.2 help? >> >> In my case, yes it does. The resulting view from pstree is >> >> `-sh,1614 /usr/bin/startxwin >> `-xinit,1645

Re: Cygwin/X XWinrc menu no longer launches after recent updates

2020-03-03 Thread Takashi Yano
On Tue, 03 Mar 2020 12:18:44 + "Henry S. Thompson" wrote: > Takashi Yano writes: > > > Does reverting cygwin1.dll to 3.1.2 help? > > In my case, yes it does. The resulting view from pstree is > > `-sh,1614 /usr/bin/startxwin > `-xinit,1645 /home/ht/.startxwinrc -- /usr/bin/XWin :0

Re: Cygwin/X XWinrc menu no longer launches after recent updates

2020-03-03 Thread Henry S. Thompson
Takashi Yano writes: > Does reverting cygwin1.dll to 3.1.2 help? In my case, yes it does. The resulting view from pstree is `-sh,1614 /usr/bin/startxwin `-xinit,1645 /home/ht/.startxwinrc -- /usr/bin/XWin :0 -multiwindow ... |-XWin,1646 :0 -multiwindow -auth

Re: [PATCH 1/1] Collect handling of wpixput and wpbuf into a helper class.

2020-03-03 Thread Corinna Vinschen
Hi Hans-Bernhard, On Mar 3 00:07, Hans-Bernhard Bröker wrote: > Replace direct access to a pair of co-dependent variables > by calls to methods of a class that encapsulates their relation. > > Also replace C #define by C++ class constant. > --- > winsup/cygwin/fhandler_console.cc | 135

Re: cat /proc/partitions shows only devices, not partitions

2020-03-03 Thread Corinna Vinschen
On Mar 3 00:54, Hashim Aziz wrote: > Hey Corinna, thanks for your quick reply. > > Regarding the elevated shell - I'm unsure of exactly how to run an > elevated Cygwin shell? Right click on the Cygwin Terminal icon on the desktop, choose the item "Run as administrator". > I have attached the

Re: Cygwin/X XWinrc menu no longer launches after recent updates

2020-03-03 Thread Takashi Yano
On Tue, 3 Mar 2020 00:14:12 -0500 Roland Roberts wrote: > I only noticed this in the last week or so, and assumed I'd messed up > something with Windows 10 permission, which is still a possibility. My > first attempt to "fix" this was to reinstall pretty much everything in > Cygwin that was part

Re: -bash: cd: /cygdrive/j/tri60/220-1116c_1.993: No such file or directory

2020-03-03 Thread Brian Inglis
On 2020-03-02 23:08, Robert McBroom via cygwin wrote: > Details in attached file You most likely have Windows permissions problems, if all your tools are Cygwin. Run which on each tool to see what you are actually running, and run cygcheck to ensure they use cygwin1.dll. You need to run against

util-linux update?

2020-03-03 Thread Mark Geisert
Hi Yaakov, May I update the version of util-linux available on Cygwin? Your cygport file for the current 2.33.1 seems to work fine for the latest 2.35.1. I would add a patch file 2.33.1-cygwin-cpuset.patch (see attached) and update the cygport file to reference this additional patch and