Why does robocopy confuse input and output files defined with Cygwin/bash and perl?

2015-09-30 Thread siegfried
t and output files? Thanks siegfried src=$(perl -e '$u = $ENV{"USERNAME"};$s = $_ = $ARGV[0]; $_ = lcfirst;s@[/\\]@@g; s@\s@\\ @g; s/(.):/$1\\:/; print " $_"; '"$(cygpath -w $PWD)") dst=$(perl -e '$u = $ENV{"USERNAME"}; $_ = $

How to reinvent /usr/bin/find in cygwin/gnu/gnat Ada?

2011-03-19 Thread siegfried
ike readdir) or FindFirstFile/FindNextFile from ada because I don't know what to google search for. Can someone point me to some examples? Thanks! Siegfried -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://

Bash/wget gets confused by trailing carriage return

2011-03-15 Thread siegfried
> RETR debian-6.0.0-i386-DVD-2.iso\r ... No such file `debian-6.0.0-i386-DVD-2.iso\r'. Process compilation exited abnormally with code 8 It appears to be appending the carriage return on the end of the file name. Perhaps the C runtime is getting confused. How do I fix this? Thanks

Where are home directories for other users besides my Admin account?

2009-09-02 Thread siegfried
the -local . I got a little further. I get a dialog box that says "A fatal error has occurred and Cygwin/X will not exit. Please open /var/log/XWin.%s.log for more information.." Can someone help me? Thanks, Siegfried OK, here are the contents of /var/log/XWin.0.log: Welcome

RE: FW: How to display Russian Cyrillic and Chinese in Cygwin Bash Console?

2008-09-16 Thread siegfried
print chr() for 0x410 .. 0x430;" > >Hi Siegfried, > >Install rxvt and use that instead. I believe there's a unicode package >of it in Cygwin - it should have no trouble displaying cyrillic or >chinese characters. > So could you expand upon this "Unicode package&q

FW: How to display Russian Cyrillic and Chinese in Cygwin Bash Console?

2008-09-16 Thread Siegfried Heintze
ygwin bash console (is there a better name for this since it could be running some other shell?) Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.htm

FW: How to manipulate access control lists (ACL)?

2008-05-05 Thread Siegfried Heintze (Aditi)
n ACL to a file. Can I do this from cygwin bash? Thanks! Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

RE: Problems compiling grep and friends

2007-10-05 Thread Siegfried Heintze
Dave, I'm not sure what to do. I see you attached a diffs file. Is there a utility such as patch that I can use to apply those diffs? What would be the command? Thanks, Siegfried > >On 04 October 2007 22:13, Siegfried Heintze wrote: > >> Siegfried wrote: >> OK, I tri

RE: Problems compiling grep and friends

2007-10-04 Thread Siegfried Heintze
Siegfried wrote: OK, I tried that. See below for the results. Looks like we have the same problem. Thanks, Siegfried Brian wrote: So as a workaround, try "make install DESTDIR=/" which would result in "///foo/bar" which is the POSIX-sanctioned way of dealing with filesystems

RE: Problems compiling grep and friends

2007-10-03 Thread Siegfried Heintze
> >On 27 September 2007 14:15, Siegfried Heintze wrote: > >> I'm running xp pro and I am trying to compile grep. I downloaded the source. >> ./configure seemed to go OK but there were problems with "make". It looks >> like it cannot find the usr directory.

FW: Problems compiling grep and friends

2007-09-27 Thread siegfried
-Original Message- From: Siegfried Heintze [mailto:[EMAIL PROTECTED] Sent: Thursday, September 27, 2007 7:15 AM To: 'cygwin@cygwin.com' Subject: FW: Problems compiling grep and friends I’m running xp pro and I am trying to compile grep. I downloaded the source. ./configure

FW: Problems compiling grep and friends

2007-09-27 Thread Siegfried Heintze
I’m running xp pro and I am trying to compile grep. I downloaded the source. ./configure seemed to go OK but there were problems with “make”. It looks like it cannot find the usr directory. Is there a fix for this? Thanks, Siegfried make[1]: Leaving directory `/cygdrive/c/Documents and

