Re: Switching groups with newgrp - how to get the new group with |GetTokenInformation()| ?

2024-04-26 Thread Andrey Repin via Cygwin
messages per system locale. That > might be nice to watch as a human user, but impossible to write a > parser. That damn thing does not honor LC_ALL, and I am now basically > forced to write custom parsers for each customers language. Try `chcp 65001` before calling to it. It may behave better then.

Re: Issue with cygdrive mount, native symlinks, and noacl option

2024-04-26 Thread Andrey Repin via Cygwin
ion but the underlying issue still seems like a bug or an > oversight to me, particularly given that nativestrict behaves differently > when it comes to evaluating mount options. See... > * Another workaround would be to use non-nativestrict symlinks but I want > to preserve interoperability with

Re: See repeated /usr/bin in my path

2024-04-17 Thread Andrey Repin via Cygwin
$HOME|^(/usr(/local)?)?/bin\$#d;" | paste -sd:)" export PATH (Essentially, I push 4 predefined paths on top of the stack, then filter out the rest of the stack by some known patterns.) -- With best regards, Andrey Repin Thursday, April 18, 2024 00:07:59 Sorry for my terrible engl

Re: Additional odd behavior after my upgrade to the latest CYGWIN64 version

2024-03-18 Thread Andrey Repin via Cygwin
t;> --irreversible-delete HEAD -- >> # The actual executed command is: >> git diff --minimal --diff-filter=mad --find-renames=70 --irreversible-delete >> HEAD -- I don't think that's how it is supposed to work. -- With best regards, Andrey Repin Monday, March 18, 2024 12:06

Re: Convert a file descriptor from Cygwin openat() to Win32 file HANDLE?

2024-03-04 Thread Andrey Repin via Cygwin
ide a more meaningful suggestion to solve your specific issue. -- With best regards, Andrey Repin Monday, March 4, 2024 11:19:58 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:ht

Re: How can I get the group SID for a file in cmd.exe (powershell is not an option)?

2024-02-29 Thread Andrey Repin via Cygwin
indows since > Windows 7--that's over 14 years ago as I write this.) Since Windows XP. -- With best regards, Andrey Repin Thursday, February 29, 2024 17:38:13 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cy

Re: Howto to backup and restore windows ACL?

2024-02-29 Thread Andrey Repin via Cygwin
fortunately I'm still on backuppc 3.3 and can't ust rsync with --acl and > --xattr. > If I could extract the acls to a file, as "ntfssecaudit -b C:" would do and > restore them later as "ntfssecaudit -s C:" would do would be great. Look for tools like subinacl.

Re: Wrong NTFS permissions

2024-01-24 Thread Andrey Repin via Cygwin
Cygwin root directory. Change the cygdrive entry in your /etc/fstab to contain noacl option and your life suddenly become easier. >> none /cygdrive cygdrive noacl,binary,nouser,posix=0 0 0 > Anyway, in my initial report, the "getfacl: b: Invalid argument" message > looks rea

Re: mintty ^H weirdness with ssh to one specific Debian 11 system

2024-01-18 Thread Andrey Repin via Cygwin
try, which could be 'vt100' or even 'dumb', which is not what you want, certainly. -- With best regards, Andrey Repin Thursday, January 18, 2024 16:05:02 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/fa

Re: Capturing a Cygwin instance from another PC

2024-01-14 Thread Andrey Repin via Cygwin
string with "0"; - if replacement was successful, go to next line; - delete line. Once I made sure the script is right, I just appended its output to the end of installed.db on target partition. Then run setup.exe and everything happened according to plan. This works for v3 database, so to be on a

Re: How to map a NAS drive in /etc/fstab that is of type

2024-01-08 Thread Andrey Repin via Cygwin
d mount root for Windows drives. Default is "/cygdrive", and example configuration you can find in /etc/fstab. To mount Windows drives as simple /, you could define as "/". -- With best regards, Andrey Repin Monday, January 8, 2024 23:05:44 Sorry for my terrible englis

Re: Firewall ports for Cygwin setup.exe to access mirror.kernel.org?

2024-01-07 Thread Andrey Repin via Cygwin
Greetings, Dan Shelton! > Can someone provide a list of TCP ports which must be open in the > outgoing firewall settings, so Cygwin setup.exe can fetch data from > mirror.kernel.org? Standard HTTP ports. 80/443 -- With best regards, Andrey Repin Sunday, January 7, 2024 23:20:38 Sor

Re: [EXTERNAL] mkdir create directory with permissions in wrong order

