Re: cygpath -m behaviour change

2013-09-18 Thread bartels
er previous levels of cygwin. Conceptually, I have always considered relative paths to be relative to a directory. Your one liners are creating a path relative to a file. I think that approach is flawed and there is nothing wrong in the way cygpath works now. Yesterday's cygpath behav

Re: Confused about several issues with setting up cron

2013-09-22 Thread bartels
x27;s nothing in the user guide or the FAQ about setting up cron. I had to settle for the various questions about this on StackOverflow and others. Must say your reporting of events is also lacking crucial elements If you re-install and give me more details, then I will try and answer your q

Re: About ssh

2013-09-22 Thread bartels
ke you have no routing to that port. What happens when you turn off the windoze firewall completely? To see if there is routing, I find it easier to use netcat Install netcat, disable sshd server, then run this: $ nc -lp 22 On your client, you run $ echo blah | nc 22 If you have routing, then

Re: Confused about several issues with setting up cron

2013-09-22 Thread bartels
On 09/22/2013 05:56 PM, bartels wrote: On 09/22/2013 03:00 AM, KARR, DAVID wrote: CYGWIN_NT-6.1 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin I want to set up a cron job, so I have to get cron configured. I'm trying to follow the instructions I can find, but I'm seeing several is

Re: Confused about several issues with setting up cron

2013-09-22 Thread bartels
On 09/22/2013 05:56 PM, bartels wrote: On 09/22/2013 03:00 AM, KARR, DAVID wrote: CYGWIN_NT-6.1 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin I want to set up a cron job, so I have to get cron configured. I'm trying to follow the instructions I can find, but I'm seeing several is

Re: Confused about several issues with setting up cron

2013-09-23 Thread bartels
On 09/23/2013 04:44 PM, Andrey Repin wrote: Greetings, bartels! Greetings Andrey! By the way: SYSTEM is not a user. Since when? Since Bill Gates stopped sleeping in his garage? :) $ passwd SYSTEM passwd: unknown user SYSTEM Without knowing too much about Windows internals, I have

Re: Confused about several issues with setting up cron

2013-09-23 Thread bartels
On 09/23/2013 08:08 PM, Andrey Repin wrote: Greetings, bartels! By the way: SYSTEM is not a user. Since when? Since Bill Gates stopped sleeping in his garage? :) $ passwd SYSTEM passwd: unknown user SYSTEM Without knowing too much about Windows internals, I have always considered SYSTEM to

Re: Confused about several issues with setting up cron

2013-09-23 Thread bartels
On 09/23/2013 08:59 PM, bartels wrote: cron-config does not accept SYSTEM as a user Hmm, looking at the script, it would seem that cron-config is capable of configuring cron to run as system. - bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http

Re: Confused about several issues with setting up cron

2013-09-24 Thread bartels
several issues with setting up cron On 09/22/2013 05:56 PM, bartels wrote: On 09/22/2013 03:00 AM, KARR, DAVID wrote: CYGWIN_NT-6.1 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin I want to set up a cron job, so I have to get cron configured. I'm trying to follow the instructions I can find

Re: Confused about several issues with setting up cron

2013-09-24 Thread bartels
write access to your crontab file (C:\Cygwin\var\cron\tabs\dk068x) Popular advice on this list is that you do not mix posix and windoze permissions. I have fallen into that trap myself. - bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq

C:\cygwin\bin\cyggcc_s-1.dll: Loaded to different address

2013-12-04 Thread bartels
? - - Bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: C:\cygwin\bin\cyggcc_s-1.dll: Loaded to different address

2013-12-04 Thread bartels
On 12/04/2013 12:00 PM, bartels wrote: Hello People, Cygwin seems to have become very stable recently, which is a Good Thing for me. And then I saw this one: 0 [main] perl 10672 child_info_fork::abort: C:\cygwin\bin\cyggcc_s-1.dll: Loaded to different address: parent(0x32) != child

Re: C:\cygwin\bin\cyggcc_s-1.dll: Loaded to different address