RE: How to learn about compiling openssh?

2007-03-20 Thread siegfried
.README it says to use cygport. Hmmm... that cygport program is pretty clever. Why did not the /usr/share/doc/Cygwin/openssh.README mention this program? I suppose only some programs use it? thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem repo

RE: How to learn about compiling openssh?

2007-03-20 Thread siegfried
install it separately? Thanks, siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

How to learn about compiling openssh?

2007-03-20 Thread siegfried
am I doing wrong? Thanks, Siegfried (cd openbsd-compat && make) make[1]: Entering directory `/usr/src/openssh-4.6p1-1/openbsd-compat' gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -I. -I.. -I. -I ./.. -DHAVE_CONFIG_H -c bsd-arc4random.c In file included from ..

rsync with one or two colons?

2006-07-13 Thread siegfried
I was reading about the different ways to run rsync. It looks like connecting to an rsync deamon is very similar to connecting to an rsync shell like ssh. Are there situations where the deamon is superior to the ssh? Are there situations where ssh is superior to the deamon? Thanks, Siegfried

How to use cygcheck to find documentation on rsync?

2006-06-09 Thread siegfried
detect that the file is only half copied and copy the other half or is it going to say "that file already exists at the destination so I don't need to copy it"? Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.c

RE: How to understand proc directory?

2006-04-25 Thread siegfried
the default installation directory of c:\cygwin? I searched my c:\cygwin\usr\ (aka "/usr") directory and could find no file called "proc.txt" or directory called "filesystems". Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem repo

How to understand proc directory?

2006-04-25 Thread siegfried
at did not work. Is there some documetation in c:\cygwin\usr\share? This directory tree seems to be organized around applications, not special directories. I tried "man cygcheck" but again, that seems to deal with applications, not directories. Thanks, Siegfried -- Unsubscribe info:

How to prevent duplicate cron jobs?

2006-04-21 Thread siegfried
(which seems to exist in cygwin :)) for my pid and send a semaphore or a SIGUSR1 to determine if it's not hung. Will this work in cygwin? Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Document

RE: Cron on Cygwin

2006-04-13 Thread siegfried
bit of looking thru change lists for installation procedures. Should I be? Is this typical of the cygwin documentation? I was expecting a header like "INSTALLATION PROCEDURE" followed by steps 1, 2, 3... Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simpl

How to add users to sshd?

2006-04-11 Thread siegfried
rs account." I tried that and it says: bash-3.00$ /usr/bin/ssh-user-config There is no home directory set for you in /etc/passwd. Setting $HOME is not sufficient! Hmmm I'm confused. Can someone tell me how to use ssh with something other than the Administrator account? Thanks, S

Is there a cygwin nfs-client?

2006-03-19 Thread Siegfried Heintze
I looked in the cygwin installation program and I can see the nfs-server. Is there an nfs-client? Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ

How to run X Session from RH8 via ssh -X? How to run vnc via ssh?

2006-03-17 Thread Siegfried Heintze
Thanks for all the help so far. I hope this will be a 100% cygwin-mailing-list compliant posting. (1) I read the description of TOFU and I still don't understand it. I don't understand what I am doing wrong. If I want to quote a previous posting, should I not put the quoted text first and then my

RE: OpenSSH for Non Administrators

2006-03-01 Thread Siegfried Heintze
ith the -X option to open an X session on a windows server? Can cygwin ssh be used with VNC to open a VNC session on a remote server? I have successfully open a session using plain "RealVNC" server on the windows server (from red hat 8) and would like to do it securely with ssh.

davfs for cygwin rsync?

2006-02-02 Thread Siegfried Heintze
here commercial hosting services that provide ssh access? The man page as a section titled "STARTING AN RSYCN DAEMON TO ACCEPT CONNECTIONS". I'm confused: I thought I needed an ssh deamon. Thanks, siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem re

How to convert from windows DLL to windows lib file?

2006-01-13 Thread Siegfried Heintze
technique works for converting so files to LIB files? Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

How to read man pages on nfs-server?

2006-01-13 Thread Siegfried Heintze
ow how to learn more? I tried "info nfs", "info nfs-server", "man nfs" and "man nfs-server". None of them work. >From the README, it looks like there are some man pages. How do I look at them with the "man" or "info" command? Thanks,

RE: [ANNOUNCEMENT] Updated: nfs-server-2.3-4

2006-01-12 Thread Siegfried Heintze
Where is a mirror I can download this from? I tried a few but they only had 2.3-3. Thanks, Siegfried -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robb, Sam Sent: Thursday, January 12, 2006 1:50 PM To: cygwin@cygwin.com Subject: [ANNOUNCEMENT] Updated

Disaster recover with Cygwin?

2006-01-02 Thread Siegfried Heintze
an open up enough ports on the intervening firewalls. Can I use the cygwin ports of rsync or rdiff-backup initial create a remote repository and later restore a bootable windows partition and then boot locally? Thanks, Siegfried > On Tue, Dec 27, 2005 at 10:21:38PM -0700, Siegfried Heintze wrote:

cygwin NFS File servers on windows?

2006-01-01 Thread Siegfried Heintze
seems that this would be a logical piece of software to be included with cygwin. Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

libxslt v apache

2006-01-01 Thread Siegfried Heintze
Has anyone used both libxslt and xalan? How might one decide between xalan and libxslt? Thanks, Siegfried -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gerrit P. Haase Sent: Friday, December 09, 2005 7:22 PM To: cygwin@cygwin.com Subject: [ANNOUNCEMENT

RE: Extracting Debug (meta data) from executable images?

2005-12-07 Thread Siegfried Heintze
How does ELFDump.exe work? I did a chmod 777 hello.* and still ELFDump hello.o And ELFDump hello.exe Still produce the Can't openinput file "Hello.exe" Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: ht

RE: Extracting Debug (meta data) from executable images?

2005-12-07 Thread Siegfried Heintze
rs to the examples directory. Where is this examples directory? What is the relationship between stabs and ELF? Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs

RE: Extracting Debug (meta data) from executable images?

2005-12-07 Thread Siegfried Heintze
struct. It looks like dwarfdump would, but libdwarf does not compile with cygwin/gcc 3.4 or RedHat8/gcc 3.2. So if I download the source code for GDB, do I compile it on cygwin using g++? I'd just need to modify the "info variables" and "ptype" commands to emit XML inst

dll v so?

2005-12-07 Thread Siegfried Heintze
I'm confused about dll v. so and cygwin. I've used the documentation to create and load dlls with g++. However, I notice that Apache Httpd uses ".so" files. Is the choice to produce ".dll" or ".so" files purely a matter of who is going to load them?

Extracting Debug (meta data) from executable images?

2005-12-07 Thread Siegfried Heintze
formats and libraries? Can I use these linux libraries to read debug information in images created with g++ on cygwin? If not, how do I read the debug information in images created with g++ on cygwin? Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem

RE: Wanted: Help translating classpath from CMD.EXE to bash

2005-10-31 Thread Siegfried Heintze
javac -g ApplyXPathDOM.java One has to escape the colons and the semi colons. I don't understand why I have to escape the colons too -- but it works. Thanks for the example for the java/bash wrappers -- I think I understand now. Siegfried -Original Message- From: Igor Pechtch

RE: Wanted: Help translating classpath from CMD.EXE to bash

2005-10-31 Thread Siegfried Heintze
f I get Igor's bash wrappers to work, I'm kinda curious why my attempt did not. Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Wanted: Help translating classpath from CMD.EXE to bash

2005-10-31 Thread Siegfried Heintze
\xalan-j_2_7_0\xalan.jar;c:\dev\xalan\xalan-j_2_7_0\xercesIm pl.jar;c:\dev\xalan\xalan-j_2_7_0\xml-apis.jar;c:\dev\xalan\xalan-j_2_7_0\xs ltc.jar javac -g ApplyXPathDOM.java java ApplyXPathDOM foo.xml /doc/name[1]/@last Woops -- I did not intend it to wrap! Thanks, Siegfried -- Unsubscribe info

Where is documentation on keyring?

2005-10-22 Thread Siegfried Heintze
manager/ ? This does not tell me much more than I already know. I'm stuck. Can someone please point me to the documentation? Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Where is documentation on bash "wait"?

2005-10-15 Thread Siegfried Heintze
I tried info and man and could not find any information on wait. I want to (using bash) (1) How do I wait for multiple children and wake up when the first one dies? (2) Examine the status code of the dead child and possibly spawn a new one? Where is the documentation on wait? Thanks, Siegfried

System V IPC Message Queues and Shared Memory?

2005-10-11 Thread Siegfried Heintze
uot;. Should these functions work? And what about shared memory using shmget, shmat, shmdt, shmctl? The sample code compiles with these functions too but gives a " 2764 Bad system call " and " 4480 Bad system call" when I run them. Should these work? Thanks, Siegfried -- Unsu

RE: Documentation on functions

2005-09-15 Thread Siegfried Heintze
act the copious comments there and just reformat them into man pages? Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Documentation on functions

2005-09-14 Thread Siegfried Heintze
. Where is the documentation on these functions? Thanks, Siegfried/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

RE: cron issue: The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be found

2005-06-30 Thread Siegfried Heintze
] [mailto:[EMAIL PROTECTED] On Behalf Of Siegfried Heintze Sent: Thursday, June 30, 2005 6:10 PM To: cygwin@cygwin.com Subject: RE: cron issue: The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be found I'm having similar troubles. I have read the cron.README file. I inst

RE: cron issue: The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot be found

2005-06-30 Thread Siegfried Heintze
e the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: /usr/sbin/cron : PID 1836 : (Siegfried) CMD (/c/Perl/bin/perl /c/WinOOP/Perl/bots/yahoo/finance/crawl-hot-jobs.pl /GUI=NONE /sleep=60 /threads=8 >`date +"). Any s