2023-12-23 Thread Andrey Repin via Cygwin
problem of Explorer, not Cygwin, that it can not handle permissions in a given order. See the documentation link above. -- With best regards, Andrey Repin Saturday, December 23, 2023 19:05:59 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ

Re: Custom package repository in addition to default Cygwin packages?

2023-12-22 Thread Andrey Repin via Cygwin
-- The problem is that the --help list do not mention the possibility to use multiple -s switches. -- With best regards, Andrey Repin Friday, December 22, 2023 22:21:36 Sorry for my terrible english... -- Problem reports: https://cygwin

Re: Cygwin is not passing arguments to Windows apps

2023-12-22 Thread Andrey Repin via Cygwin
C:\ > I've taken them out and it's working now, but I'm still puzzled by how > those lines created the problem. Those lines worked verbatim on my last > Cygwin installation; what changed? Bugs getting fixed, I presume. -- With best regards, Andrey Repin Friday, December 22, 2023 2

Re: rfe: CYGWIN fslinktypes option? Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-22 Thread Andrey Repin via Cygwin
able? Make a patch to begin discussion. Also, not all mangling is meaningful to disable. F.e. disabling .exe magic on Windows would be surprising to the end user. -- With best regards, Andrey Repin Friday, December 22, 2023 21:50:58 Sorry for my terrible english... -- Problem reports:

Re: Cygwin api to punch a hole into a file?

2023-12-04 Thread Andrey Repin via Cygwin
ven point, the *allocation size* will be > rounded up to 64K and from that point on, it will be in 64K chunks. Also > sparsifying and desparsifying of blocks only works in 64K chunks. -- With best regards, Andrey Repin Monday, December 4, 2023 18:56:37 Sorry for my terrible english..

Re: cmd.exe clone with UNC support?

2023-11-30 Thread Andrey Repin via Cygwin
>> using UNC paths in cmd.exe for many years. >> >> It might help to describe your problem rather than a proposed solution. So, ^^^ this. -- With best regards, Andrey Repin Friday, December 1, 2023 04:42:26 Sorry for my terrible english... -- Problem reports: https://

Re: Cygwin mount limited to 64 mounts, even for UNC paths?

2023-11-30 Thread Andrey Repin via Cygwin
interesting question is: why do you need so many _Cygwin_ mounts? There's a lot of other options, from NTFS junctions to using UNC paths directly (Cygwin tools aren't picky in this regard). -- With best regards, Andrey Repin Friday, December 1, 2023 04:53:35 Sorry for my terrible english...

Re: Set localisation locale of Windows netstat?

2023-11-24 Thread Andrey Repin via Cygwin
ntent along the lines of > #!/bin/dash > > [ -f /usr/local/bin/chcp ] || { > ln -fsT "$( cygpath -S )/chcp.com" /usr/local/bin/chcp > } > > exit 0 and it will create a link on the next fill setup run. -- With best regards, Andrey Repin Friday, November 24, 2023 17:23:

Re: Cygwin tool to differ junctions from soft links?

2023-11-16 Thread Andrey Repin via Cygwin
egards, Andrey Repin Thursday, November 16, 2023 11:46:09 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsub

Re: setup-x86_64.exe (bug ?): Cannot write to /usr/bin/cygwin1.dll - cyserver squatting it...

2023-11-15 Thread Andrey Repin via Cygwin
possible to modify "setup-x86_64.exe" to stop cygserver before > doing the installation process and re-start it after it ? There's no reason to do so, as there's no easy way to detect beforehand, if you actually need to do so. You could have cygserver running from one Cygwin setup but

Re: Messages not delivered to the cygwin@ mailing list

2023-11-06 Thread Andrey Repin via Cygwin
Greetings, Ernie Rael! > On 23/09/15 1:59 PM, Andrey Repin via Cygwin wrote: >> Greetings, cygwin-ow...@cygwin.com! >> >> It is about 4 months since I lost ability to post to the many mailing lists >> from my primary address. Messages are seemingly coming into a

Re: Cant install Cygwin Virt-manager that asks for library that asks for python2

2023-11-06 Thread Andrey Repin via Cygwin
when there is no more to >> add >> > But i cant install virt-manager to use iso files. You don't need it at all to begin with. Cygwin is a userspace library, not a kernel driver. It has access to anything Windows system provides the easy way. Just mount ISO in the system any way you like and

Re: scp and ssh 'cat' stalls at 64k bytes