2013-12-04 Thread bartels
prevent it. Or is the only answer to simply run rebaseall after installation? usually yes If that is the case, then why is it not part of the installation? I do not understand why it happens on the one Windows 7 machine and not the other. - - Bartels -- Problem reports: http://cygwin.com

Re: C:\cygwin\bin\cyggcc_s-1.dll: Loaded to different address

2013-12-04 Thread bartels
On 12/04/2013 03:23 PM, Corinna Vinschen wrote: On Dec 4 14:53, bartels wrote: On 12/04/2013 02:11 PM, marco atzeri wrote: Il 12/4/2013 1:35 PM, bartels ha scritto: On 12/04/2013 01:23 PM, marco atzeri wrote: I am looking for the cause of the problem, so that I know how to prevent it. Or

Re: C:\cygwin\bin\cyggcc_s-1.dll: Loaded to different address

2013-12-04 Thread bartels
On 12/04/2013 05:53 PM, Corinna Vinschen wrote: On Dec 4 17:41, bartels wrote: On 12/04/2013 03:23 PM, Corinna Vinschen wrote: On Dec 4 14:53, bartels wrote: On 12/04/2013 02:11 PM, marco atzeri wrote: Il 12/4/2013 1:35 PM, bartels ha scritto: On 12/04/2013 01:23 PM, marco atzeri wrote

Re: Where can I look for an answer to a problem with Cygwin's Perl‏?

2013-12-09 Thread bartels
On 12/09/2013 03:39 PM, Jim Cant wrote: I have a problem with Cygwin's Perl. If a process started by Perl (system(), `` (backticks) ) crashes, the system debugger never getsww called so I can't get a dump. Have you tried perl dump? http://perldoc.perl.org/functions/dump.html --

Re: Where can I look for an answer to a problem with Cygwin's Perl‏?

2013-12-10 Thread bartels
backticks to explicitely dump. That is straightforward and possibly even portable. -- - Bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: chmod Not Working

2013-12-30 Thread bartels
01 513 Why is chmod not working? OS: Windows 8 Pro 64-bit Cygwin Setup.exe Version: 2.831 (32-bit) That looks fine to me. What do you expect? -- - Bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://

Re: Launch a windows application from crontab

2014-02-11 Thread bartels
: while [ 1 ] ; do myprog ; done A separate monitor program, running in its own service, periodically checks each 'myprog' to see if it is still responsive. If it is not, the relevant process is simply killed, and the daemon reincarnates. For myself, I would not consider windows scheduled t

building cygwin packages

2014-05-29 Thread bartels
, - Bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

openssh: uid changes unexpectedly to cyg_server

2012-05-10 Thread bartels
162 26 aug 2008 awk -rwxr-xr-x 1 pleezy None 16896 26 aug 2008 basename.exe . . . It is causing tremendous problems in file access. Any ideas? Thanks, Bartels Cygwin Configuration Diagnostics Current System Time: Thu May 10 11:27:49 2012 Windows 7 Ultimate Ver 6.1 Build 7600 Path: C

Re: openssh: uid changes unexpectedly to cyg_server

2012-05-10 Thread bartels
On 05/10/2012 05:39 PM, Larry Hall (Cygwin) wrote: On 5/10/2012 8:51 AM, bartels wrote: Hi All, I have a situation where the uid changes to cyg_server unexpectedly when changing PATH: $ ( id; PATH=/cygdrive/c/devkit/msys/1.0.11/bin:/usr/bin:; id ) UID=1001(pleezy) GID=513(None) groepen=513

Re: SVN and executable permissions

2012-12-05 Thread bartels
Is there way to specify to svn on the command line or though a config file that these types of files should automatically have executable permissions? svn propset svn:executable "*" Bartels. -- Problem reports: http://cygwin.com/problems.html FAQ: http://

Re: [ATTN: Git maintainer] Is there a reason Git package depends on cvs/cvsps ?

2012-12-06 Thread bartels
using git commands. Seems like it is not a real dependency. On debian the package git suggests git-cvs Package git-cvs depends on cvsps, and suggests cvs bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cy

Re: Intermittent failures retrieving process exit codes

2012-12-07 Thread bartels
. bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Cygrunsrv and special Windows virtual accounts "NT SERVICE"