RE: How to write minimal program using GD library

2005-06-18 Thread Siegfried Heintze
oaded from boutell.com. I guess I'll send email to him as the web site suggests unless someone can suggests a forum to post in. Siegfried Cygwin.bat: @echo off C: chdir C:\cygwin\bin bash --login -i -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

How to write minimal program using GD library

2005-06-17 Thread Siegfried Heintze
nking with C libraries downloaded as part of Cygwin, do I have to do anything special? The documentation says no. I would guess that gcc automatically knows to look in C:\cygwin\lib -- is this correct? Thanks Siegfried /*** * Begin commands to execute this file using g++ with bash * gcc g

Bad mirros

2004-12-16 Thread Siegfried Heintze
nutes on another mirror. So far, after 8 tries, I have not found a good mirror. Anyone know of a good mirror? Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs

where is mail command?

2004-11-26 Thread Siegfried Heintze
ot;. "man mail" says "No manual entry for mail". I tried looking in the 4 documentation directories too -- no luck again. Can someone point me to the documentation on the mail command where I could learn how to configure it for my ISP? Thanks, Siegfried -- Uns

RE: Selectively zipping files together

2004-10-18 Thread Siegfried Heintze
ork: /usr/bin/find . -type f ! -path \^\.\/bin | less Thanks, Siegfried > >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Pechtchanski >Sent: Friday, October 15, 2004 9:40 AM >To: Siegfried Heintze >Cc: [EMAIL PROTECTE

RE: Selectively zipping files together

2004-10-14 Thread Siegfried Heintze
> >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Faylor >Sent: Thursday, October 14, 2004 9:55 PM >To: [EMAIL PROTECTED] >Subject: Re: Selectively zipping files together > >>I'm trying to use sun's jar utility (from Sun's java development kit

Selectively zipping files together

2004-10-14 Thread Siegfried Heintze
tar cvf ../archive.zip The problem is the same: all the files are included. I also, for all of the above, tried using the -print on the find command but that did not help. Oh - and one last question: is there any document that compares bzip with bzip2 and gnuzip and winzip? Thanks,

RE: How to prepend a directory to the PATH to accommodate CVSNT?

2004-10-06 Thread Siegfried Heintze
I looked in c:\Cygwin\home\Administrator and could not find a .profile file using emacs. There was a .bash_profile file. Should I create a .profile file? Thanks, Siegfried -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent

RE: How to prepend a directory to the PATH to accommodate CVSNT?

2004-10-05 Thread Siegfried Heintze
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edward L. Fox >Sent: Tuesday, October 05, 2004 12:24 AM >To: [EMAIL PROTECTED] >Subject: Re: How to prepend a directory to the PATH to accommodate CVSNT? > >Hi, Siegfried: > >

RE: How to prepend a directory to the PATH to accommodate CVSNT?

2004-10-05 Thread Siegfried Heintze
gt; Where do I put this statement? .bashrc? Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

How to prepend a directory to the PATH to accommodate CVSNT?

2004-10-04 Thread Siegfried Heintze
sees because it finds cvs.exe in /usr/bin instead and this is not the cvsnt client! How do I prepend /cygdrive/c/Program Files/cvsnt/bin to the path? Thanks Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentatio

Where is the documentation for installing Win2K services for cvs, ftp, rlogin, inetd?

2004-10-03 Thread Siegfried Heintze
that implement rlogin and ftp? Where are the instructions for starting inetd as a WIN2K service? I looked in c:/cygwin/usr/doc/xinetd-2.3.9/README and could not find the instructions here either. Thanks, Siegfried >On Fri, Sep 21, 2001 at 12:48:47PM -0400, roypgsqlcygwin ( at ) xemaps

How to write telnet server like program for serial port?

2004-10-01 Thread Siegfried Heintze
a single thread? How do I read and write to a serial port? Can anyone point me to some sample code for serial port I/O? I suppose I can look at the source for telnet -- it probably uses the select function. Thanks, Siegfried -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe

Regular Expressions from Bash Shell

2004-09-01 Thread Siegfried Heintze
I want to use grep on all the FORTRAN source code files in the current directory whose file names do not contain a "_" character. How do I do this? I'm using the extension of ".f" to designate FORTRAN. Thank you, Siegfried -- Unsubscribe info: http://c

How to update official cygwin documentation for g77 and gcc? (was: RE: need -mrtd to create Excel DLL?)

2004-07-13 Thread Siegfried Heintze
it). This free version of the compiler seems to be able to compile C++ but does not have the standard C++ header files, only the standard C header files. I assume folks would still prefer g77/gcc to Microsoft's, however. Oopss -- that is off topic. Sorry... Siegfried -Original Messa

RE: need -mrtd to create Excel DLL?

2004-07-13 Thread Siegfried Heintze
Lester, It works! Thank you. Assuming these will be archived, maybe this can help someone else. Since I'm wondering if Excel was caching something, I decided to use C# and it works! Thanks, Siegfried Here is the example of calling cygwin C from C#: --begin here -- //

Apache httpd Accepts local connections but not Remote

2004-07-12 Thread Siegfried Heintze
fragment from my httpd.conf file. I've been going nuts trying to figure this one out for two months or more! Siegfried # DavLockDB /usr/local/apache2/var/DavLock DavLockDB "C:/Program Files/Apache Group/Apache2/conf/DavLock" Alias /cgi-source "C:/Program Files/Apache G

How to run ddd in XWin?

2004-07-11 Thread Siegfried Heintze
; option in g77. I also tried ddd convex.pl and still got the same error. Ddd debugs perl too, correct? Thanks, Siegfried On Sun, July 11, 2004 6:36 pm, Richard Heintze said: > Ah hah! Write a short program called test.c and gcc -g > test.c -o test.exe and ddd test.exe and then I s