2023-11-06 Thread Andrey Repin via Cygwin
0 records in 1+0 records out 65537 bytes (66 kB, 64 KiB) copied, 7.67032 s, 8.5 kB/s $ dd if=/dev/zero bs=64k count=1M | ssh localhost -- cat > /dev/null 1048576+0 records in 1048576+0 records out 68719476736 bytes (69 GB, 64 GiB) copied, 670.787 s, 102 MB/s -- With best regards, Andrey Repin

Re: OpenSSL failure in Cygwin: SSL_set_tlsext_host_name returns 1 (SSL_TLSEXT_ERR_ALERT_WARNING)

2023-11-06 Thread Andrey Repin via Cygwin
his error means that a connecting party had sent server name which server did not acknowledge. > This prevents proxytunnel from being able to connect to the remote peer. > What might be wrong? If possible, I would look at the protocol log for connection, if I were you. -- With best r

Re: make missing shared libraries: cygguile-3.0-1.dll

2023-11-06 Thread Andrey Repin via Cygwin
including netsh, for example) will behave more consistently in such case. -- With best regards, Andrey Repin Thursday, May 18, 2023 10:21:41 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Docu

Re: Getting return code "127" after execution of program

2023-11-06 Thread Andrey Repin via Cygwin
output of cygcheck -svr as per >> Problem reports: https://cygwin.com/problems.html > Please let me know if you want more details. Did you install cygwin on the target system or you naively tried to copy only DLL's you think are needed? -- With best regards, Andrey Repin Sa

Re: Slow Cygwin commands even with Cygserver

2023-11-06 Thread Andrey Repin via Cygwin
(I)(RX) > Successfully processed 1 files; Failed processing 0 files This clearly indicates that there's a domain group ACE on the file. Domain access to resolve account names could cause slow file I/O. Though, it should have been cached if the same ACL is set on entire directory. -- With b

Re: Another confusing error from someone else's Cygwin setup

2023-11-06 Thread Andrey Repin via Cygwin
.erring > This was pretty perplexing, It is actually pretty clear, though. $ od -t x1a < script.erring See the output. -- With best regards, Andrey Repin Wednesday, July 5, 2023 22:22:57 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html F

Re: Find free drive letter in Cygwin?

2023-11-06 Thread Andrey Repin via Cygwin
ove. > So it would be a valid solution in bash to loop from a-z in > /proc/cygdrive/$letter/ and see whether this is a dir, right? If you want a temporary bind, A: and B: are often free on modern systems. Or you could just make a junction to a directory instead. mklink /J $( cygdrive -aw $(mkte

Re: /usr/bin/realpath cannot handle UNC paths ?

2023-11-06 Thread Andrey Repin via Cygwin
$ echo "$PWD" //DAEMON-EC.DARKDRAGON.LAN/D $ which realpath /bin/realpath $ /bin/realpath "$PWD" //DAEMON-EC.DARKDRAGON.LAN/D -- With best regards, Andrey Repin Friday, September 29, 2023 23:04:17 Sorry for my terrible english... -- Problem reports: ht

Re: git 2.39.0 change from relative to absolute submodule paths

2023-11-06 Thread Andrey Repin via Cygwin
d I unable to run any tests until it is restored. -- With best regards, Andrey Repin Sunday, May 21, 2023 19:05:26 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs

Re: Most git executables are hard links to git.exe?

2023-11-06 Thread Andrey Repin via Cygwin
ing the executable name and associated CWD. Making them unusable as command processors in general. -- With best regards, Andrey Repin Monday, July 31, 2023 16:33:49 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.co

Re: Cygwin 'cp' command is still slow after Cygserver is installed

2023-04-20 Thread Andrey Repin via Cygwin
rent directory. Just icacls "interchange.20230418091901.tmp" should suffice. -- With best regards, Andrey Repin Thursday, April 20, 2023 10:31:55 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/

Re: Can not stat file with utf char U+F020

2023-04-17 Thread Andrey Repin via Cygwin
My understanding is that on Windows, a regular file name can't start or end with space, and can't end with dot. There's ways to game this rule, but in simple cases this is how it works for most part. If a similar rule can be crafted for filesystems under discussion, that could simplify the pro

Re: setup 2.925 release candidate - please test

2023-04-15 Thread Andrey Repin via Cygwin
version) >> > just as info, > Avira Antivirus just decided that Setup and Mintty are dangerous Each new file named "setup" is considered "dangerous" these days. -- With best regards, Andrey Repin Saturday, April 15, 2023 18:02:45 Sorry for my terrible english... --

Re: have cygwin setup.exe signed and/or in the MS store

2023-04-12 Thread Andrey Repin via Cygwin
(though I guess that might not be possible with their > policy)? msgid:camu-taupf3dzpye3xj0f_gyrchzprxjxbyafd6tt9my+a7j...@mail.gmail.com msgid:CAGZiy71hduc-LZvLvqXWNzYpN7foKrvobVP5q3S=keagukq...@mail.gmail.com And earlier mails on the subject. -- With best regards, Andrey Repin Wednesday, April

Re: Changing user home to overlap Windows user home possible? Or a bad idea?

2023-04-11 Thread Andrey Repin via Cygwin
Greetings, Thomas Schweikle! > Am Sa., 08.Apr..2023 um 10:30:47 schrieb Andrey Repin: >> Greetings, Thomas Schweikle! >> >> Is it possible to have the same home for Windows and cygwin? >> > See /etc/nsswitch.conf and >> > https://cygwin.com/cygwin-u

Re: issue when piping from a windows program

2023-04-11 Thread Andrey Repin via Cygwin
n is up to date, windows 10. What gives? You don't need d2u. Use `… | iconv -f UTF16LE | tr -d '\r'` (Don't even need -t for iconv - it assumes current locale settings as default source/destination encoding.) -- With best regards, Andrey Repin Tuesday, April 11, 2023 17:41:32 Sorry for my terribl