2012-12-18 Thread bartels
e like stdin/out 2) '-' is actually a valid password Let's go for --null-pwd bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

trouble accessing samba shares with spaces and/or parentheses

2012-12-21 Thread bartels
but fails miserably from the cygwin prompt. $ net use Q: "$(cygpath -w '//macau/X32 Backup-4(WD)')" "bartels" /user:"bartels" The command completed successfully. $ ls q:/ ls: cannot access q:/: Input/output error This is not a question of privileges or co

Re: trouble accessing samba shares with spaces and/or parentheses

2012-12-21 Thread bartels
On 12/21/2012 05:47 PM, Corinna Vinschen wrote: On Dec 21 17:20, bartels wrote: $ net use Q: "$(cygpath -w '//macau/X32 Backup-4(WD)')" "bartels" /user:"bartels" The command completed successfully. $ ls q:/ ls: cannot access q:/: Input/output error

Re: trouble accessing samba shares with spaces and/or parentheses

2012-12-21 Thread bartels
On 12/21/2012 05:47 PM, René Berber wrote: On 12/21/2012 10:20 AM, bartels wrote: [snip] $ net use Q: "$(cygpath -w '//macau/X32 Backup-4(WD)')" "bartels" /user:"bartels" The command completed successfully. $ ls q:/ ls: cannot access q:/: Input/outpu

Re: trouble accessing samba shares with spaces and/or parentheses

2012-12-21 Thread bartels
On 12/21/2012 06:19 PM, Corinna Vinschen wrote: On Dec 21 18:01, bartels wrote: On 12/21/2012 05:47 PM, Corinna Vinschen wrote: On Dec 21 17:20, bartels wrote: $ net use Q: "$(cygpath -w '//macau/X32 Backup-4(WD)')" "bartels" /user:"bartels" The comm

Re: trouble accessing samba shares with spaces and/or parentheses

2012-12-21 Thread bartels
On 12/21/2012 07:30 PM, Andrew DeFaria wrote: On 12/21/2012 10:11 AM, bartels wrote: So where can I find strace? Where did you look? $ type strace strace is /bin/strace strace is one of my favourite toys on linux. Somehow, I never located it on cygwin. Never just typed in the magic word

Re: trouble accessing samba shares with spaces and/or parentheses

2012-12-21 Thread bartels
On 12/21/2012 07:23 PM, Corinna Vinschen wrote: > So where can I find strace? In /bin. I don't suppose they come any easier :) Thanks. - bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cy

Re: trouble accessing samba shares with spaces and/or parentheses

2012-12-22 Thread bartels
ces). Some questions come to mind: * Is there a way for the service to find out which shares are mounted by the user (and which credentials)? * The (plaintext) credentials are known to the app. Can I use the windows vault in some way, via CredWrite() / CredRead() ? - bartels -- Probl

Re: trouble accessing samba shares with spaces and/or parentheses

2012-12-22 Thread bartels
use cygwin to copy files off any eSata disk without using a drive letter? Probably, I could let cygwin mount the fs somehow, using the volume name. But I do not know the volume name beforehand, because they are not my disks. - bartels -- Problem reports: http://cygwin.com/problems.html

Re: trouble accessing samba shares with spaces and/or parentheses

2012-12-22 Thread bartels
process. A service cannot open Windows Explorer. And windows does not allow credentials in the UNC, afaik. - bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Re: Best practice for running pgsql under cygwin?

2012-12-22 Thread bartels
ns. Postgres has a native Windows installer, does tcp very well and has excellent access control. It is not clear to me where cygwin comes in, or what it is you are trying to protect. - bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http:/

disk format question

2013-01-08 Thread bartels
I use? - bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: disk format question

2013-01-08 Thread bartels
On 01/08/2013 04:14 PM, Warren Young wrote: On 1/8/2013 06:59, bartels wrote: The windows format.com format.com hasn't existed since the DOS days. That includes the DOS-based versions of Windows, up through Windows ME. Under NT-derived versions of Windows, "format" is a b

Re: disk format question