Re: bash shell script: recently running, now failing

2023-04-08 Thread Andrey Repin via Cygwin
Greetings, Brian Inglis via Cygwin! > On 2023-04-06 06:21, Andrey Repin via Cygwin wrote: >>> I have a "hash bang" bash shell script i.e. first line >>> #! /bin/sh >>> or equivalently >>> #! /bin/bash >> By default, sh is bash in base Cygwin

Re: Changing user home to overlap Windows user home possible? Or a bad idea?

2023-04-08 Thread Andrey Repin via Cygwin
l,binary,nouser,posix=0 0 0 And usertemp idea is also a good one: >> none /tmp usertemp binary,nouser,posix=0 0 0 -- With best regards, Andrey Repin Saturday, April 8, 2023 11:09:33 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: bash shell script: recently running, now failing

2023-04-06 Thread Andrey Repin via Cygwin
lot of bash'izms in scripts, which would not otherwise run under (d?a)?sh. See the post-install script attached. -- With best regards, Andrey Repin Thursday, April 6, 2023 15:18:19 Sorry for my terrible english... zp_dash-as-bin-sh.dash Description: Binary data -- Problem reports:

Re: Getting Error while connect to DB2 from Cygwin 64-bit

2023-04-04 Thread Andrey Repin via Cygwin
der the terms of > the GNU General Public License version 3 or (at your option) a later > version. > This program has absolutely no warranty. > Please let me know if you want more details. -- With best regards, Andrey Repin Tuesday, April 4, 2023 10:33:35 Sorry for my terrible en

Re: How to remove "Priveleged Server" as default UAC prompt?

2023-03-29 Thread Andrey Repin via Cygwin
name (I have admin rights, but UAC is enabled) > will it be able to automate actions that require admin privileges? Not to my knowledge. Use system scheduler to automate system tasks. -- With best regards, Andrey Repin Wednesday, March 29, 2023 12:34:52 Sorry for my terrible english

Re: cygwin gdb: issue with non-posix style absolute paths

2023-03-04 Thread Andrey Repin via Cygwin
pport > windows? In other words - does cygwin apply patches or flags to gdb to get > it to work with cygwin and windows paths? -- With best regards, Andrey Repin Saturday, March 4, 2023 20:14:54 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: Nano fails to open file "~/.bashrc".

2023-03-04 Thread Andrey Repin via Cygwin
essary/conflicting directories from $PATH. Something along the lines of PATH="$(tr ":" "\\n" <<<"$PATH" | grep -v /Windows/ | tr "\\n" ":")" export PATH -- With best regards, Andrey Repin Saturday, March 4, 2023 16:14:34 Sorr

Re: Nano fails to open file "~/.bashrc".

2023-03-03 Thread Andrey Repin via Cygwin
Greetings, Kirill Frolov! Please avoid top-posting in this list. > On 03.03.2023 15:47, Andrey Repin wrote: >> Greetings, Kirill Frolov! >> >>> When i run nano ~/.bashrc nano opens with   [ Directory '/home/frolo' does >>> not exist ] error. >> Do you run

Re: Nano fails to open file "~/.bashrc".

2023-03-03 Thread Andrey Repin via Cygwin
t;; mount; cat /etc/nsswitch.conf -- With best regards, Andrey Repin Friday, March 3, 2023 15:45:34 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscr

Re: Changing the python sqlite3 version to the latest

2023-02-15 Thread Andrey Repin via Cygwin
Greetings, Jose Isaias Cabrera! > On Wednesday, February 15, 2023 10:55 AM, Andrey Repin  expressed: >> > -- untared the snapshot >> > $ tar xvf sqlite-snapshot-202302131932.tar.gz >> >> > -- cd to the untared directory >> > $ cd sqlite-snapshot-2023

Re: [ANNOUNCEMENT] Updated: dash 0.5.12-2

2023-02-15 Thread Andrey Repin via Cygwin
_x%%[![:space:]]*}}"' > x :thumbsup: -- With best regards, Andrey Repin Wednesday, February 15, 2023 18:56:29 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin

Re: Changing the python sqlite3 version to the latest

2023-02-15 Thread Andrey Repin via Cygwin
uot;:memory:" > con = ConnectToSharedDB(SharedDB) > cur = con.cursor() > cur.execute("SELECT sqlite_version(),sqlite_source_id();") > for row in cur: > print(row[0] + '\r\n' + row[1]) > con.close() -- With best regards, Andrey Repin Wednesday, February 15, 2023 18:54:

Re: [ANNOUNCEMENT] Updated: dash 0.5.12-2

2023-02-13 Thread Andrey Repin via Cygwin
> So how do we fix in Cygwin without pulling in GLibc code? Depends what you call a "fix". As for an example, dash -c '_x=" x"; echo "${_x#${_x%%[![:space:]]*}}"' Using this construct with 0.5.12-1 will produce an empty result. -- With best regards, Andrey Rep

Re: Cygwin is hanged while installation

2023-02-10 Thread Andrey Repin via Cygwin
Try to install just base set of packages for the starter, and incrementally add packages you are missing for your daily work. -- With best regards, Andrey Repin Friday, February 10, 2023 14:33:22 Sorry for my terrible english... -- Problem reports: https://cygwin.com/pr

Re: Parameter expansion stopped working in recent ash/dash

2023-02-09 Thread Andrey Repin via Cygwin
Greetings, Brian Inglis! > On 2023-02-07 12:01, Brian Inglis via Cygwin wrote: >> On 2023-02-07 10:19, Brian Inglis via Cygwin wrote: >>> On 2023-02-07 05:07, Andrey Repin via Cygwin wrote: >>>> In the attached script, that I always run using dash, the expansion is

Parameter expansion stopped working in recent ash/dash

2023-02-07 Thread Andrey Repin via Cygwin
ing to 0.5.11.5 restored the expected behavior. I failed to find anything relevant in the dash 0.5.12 patch notes, but perhaps community could help? -- With best regards, Andrey Repin Tuesday, February 7, 2023 14:49:46 Sorry for my terrible english... par-ext.sh Description: Binary data -- Prob

Re: TMP and TMPDIR mapping

2023-01-26 Thread Andrey Repin via Cygwin
n the same way? What is your question, exactly? What you want to achieve and what your actual observation compared to expected behavior? -- With best regards, Andrey Repin Friday, January 27, 2023 10:41:46 Sorry for my terrible english... -- Problem reports: https://cygwin.

Re: Contents of /dev/

2023-01-08 Thread Andrey Repin via Cygwin
y to explain > what they are and (only > secondly, out of interest) whether anybody else is experiencing this for the > first time? The "files" in /dev/ are virtual. If you check the directory from outside the Cygwin environment, you'll see it it nearly empty. -- With best reg

Re: cygrunsrv --list output in braces

2022-12-16 Thread Andrey Repin via Cygwin
Greetings, ASSI! > Andrey Repin via Cygwin writes: >> The question is a proverbial one: Who's guilty and what to do? > You have more than one Cygwin installation (cygwin1.dll) and the path is > different in different environments. How should I know? Where it is documented? (Also,

cygrunsrv --list output in braces

2022-12-16 Thread Andrey Repin via Cygwin
; # cygrunsrv --list >> (cron) >> (cygserver) >> anrdaemon@daemon2:cygwin:/mnt/c/arc/cygwin/install >> # exit >> >> [C:\arc\cygwin\install]$ C:\Programs\Cygwin\bin\cygrunsrv --list >> cron >> cygserver The question is a proverbial one: Who's guilty and

Re: Building SQLite3 CLI without

2022-12-03 Thread Andrey Repin via Cygwin
to > create it without the need of it. Thanks for your support. Yes, you should use a cross-compiler and specifically set the target to be windows native executable. -- With best regards, Andrey Repin Saturday, December 3, 2022 19:21:13 Sorry for my terrible english... -- Problem r