2013-01-09 Thread bartels
On 01/08/2013 10:24 PM, Warren Young wrote: On 1/8/2013 08:38, bartels wrote: That may very well be true, but I have a friend called locate: I *had* a friend called "which", but he didn't find it. I have now unfriended him. ;) Very funny. Yeah, know thy friends, is true. C

Re: squid command doesn't do anything

2013-01-31 Thread bartels
age saying that xxyx cannot be opened. Evidently, it crashes before it gets to that point. - bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

mt and tar fail on LTO-5 drives

2013-08-17 Thread bartels
Writing to tape works fine with tar, but the tape is quickly considered 'full'. Is there any hope of fixing this? LTO-6 is already out there. Thanks - Bartels # IBM ULT3580+HH5 SCSI $ mt -f /dev/nst0 status 3 drive type : 56 (STK 9840) tape capacity: 37108736 K

Re: mt and tar fail on LTO-5 drives

2013-08-19 Thread bartels
On 08/19/2013 12:19 PM, Corinna Vinschen wrote: On Aug 17 20:35, bartels wrote: Hello People, I have here two SAS connected LTO-5 drives: one IBM and one HP. Both drives work work fine, but sadly mt does not. The size reported by mt is a meager 35 GB, instead of the expected 1.5TB I have

Re: mt and tar fail on LTO-5 drives

2013-08-19 Thread bartels
the IBM driver. Not sure if W7 installs a default driver for that. Same story. What does that tell you? - Bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http:

Re: mt and tar fail on LTO-5 drives

2013-08-19 Thread bartels
lking about? My knowledge of cygwin internals is nearly zero. - Bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: mt and tar fail on LTO-5 drives

2013-08-19 Thread bartels
On 08/19/2013 07:06 PM, Eliot Moss wrote: Not so much, yet. Presumably HP and IBM offer some kind of backup utility with the drive software, Sure: both drives work fine using LTFS. Plenty of bytes there. No problem at all. - Bartels. -- Problem reports: http://cygwin.com

Re: mt and tar fail on LTO-5 drives

2013-08-19 Thread bartels
hat? I have mt V2.3.2 and do not see it in the code. - Bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: mt and tar fail on LTO-5 drives

2013-08-19 Thread bartels
a windows machine & it's gone wrong it has always been the driver (or getting windows to use the right driver) at fault. Thanks Guy, but these troubles are only seen with tar / mt. Both drives work fine with LTFS. - Bartels -- Problem reports: http://cygwin.co

Re: mt and tar fail on LTO-5 drives

2013-08-20 Thread bartels
On 08/20/2013 11:05 AM, Corinna Vinschen wrote: On Aug 20 10:29, Corinna Vinschen wrote: On Aug 19 21:10, bartels wrote: On 08/19/2013 07:12 PM, Corinna Vinschen wrote: It would be interesting to see the OS error codes. If you run tar under strace, the trace output should contain a line like

Re: mt and tar fail on LTO-5 drives

2013-08-20 Thread bartels
On 08/20/2013 03:32 PM, Corinna Vinschen wrote: On Aug 20 13:57, bartels wrote: ) Thanks, I think we can close this one! Glad to read that. You could do me a favor, though. At the moment I have no tape drive on any Windows machine for testing. Can you please test the new `partseek

Re: mt and tar fail on LTO-5 drives

2013-08-21 Thread bartels
p one server to LTO2-tapes, but I have never partitioned a tape. Wasn't even aware it could be done. Partitioning was first introduced on LTO with LTO-5, accommodating LTFS. - Bartels -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Doc

output of ls / grep corrupted in cygwin 3.1.2-1 (x64) under conemu

2020-01-01 Thread Hartmut Bartels
Hello I am running win10 Pro 1903 x64. After update to cygwin 3.1.2-1 for the x64 Version the command "ls-l" misses the running in Conemu. There is a for every new line, but the new line starts in position where the line before finished, just 1 line deeper. This is true using cygwin in the conemu

Re: Cygwin programs display output incorrectly when run under conemu

2020-02-16 Thread Dr Hartmut Bartels
formation that would help to pin down the cause of this problem > would be very much appreciated. > > Paul > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Un