Re: How does one discover a ghost path to non-exitent server

2022-11-28 Thread Andrey Repin
ure you are using updated 64-bit Cygwin install. 2. Check if there's no Cygwin sshd services installed (name is cygsshd). 3. Try again with `ssh-host-config`. 4. Provide logs of the command and `cygcheck -svr` if it fails again. (gzip the cygcheck output, the list often rejects emails that are too b

Re: Can I rename my C:\Cygwin64 directory to C:\Cygwin?

2022-11-17 Thread Andrey Repin
Depends on your setup, existing symlink targets may be a problem. [1] https://cygwin.com/pipermail/cygwin/2022-August/thread.html#252113 -- With best regards, Andrey Repin Thursday, November 17, 2022 21:18:24 Sorry for my terrible english... -- Problem reports: https://cygwin.com/proble

Re: dirsfile incorrect on startup?

2022-11-15 Thread Andrey Repin
stems from may of my files now in a G: drive (a > virtual drive added by Google) that starts at C:/Users/ingber (which I do > not want to land in on login). Please provide cygcheck output as per > Problem reports: https://cygwin.com/problems.html -- With best regards, Andrey Re

Re: Incorrect results from 'cygpath -w' when having anaconda installed

2022-11-06 Thread Andrey Repin
y the anaconda install just when doing the path translation? Either you have two Cygwin version sinstalled, or your environment is screwed. Please provide cygcheck output per https://cygwin.com/problems.html -- With best regards, Andrey Repin Sunday, November 6, 2022 18:19:37 Sorry for my ter

Re: When only rsync will do .. or maybe not

2022-10-22 Thread Andrey Repin
If not rsync, is there any operation for which "move" can be achieved > without involving "copy-then-delete"? Yep. See above. -- With best regards, Andrey Repin Saturday, October 22, 2022 11:56:05 Sorry for my terrible english... -- Problem reports: https://

Re: Cygwin 3.3.6: PHP's SplFileObject::fwrite seems broken

2022-10-02 Thread Andrey Repin
n't get the code to work even if I manually specify the open mode. While Windows PHP version displays the notice as it should: $ php -d "error_reporting=-1" -d "display_errors=stderr" -r '(new SplFileObject("test.txt"))->fwrite("test");' PHP Notice: SplFileOb

Re: Cygwin 3.3.6: PHP's SplFileObject::fwrite seems broken

2022-10-02 Thread Andrey Repin
write() and error_get_last() failed to pick up that there was an >> error, >> but strace reveals: >> 67 487251 [main] php 1693 __set_errno: ssize_t write(int, const void*, >> size_t):1350 setting errno 9 >> 60 487311 [main] php 1693 write: -1 = write(3, 0x6FE65BF8,

Re: heic to jpg conversion

2022-10-01 Thread Andrey Repin
or/constitute.c/ReadImage/562. > $ mogrify -format jpg test.heic > mogrify: no decode delegate for this image format `HEIC' @ > error/constitute.c/ReadImage/562. > Any ideas? See if this link helps: https://github.com/ImageMagick/ImageMagick/issues/1140 -- With best regards, Andre

Re: EXTERNAL SENDER: offline installation of cygwin is impossible

2022-09-27 Thread Andrey Repin
ygwin installer to this directory: > # mkdir Cygwin > # cd Cygwin > # wget --no-check-certificate Don't do that. Ever. For apparent reasons. -- With best regards, Andrey Repin Tuesday, September 27, 2022 21:06:21 Sorry for my terrible english... -- Problem reports: https://cygw

ca-bundle.crt is empty

2022-09-13 Thread Andrey Repin
in working order. > The following packages have been uploaded to the Cygwin distribution: > ca-certificates-2022.2.54-3 > ca-certificates-letsencrypt-2022.2.54-3 -- With best regards, Andrey Repin Tuesday, September 13, 2022 15:47:17 Sorry for my terrible english... -- Proble

Re: [ANNOUNCEMENT] Re-Release: ca-certificates-2022.2.54-3

2022-09-07 Thread Andrey Repin
directory-hash/ca-certificates.crt': File exists /usr/bin/ln: failed to create symbolic link '/etc/pki/ca-trust/extracted/pem/directory-hash/ca-bundle.crt': File exists -- With best regards, Andrey Repin Wednesday, September 7, 2022 22:56:27 Sorry for my terrible english... -- Proble

Re: Does the Cygwin setup program do internal sanity checks on startup?

2022-09-03 Thread Andrey Repin
that we could simply post instructions on how to unpack the installer, for whom it is a problem. -- With best regards, Andrey Repin Saturday, September 3, 2022 16:00:09 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: h

Re: Broken links in Cygwin installation

2022-08-22 Thread Andrey Repin
Greetings, Andrey Repin! > Small background: I've been moving my Cygwin installations around to match > path locations between different systems. I've ended up with a lot of broken > symlinks, between which some are actually lost. > I've baked a PowerShell script to solve th

Find out a process that holding the socket?

2022-08-22 Thread Andrey Repin
e solution available or I have to dig down into WinAPI? The process is going to run elevated, if that matters. -- With best regards, Andrey Repin Monday, August 22, 2022 19:15:48 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ:

Broken links in Cygwin installation

2022-08-21 Thread Andrey Repin
./usr/lib/tk8.6/tkConfig.sh -> ../tkConfig.sh Is this… normal ? -- With best regards, Andrey Repin Sunday, August 21, 2022 14:41:23 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

Re: ca-legacy wrong interpreter

2022-08-19 Thread Andrey Repin
Greetings, Andrey Repin! > Greetings, All! > /usr/bin/ca-legacy: 61: [[: not found > /usr/bin/ca-legacy: 67: [[: not found > /usr/bin/ca-legacy: 72: [[: not found > /usr/bin/ca-legacy: 76: [[: not found > /usr/bin/ca-legacy: 81: [[: not found > /usr/bin/ca-legacy: Unsupp

Re: resolv.conf and gnupg2

2022-08-19 Thread Andrey Repin
Greetings, Christian Franke! > Andrey Repin wrote: >> Greetings, Christian Franke! >> >> ... >>> Unfortunately the ipconfig output is always localized, so this does only >>> work OOTB with English versions of Windows. The ipconfig parsing is also >>&

ca-legacy wrong interpreter

2022-08-19 Thread Andrey Repin
| disable | install] Please change interpreter to /bin/bash. -- With best regards, Andrey Repin Friday, August 19, 2022 12:09:01 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation

Re: resolv.conf and gnupg2

2022-08-10 Thread Andrey Repin
F on stdin, so '/FooBar$/' patterns never match. > - ipconfig may output scoped IPv6 addresses ("fe80::1%12") which are not > matched by the awk script. > A draft patch is attached. It also avoids the tmp file and uses shell > builtins where possible. Why not use

Re: Retry / Continue dialog appearing frequently in setup for dll updates

2022-08-04 Thread Andrey Repin
pageant.sh" -k gpgconf --kill gpg-agent dirmngr scdaemon sh -c "for svc in $( cygrunsrv --list | grep -v cygserver ) cygserver; do net stop "^"$svc^""; done" Restarting after setup is goin gthe other way around, except GPG services (they are restarted by themsel

Re: Windows 11 smart app control

2022-08-01 Thread Andrey Repin
ul effort since rebasing may change any Cygwin binary, voiding any signature you could attach. > Ref. > https://support.microsoft.com/en-us/topic/what-is-smart-app-control-285ea03d-fa88-4d56-882e-6698afdb7003 > Thanks, > Sam -- With best regards, Andrey Repin Monday, August 1,

Re: [mintty] Suppress a key completely

2022-07-13 Thread Andrey Repin
e fittingly named VK_SELECT (0x29) > as your switching keycode. Will try that one, too, thank you. Yes, keymapper is quite flexible until you get into OEM (3-byte) key codes. > Also, Windows has the builtin Win+Space combination for switching > keyboards, but I expect you've tried that. My fi

[mintty] Suppress a key completely

2022-07-10 Thread Andrey Repin
ut. I suppose it is in its own right on this one (the key is real, after all), but is there a way to filter the key so that it does not get down to the applications? -- With best regards, Andrey Repin Sunday, July 10, 2022 16:44:16 Sorry for my terrible english... -- Problem reports: ht

Re: The "TrustedInstaller" user can not be found by ID

2022-07-06 Thread Andrey Repin
Greetings, Corinna Vinschen! > On Jul 6 13:32, Andrey Repin wrote: >> Greetings, All! >> >> Been doing some housekeeping in my Cygwin installation at work, and wanted to >> change the owner of the files to something other than myself. >> TrustedInstaller

The "TrustedInstaller" user can not be found by ID

2022-07-06 Thread Andrey Repin
2] <- user not found Is this some special case of some kind of Windows' kinks? -- With best regards, Andrey Repin Wednesday, July 6, 2022 13:22:14 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Docu

Re: Typo in ?

2022-07-05 Thread Andrey Repin
understand that if I redefined FD_SETSIZE in my code before including > , > it'd work with whatever large (or small) fd_set I need, but that's not what > I'm after. I'm no expert, but it seems the FD_SETSIZE should have been 128. Long is 8 bytes, 64 bits. One bit if one open file,

Re: /dev/clipboard sometimes fails to set CF_UNICODETEXT data.

2022-07-05 Thread Andrey Repin
yOpenClipboard, or >> CygOpenClipboard, to help keep the name paired with CloseClipboard. > Thanks for the comment. IIUC, the camel case name should be > used only for Win32 APIs related. However, this is the wrapper > for Win32 API. So, it might be acceptable. In other places, > some wr

Re: [ANNOUNCEMENT] cygport 0.35.2-1

2022-07-04 Thread Andrey Repin
.codinghorror.com/pick-a-license-any-license/ -- With best regards, Andrey Repin Monday, July 4, 2022 19:26:54 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Re: [EXTERNAL] Re: Weird issue with file permissions

2022-07-02 Thread Andrey Repin
But HOW does it works? Aren't the permissions seen on the socket file merely a coincidence/convenience? -- With best regards, Andrey Repin Sunday, July 3, 2022 00:57:58 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: http

Re: [ANNOUNCEMENT] New: pass 1.7.4-1

2022-07-02 Thread Andrey Repin
h > and zsh are included. A vim plugin disables insecure options during password > editing. > 'pass' uses gpg2 or gpg from the PATH, gpg2 takes precedence. Non-Cygwin > versions of gpg2 or gpg are also supported if no Cygwin gnupg* Package is > installed. > Christian Franke --

Re: RES: email -attach

2022-07-01 Thread Andrey Repin
Calgary, Alberta, Canada > This email may be disturbing to some readers as it contains too much > technical detail. Reader discretion is advised. > [Data in binary units and prefixes, physical quantities in SI.] > -- > Este email foi escaneado pelo Avast antivírus. > https

Re: chmod g+s ineffective

2022-06-30 Thread Andrey Repin
Greetings, Norton Allen! > On 6/29/2022 9:18 AM, Norton Allen wrote: >> On 6/29/2022 7:39 AM, Andrey Repin wrote: >>> Greetings, Norton Allen! >>> >>>> On one machine I have, chmod g+s fails to set the sticky bit. The >>> >>>> command

Re: chmod g+s ineffective

2022-06-29 Thread Andrey Repin
n't. > Any suggestions on what I should look for? Look if you could avoid using +s. Isn't DACL enough? -- With best regards, Andrey Repin Wednesday, June 29, 2022 15:36:50 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: htt

Re: cygpath 3.3.4 : incorrect windows to unix path conversions

2022-06-28 Thread Andrey Repin
gwin tools' layout must follow FHS, or you will see all sorts of issues. That aside, you could always use /proc/cygdrive/ root for manual path conversion. > We've been using this setup for more than a year and only noticing this > now; I suspect this used to work fine but I couldn't tell

Re: weird error gpg

2022-06-24 Thread Andrey Repin
ss without the entire file. Wondering who told you to do that. -- With best regards, Andrey Repin Friday, June 24, 2022 22:25:03 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https:/

Re: unzip failure with files that contain colons

2022-06-18 Thread Andrey Repin
fix the problem in the updated unzip-6.0-18. >> https://cygwin.com/pipermail/cygwin/2022-June/251653.html > Is colon used for ADS under Windows? Could that be why one should > be careful with it? Colon is used (aside from being disk-path separator) as file stream indicator. Replacing it i

Re: OpenSSL v3

2022-06-13 Thread Andrey Repin
Greetings, Achim Gratz! > Andrey Repin writes: >> Is there a chance to update OpenSSL to v3? It has a number of improvements >> and >> bug fixes I'd like to use. > It also has a number of incompatibilities with the previous version(s). Meaning they can't be instal

OpenSSL v3

2022-06-10 Thread Andrey Repin
Greetings, All! Is there a chance to update OpenSSL to v3? It has a number of improvements and bug fixes I'd like to use. -- With best regards, Andrey Repin Saturday, June 11, 2022 1:02:06 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ

Re: Unable to update PKI - p11-kit does not support 'extract' command

2022-06-04 Thread Andrey Repin
Greetings, Ken Brown! > On 6/1/2022 4:54 AM, Andrey Repin wrote: >> Greetings, All! >> > My root CA key expired recently and I'm battling to update my >> > infrastructure. >> The most unexpected issue so far is a change in Cygwin's p11-kit, that made &

  1   2   3   4   5   6   7   8   9   10   >