openldap cygwin packages

2022-02-17 Thread Joshua Dunbar
Hey,

Why was openldap-server 
(https://www.cygwin.com/packages/summary/openldap-server.html) considered 
obsoleted by (https://www.cygwin.com/packages/summary/openldap.html)? The 
openldap package only contains the client utilities. I am in need of slapd (the 
ldap standalone daemon) which was included in the openldap-server but not 
openldap package.

Thanks,
Josh

-- 
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


Issue during compilation

2019-03-25 Thread Dolphin Joshua
Hi,

I am requiring to know where can I gain the latest cygwin1.dll for windows 10, 
the same process used on windows 7 works fine, but on windows 10 the following 
issue is reported on cmd:

Finish with deleting all object files
  2 [main] sh 18112 find_fast_cwd: WARNING: Couldn't compute FAST_CWD 
pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
  1 [main] sh 17524 
C:\Projects\Yamaha\Sandbox_19022019\MMC_BOOT\FBL\MakeSupport\cmd\sh.exe: *** 
fatal error - cygheap base mismatch detected - 0x2D627E0/0x2CB27E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
  46145 [main] sh 18112 fork: child -1 - forked process died unexpectedly, 
retry 10, exit code 256, errno 11
 13 [main] sh 9900 
C:\Projects\Yamaha\Sandbox_19022019\MMC_BOOT\FBL\MakeSupport\cmd\sh.exe: *** 
fatal error - cygheap base mismatch detected - 0x2D627E0/0x2BE27E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
  70079 [main] sh 18112 fork: child -1 - forked process died unexpectedly, 
retry 10, exit code 256, errno 11
C:\Users\DolphinJ\AppData\Local\Temp\make197842.sh: Cannot fork: Resource 
temporarily unavailable
  1 [main] sh 15272 find_fast_cwd: WARNING: Couldn't compute FAST_CWD 
pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
135811 [main] sh 15272 fork: child -1 - forked process died unexpectedly, retry 
10, exit code -1073741502, errno 11
  2 [main] sh 19548 
C:\Projects\Yamaha\Sandbox_19022019\MMC_BOOT\FBL\MakeSupport\cmd\sh.exe: *** 
fatal error - cygheap base mismatch detected - 0x2EC27E0/0x2D827E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
157795 [main] sh 15272 fork: child -1 - forked process died unexpectedly, retry 
10, exit code 256, errno 11
C:\Users\DolphinJ\AppData\Local\Temp\make197843.sh: Cannot fork: Resource 
temporarily unavailable
   5659 [main] sh 15476 find_fast_cwd: WARNING: Couldn't compute FAST_CWD 
pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
  1 [main] sh 17316 find_fast_cwd: WARNING: Couldn't compute FAST_CWD 
pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
  2 [main] sh 10756 
C:\Projects\Yamaha\Sandbox_19022019\MMC_BOOT\FBL\MakeSupport\cmd\sh.exe: *** 
fatal error - cygheap base mismatch detected - 0x2BF27E0/0x2C627E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
  43414 [main] sh 17316 fork: child -1 - forked process died unexpectedly, 
retry 10, exit code 256, errno 11
  1 [main] sh 19036 
C:\Projects\Yamaha\Sandbox_19022019\MMC_BOOT\FBL\MakeSupport\cmd\sh.exe: *** 
fatal error - cygheap base mismatch detected - 0x2BF27E0/0x2C227E0.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
  62957 [main] sh 17316 fork: child -1 - forked process died unexpectedly, 
retry 10, exit code 256, errno 11
C:\Users\DolphinJ\AppData\Local\Temp\make197845.sh: Cannot fork: Resource 
temporarily unavailable
  1 [main] sh 14580 find_fast_cwd: WARNING: Couldn't compute FAST_CWD 
pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
  2 [main] sh 3136 find_fast_cwd: WARNING: Couldn't compute FAST_CWD 
pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
 

Please report this problem to the public mailing list cygwin@cygwin.com

2018-09-27 Thread Joshua Sokolowski
Hi guys,

i don‘t know if you wanted to report me this but if yes please tell me how to 
fix it i tried 3 houres… I am tired now ist 3 AM in Germany now….

Kind regard

Joshua Sokolowski


process_begin: CreateProcess(NULL, touch 
C:/Users/Joshua/Desktop/Grafikrechner/projects/imageviewer-master/src/versionProvider.cpp,
 ...) failed.
  0 [main] [ 11288 find_fast_cwd: WARNING: Couldn't compute FAST_CWD 
pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
process_begin: CreateProcess(NULL, touch 
C:/Users/Joshua/Desktop/Grafikrechner/projects/imageviewer-master/build/src/versionProvider.cpp,
 ...) failed.
process_begin: CreateProcess(NULL, git log --pretty=format:%aD -1, ...) failed.
sh3eb-elf-g++ -MMD -MP -MF 
C:/Users/Joshua/Desktop/Grafikrechner/projects/imageviewer-master/build/aboutGUI.d
 -std=c++11 -Os -fno-exceptions -Wall -Winline -flto -mb -m4a-nofpu -mhitachi 
-nostdlib   
-IC:/Users/Joshua/Desktop/Grafikrechner/projects/imageviewer-master/build 
-IC:/Users/Joshua/Desktop/Grafikrechner/include 
-IC:/Users/Joshua/Desktop/Grafikrechner/projects/imageviewer-master/build/../../libpng-1.6.12/
 
-IC:/Users/Joshua/Desktop/Grafikrechner/projects/imageviewer-master/build/../../zlib-1.2.8/
 -D__GIT_VERSION=\"\" -D__GIT_TIMESTAMP=\"""\" -c 
C:/Users/Joshua/Desktop/Grafikrechner/projects/imageviewer-master/src/aboutGUI.cpp
 -o aboutGUI.o
make[1]: *** [aboutGUI.o] Error 1
make: *** [build] Error 2
Drücken Sie eine beliebige Taste . . .

--
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: Windows 7 update broke Cygwin X?

2016-09-12 Thread Joshua Hoke
On Fri, Sep 9, 2016 at 1:17 PM, Joshua Hoke  wrote:
> On Fri, Sep 9, 2016 at 12:42 PM, Marco Atzeri  wrote:
>> On 09/09/2016 18:03, Joshua Hoke wrote:
>>> After a recent Windows update, I am unable to start Cygwin's X server
>>> anymore. I tried updating to the latest Cygwin by running setup again,
>>> /usr/bin/rebaseall and rebooting. There are no obvious errors from the
>>> X server if I run /usr/bin/startxwin from a Cygwin console, but it
>>> seems to exit after 20 seconds or so:

I tried following directions from
https://cygwin.com/ml/cygwin/2015-07/msg00448.html for debugging with
strace and it seems there is an exception occurring inside a Trend
Micro DLL, causing XWin.exe to exit silently. At this point I don't
consider it a problem with Cygwin/X anymore, except that possibly it
should exit with a non-zero exit status. I am using a different X
server at the moment as a workaround.

--
Joshua Hoke

--
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: Windows 7 update broke Cygwin X?

2016-09-09 Thread Joshua Hoke
On Fri, Sep 9, 2016 at 12:42 PM, Marco Atzeri  wrote:
> On 09/09/2016 18:03, Joshua Hoke wrote:
>>
>> Hi,
>>
>> After a recent Windows update, I am unable to start Cygwin's X server
>> anymore. I tried updating to the latest Cygwin by running setup again,
>> /usr/bin/rebaseall and rebooting. There are no obvious errors from the
>> X server if I run /usr/bin/startxwin from a Cygwin console, but it
>> seems to exit after 20 seconds or so:
>>
>> $ date; /usr/bin/startxwin; date
>> Fri, Sep 09, 2016 12:00:58 PM
>>
>> Welcome to the XWin X Server
>> Vendor: The Cygwin/X Project
>> Release: 1.18.4.0
>> OS: CYGWIN_NT-6.1-WOW 3QGH462 2.6.0(0.304/5/3) 2016-08-31 14:27 i686
>> OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (WoW64)
>> Package: version 1.18.4-1 built 2016-07-22
>
>
> works fine for me. Same configuration
>
>>
>> Any ideas about what how to fix or troubleshoot this? I use it all the
>> time and it worked before this update.
>>
>
> Problem reports:   http://cygwin.com/problems.html
>
> please provide the cygcheck.out as attachement

Please find attached cygcheck.out (redacted some environment
variables, a network share and local Windows groups) and also
XWin.0.log (though it appears the same as stdout in this case).

Note "this update" in my previous email could be unclear, I meant to
refer to the Windows update installed this morning. Looking at the
update history it appears that includes:

Update for Windows 7 for x64-based Systems (KB3177723): 2016 — Egypt cancels DST
Update for Windows 7 for x64-based Systems (KB3172605): July 2016
update rollup for Windows 7 SP1 and Windows Server 2008 R2 SP1
Update for Windows 7 for x64-based Systems (KB3161102): Update for
Windows Journal component removal
Windows Malicious Software Removal Tool x64 - August 2016 (KB890830)
Update for Windows 7 for x64-based Systems (KB3179573): August 2016
update rollup for Windows 7 SP1 and Windows Server 2008 R2 SP1

Thanks in advance for any help.


cygcheck.out
Description: Binary data


XWin.0.log
Description: Binary data
--
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

Windows 7 update broke Cygwin X?

2016-09-09 Thread Joshua Hoke
Hi,

After a recent Windows update, I am unable to start Cygwin's X server
anymore. I tried updating to the latest Cygwin by running setup again,
/usr/bin/rebaseall and rebooting. There are no obvious errors from the
X server if I run /usr/bin/startxwin from a Cygwin console, but it
seems to exit after 20 seconds or so:

$ date; /usr/bin/startxwin; date
Fri, Sep 09, 2016 12:00:58 PM

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.18.4.0
OS: CYGWIN_NT-6.1-WOW 3QGH462 2.6.0(0.304/5/3) 2016-08-31 14:27 i686
OS: Windows 7 Service Pack 1 [Windows NT 6.1 build 7601] (WoW64)
Package: version 1.18.4-1 built 2016-07-22

XWin was started with the following command line:

/usr/bin/XWin :0 -multiwindow -auth /home/jhoke/.serverauth.5404

(II) xorg.conf is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
LoadPreferences: /home/jhoke/.XWinrc not found
LoadPreferences: Loading /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - RemoteSession: no
winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL
winDetectSupportedEngines - Returning, supported engines 0005
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Fri, Sep 09, 2016 12:01:19 PM

Any ideas about what how to fix or troubleshoot this? I use it all the
time and it worked before this update.

-- 
Joshua Hoke

--
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: sshd buildup of CLOSE_WAIT leading to unable to function

2014-04-11 Thread Joshua Hudson
The interesting detail is it would always stop at exactly 64 sockets
open; which is the maximum number for which select() doesn't have to
spawn a second thread.

Problem disappeared. Given the traces I got the reproduction would
involve somebody's deranged trojan SSH scanner.

64 to too low for Fail2Ban to prevent disaster so I didn't bother. The
fools aren't getting in anyway. I turned off password auth.

--
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: sshd buildup of CLOSE_WAIT leading to unable to function

2014-04-08 Thread Joshua Hudson
Sorry took so long to reply. Only reply was set to the mailing list
but not to me.

> BLODA?

No listed BLODA installed.

CLOSE_WAIT entries do not appear to build up from normal ssh use via
the cygwin ssh client. All CLOSE_WAIT entries show IP addresses not
ours. (Port is open on a public IP address. Only private key
authentication allowed.)

On 4/1/14, Joshua Hudson  wrote:
> Hi. I'm getting a situation on one machine where sshd will fail to
> accept connections in a way that says "connection refused" even though
> it is listening. The server shows a large (58) number of connections
> in CLOSE_WAIT.
>
> A Google search leads me to
> http://www.cygwin.com/ml/cygwin/2010-01/msg01235.html
> and eventually to
> http://support.microsoft.com/default.aspx?scid=kb;en-us;Q198663
> but I don't think that's right. Somebody else managed to this this in 2009
> http://www.44342.com/ssh-f1158-t3789-p1.htm
>
>
> Version:
>
> OpenSSH_6.4p1, OpenSSL 1.0.1e 11 Feb 2013
> CYGWIN_NT-6.1 redacted 1.7.25(0.270/5/3) 2013-08-31 20:37 x86_64 Cygwin
>

--
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



sshd buildup of CLOSE_WAIT leading to unable to function

2014-04-01 Thread Joshua Hudson
Hi. I'm getting a situation on one machine where sshd will fail to
accept connections in a way that says "connection refused" even though
it is listening. The server shows a large (58) number of connections
in CLOSE_WAIT.

A Google search leads me to
http://www.cygwin.com/ml/cygwin/2010-01/msg01235.html
and eventually to
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q198663
but I don't think that's right. Somebody else managed to this this in 2009
http://www.44342.com/ssh-f1158-t3789-p1.htm


Version:

OpenSSH_6.4p1, OpenSSL 1.0.1e 11 Feb 2013
CYGWIN_NT-6.1 redacted 1.7.25(0.270/5/3) 2013-08-31 20:37 x86_64 Cygwin

--
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



How exactly does ctime work?

2012-05-08 Thread Joshua Hudson
We had a weird incident involving ctime changing unexpectedly when
mtime did not.

On a normal UNIX system, we'd immediately say somebody changed the
file and set mtime back, but on Cygwin, ctime appears to be synthetic.

How exactly does ctime work on Cygwin? I can't find any useful
documentation except for some mailing list discussions circa 2005 that
leave me with no answers.

--
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: STATUS_ACCESS_VIOLATION

2010-11-07 Thread Joshua Hudson
/bin/rebaseall worked. Great, thanks man!

--
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



STATUS_ACCESS_VIOLATION

2010-11-06 Thread Joshua Hudson
Whenever cygwin hasn't been running for awhile, launching it yields a
lot of STATUS_ACCESS_VIOLATION in bash.exe

$ cat bash.exe.stackdump
13779031 [main] bash 4212 exception::handle: Exception: STATUS_ACCESS_VIOLATION
13779775 [main] bash 4212 open_stackdumpfile: Dumping stack trace to bash.exe.st
ackdump
Exception: STATUS_ACCESS_VIOLATION at eip=61020137
eax=00E0A2E8 ebx=6123A604 ecx=74D70D06 edx=003441B8 esi= edi=0028F9E8
ebp=61020890 esp=0028C7B8 program=C:\cygwin\bin\bash.exe, pid 4212, thread main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function  Args
End of stack trace

Also, trying to do $ ls > file yields
78995859 [main] bash 996 child_copy: linked dll data write copy failed, 0x33D000
..0x3414A4, done 0, windows pid 996, Win32 error 487
80006668 [main] bash 3940 exception::handle: Exception: STATUS_ACCESS_VIOLATION
80007570 [main] bash 3940 open_stackdumpfile: Dumping stack trace to bash.exe.st
ackdump
$ cat bash.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=61020137
eax=00E0A2E8 ebx=6123A604 ecx=74D70D06 edx=003441B8 esi= edi=0028F9E8
ebp=61020890 esp=0028C7B8 program=C:\cygwin\bin\bash.exe, pid 3940, thread main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function  Args
End of stack trace

Result of cygcheck -s attached.

Simple commands work, but trying to move the production server backup
script into production didn't.

HELP!


cygcheckdata
Description: Binary data
--
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: (g++) program crashes when I throw an exception in a separate thread

2009-07-22 Thread Joshua John Bialkowski

Quoting Joshua John Bialkowski

I'm using g++ (GCC) version 3.4.4 from the cygwin installer, and 
I've run in to

this very confusing problem. I'm compiling with the -mno-cygwin option

[...]
The problem I have is that when I launch a separate thread, and 
then throw an

exception in that separate thread, my program will crash... even if I catch
that exception.


Are you compiling with '-mthreads'?



I was not, in fact. Of course the first results in Google for "MinGW
'-mthreads'" is: "always use -mthreads when using threads under MinGW. I just
spent hours using gdb instead of -mthreads." I will give that a try 
and report

back to the list for the benefit of posterity.



That was the problem. Both the toy code and my original now work as I expected
them to. Thank you for your help. :$.




--
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: (g++) program crashes when I throw an exception in a separate thread

2009-07-22 Thread Joshua John Bialkowski

Quoting Christopher Faylor


On Wed, Jul 22, 2009 at 08:05:21PM -0400, Joshua John Bialkowski wrote:
I've spent the entire day scouring the internet for a solution to my 
problem, so
I apologize if this has already been answered. If that is the case a 
pointer in

the right direction would be appreciated.
[snip]

It looks like you're using pure windows code here, i.e., this would
be a mingw, "gcc -mno-cygwin" program.  We don't support that here.
You might try the mingw mailing list for support.



Thats right, windows API stuff. Thanks for the suggestion, I will try there.

--
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: (g++) program crashes when I throw an exception in a separate thread

2009-07-22 Thread Joshua John Bialkowski
I'm using g++ (GCC) version 3.4.4 from the cygwin installer, and 
I've run in to

this very confusing problem. I'm compiling with the -mno-cygwin option

[...]
The problem I have is that when I launch a separate thread, and then 
throw an

exception in that separate thread, my program will crash... even if I catch
that exception.


Are you compiling with '-mthreads'?



I was not, in fact. Of course the first results in Google for "MinGW
'-mthreads'" is: "always use -mthreads when using threads under MinGW. I just
spent hours using gdb instead of -mthreads." I will give that a try and report
back to the list for the benefit of posterity.

--
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



(g++) program crashes when I throw an exception in a separate thread

2009-07-22 Thread Joshua John Bialkowski
I've spent the entire day scouring the internet for a solution to my problem, so
I apologize if this has already been answered. If that is the case a pointer in
the right direction would be appreciated.

I'm using g++ (GCC) version 3.4.4 from the cygwin installer, and I've run in to
this very confusing problem. I'm compiling with the -mno-cygwin option because
I'm using the windows api. If this question belongs in a MinGW or GNU GCC or
Win32 mailing list, again, I apologize, but I will wait for a response before
posting in those as well. For fear of the 10,000 posts of "Ask that question on
your compiler's forum" flame that shows up as the first result in 90% of my
google searches regarding code questions, I'm starting here, under the
impression that this is "My compiler's forum".

The problem I have is that when I launch a separate thread, and then throw an
exception in that separate thread, my program will crash... even if I catch
that exception. I've included below a toy example to demonstrate the problem.
I've shortened as much as I could. The program crashes as soon as the child
threads start calling the "throwAnException()" function, after a few seconds of
printing the following:

Thread 2 says hello
Thread 1 says hello
Thread 2 says hello
Thread 0 says hello
Thread 1 says hello
Thread 2 says hello
Thread 0 says hello
...

If I run the program inside of GDB I sometimes (but not always) get the
following message:

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 2420.0x764]

When I perform a backtrace, sometimes i get a bunch of ??() entries, but usually
I what is below. Occasionally gdb says that the Segfault was in cout() and
simetimes it says it's somewhere in the MSCRT (microsoft C runtime library).

(gdb) backtrace
#0  0x0078fdbe in ?? ()
#1  0x0001 in ?? ()
#2  0x0040dc0c in _Unwind_SjLj_RaiseException () at
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:77
#3  0x004039b5 in __cxa_throw () at
/usr/lib/gcc/i686-pc-mingw32/3.4.4/include/c++/iostream:77
#4  0x00401446 in throwAnException () at
src/system/test/WinThreadToyProblem.cpp:23
#5  0x004015be in threadProc (ptr=0x3e24ec) at
src/system/test/WinThreadToyProblem.cpp:43
#6  0x77c3a3b0 in msvcrt!_endthreadex () from
/cygdrive/c/WINDOWS/system32/msvcrt.dll
#7  0x7c80b729 in KERNEL32!GetModuleFileNameA () from
/cygdrive/c/WINDOWS/system32/kernel32.dll
#8  0x in ?? ()


I read on the MSDN website that exception handling is thread safe, and that
throwing an exception in one thread should not accept any other thread.
However, I assume this is specific to the VC++ implementation of exception
handling. I'm not sure if GCC's implementation has a problem with exception
handling in another thread, or if it's a problem with using the Windows API, or
if it's a problem somewhere else... but I was really not expecting this to be a
problem.


Please avoid solutions that circumvent the problem. I'm not looking for a
work-around, I'm interested in the reason this is failing. I'm hoping the
reason is my ignorance, and that it can be correction. I'd prefer not to open
the other can of worms of using pthreads or boost threads or the like.

Thanks in advance,

cheshirekow


code follows
--




#include 
using std::cout;

#include 
using std::stringstream;

#include 
using std::string;

#include 
#include 


void throwAnException() throw(int)
{
throw 5;
}


unsigned int __stdcall threadProc( void*  ptr )
{
int id  =*((int *)ptr);
stringstreammsgStrm (stringstream::in|stringstream::out);
msgStrm << "Thread " << id << " says hello\n";
string  message = msgStrm.str();

for(int i=0; i < 30; i++)
{
cout << message;
cout.flush();
Sleep(100);
}

try
{
throwAnException();
}
catch(int e)
{
cout << "caught: " << e << "\n";
cout.flush();
}

return 0;
}




int main()
{
int nThreads = 3;

int *nums = new int[nThreads];

for(int i=0; ihttp://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: setting up a local mirror

2006-12-06 Thread Joshua Daniel Franklin

OK, I couldn't resist answering one last question before unsubscribing
from the list...

On 12/5/06, Nathan Moore wrote:

> Cygwin is used extensively within my school's physics department,
> and I'd like to set up a local mirror for packages.  I assume this
> entails writing a bash script which downloads all of the source
> packages from an official repository.  The script is then run at
> regular (ie crontab scheduled) intervals.  Could anyone provide me
> with more information on this task (ie where to download from, how
> often repositories change, how much space will be required, etc)?


All the details are in the "Creating a local Cygwin mirror with rsync"
section at
http://sourceware.org/cygwin-apps/package-server.html

I don't know the current space requirements, but I'm sure it's
many gigabytes.

Before you go through the trouble, you may just want to standardize
on using an already existing nearby ".edu" mirror site.

--
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/



signing off, mostly

2006-12-02 Thread Joshua Daniel Franklin

Cygwin Community,

It's been a fun few years that I've been maintaining the Cygwin
documentation, but I think it's come time to ask for replacement
volunteers. I now rarely use Windows and just realized when
I got a few minutes on my wife's laptop that it doesn't even
have the build tools installed, and that the "FAQ alert" I was
going to respond to is nearly two months old:
http://www.cygwin.com/ml/cygwin/2006-10/msg00587.html

The good news is that I believe I got cygwin-doc in a very
stable state, so a lot of it is just a matter of building the docs
from CVS, copying the files into a tarball, and releasing.

The bad news is the total lack of movement on the docs in
probably the past 16 months or so (i.e., since my daughter
was born).

I think this is a great opportunity for someone with a lot of
ideas for updated docs. I'd be happy to answer any
questions about the current setup of the Cygwin
documentation.

--
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: FAQ ALERT Re: [ANNOUNCEMENT] Updated: vim-7.0.122-1

2006-10-13 Thread Joshua Daniel Franklin

On 10/11/06, Christopher Faylor wrote:

Good point, Brian.  If anything qualifies as a FAQ, this certainly does.
Joshua, would you be willing to write something up about the philosophy
of MS-DOS and Cygwin?  Known gotchas would be a good thing to include,
even if they were only examples.


This looks like possibly just a generalized rewrite of
http://cygwin.com/faq/faq-nochunks.html#faq.using.accessing-drives

--
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: chmod, chown doesn't work with 1.5.21-1 (FAQ alert)

2006-08-25 Thread Joshua Daniel Franklin

On 8/24/06, Igor Peshansky wrote:

FWIW, I was going to suggest that you look at the relevant FAQ entry
(<http://cygwin.com/faq/faq.using.html#faq.using.chmod>), but then I
realized that the entry is horribly out of date, and doesn't mention
filesystem types at all (the only place they are mentioned is the
description of the "ntea" setting in the CYGWIN environment variable:
<http://cygwin.com/cygwin-ug-net/using-cygwinenv.html>).  I don't have the
time to create the proper FAQ patch, but Joshua, if you are reading this,
please take note.



Duly noted, I'll write a patch at some point soon.

--
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: Um... what format are Cygwin manpages?

2006-08-10 Thread Joshua Daniel Franklin

On 8/10/06, mwoehlke wrote:

Joshua Daniel Franklin wrote:
> Yes, it's sort-of my fault. I just have a Perl script that chunks the
> newlib libc.info files into faux man pages.

Ah, ok, makes sense. Too bad newlib doesn't have proper manpages, in
that case. Although am I understanding that newlib itself doesn't have
*any* manpages, meaning a: I need to be fixing their INFO, and b: any
manpages should be sent this way after all?


Well, I'd be for fixing the newlib files rather than replacing them. The issue
with replacing them with our own custom versions or with Linux ones is that
the documentation no longer comes from the actual upstream libc (or worse--
in the case of Linux it comes from a possibly incompatible *different*
upstream libc).

If you'd like to add better *roff formatting to the perl script, it's
in the cygwin-doc
src package. A warning, though, it's a mess.

--
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: [DOC PATCH] - was Re: I18 support in cygwin

2006-08-09 Thread Joshua Daniel Franklin

On 8/7/06, Larry Hall (Cygwin) wrote:

So there is.  Hm.  Oh well.  Joshua, here's a patch, if you think using it is
less effort than just deleting the line yourself.


Of course I'll use it. How else would I know which was the duplicate? :)

It wasn't in the cygwin-doc-1.4-4 I posted a few minutes back, but it's
on the website now:

http://cygwin.com/faq/faq-nochunks.html#faq.using.unicode

--
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: Um... what format are Cygwin manpages?

2006-08-09 Thread Joshua Daniel Franklin

On 8/9/06, mwoehlke wrote:

I thought I'd have a crack at fixing the manpage for printf(3) (see
http://cygwin.com/ml/cygwin/2006-08/msg00288.html), but when I opened
it, I was a bit shocked to discover that it is only *MARGINALLY* in
troff format. I do note that other manpages seem more "normal" (man1
pages, for instance)... So, is this just "how the C lib manpages are"?


Yes, it's sort-of my fault. I just have a perl script that chunks the newlib
libc.info files into faux man pages. Be careful with Linux man pages,
some are licenced from the Open Group. If so the package should
come with a copyright file like this:

http://packages.debian.org/changelogs/pool/non-free/m/manpages-posix/manpages-posix_1.67-3/manpages-posix.copyright

Unfortunately we are not allowed to redistribute those, unless you'd like
to do the legwork to get permission to do so. :)

Also I just posted for upload a new cygwin-doc package before I read
this thread, so there would be more of a delay.

--
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: FAQ update suggestion: uninstall

2006-07-25 Thread Joshua Daniel Franklin

On 7/23/06, Robert Pendell wrote:

Testing wrote:
> http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all
>
> Would it be valuable to add this to the FAQ entry?
>
That won't work for those on XP Home.
In order to access the Security tab you have to boot into safe mode.


OK, I'll add that in a note.

--
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: Automated Cygwin install.

2006-06-01 Thread Joshua Daniel Franklin

On 5/27/06, Jarl Friis wrote:

Would it be an idea to have my question on the cygwin FAQ.


I had resisted this since it didn't really come up all that often
and setup.exe is really only designed to be interactive, but
it's been coming up... frequently:

http://cygwin.com/faq/faq.setup.html#faq.setup.automated

--
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: [FAQ ALERT] Win32_Winsock depracated...

2006-05-30 Thread Joshua Daniel Franklin

On 5/30/06, Dave Korn wrote:

... for quite some time now; here's an update to the related faq entry.


Thanks, it's great to get patches like this. It's updated now:

http://cygwin.com/faq/faq.api.html#faq.api.winsock

--
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/



missing C stuff when porting unix application

2006-05-03 Thread Joshua Hudson

1. no _CS_PATH
2. no sys_siglist
3. no confstr
4. no memopen

_CS_PATH and confstr looks easy enough to give it the values it wants.
Removed code that handles sys_siglist
Not sure what to do about memopen

--
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: Update for the "Why doesn't chmod work?" section of the FAQ?

2006-04-04 Thread Joshua Daniel Franklin
On 3/2/06, Christopher Faylor  wrote:
> The current FAQ has this entry:
>
>   4.15. Why doesn't chmod work?

I checked in this, but didn't update the website:

The most common case is that your /etc/passwd or /etc/group files are
not properly set up. If ls -l shows a group of mkpasswd or mkgroup,
you need to run one or both of those commands.

For other cases, understand that Cygwin attempts to show UNIX
permissions based on the security features of Windows, so the Windows
ACLs are likely the source of your problem. See the Cygwin User's
Guide at http://cygwin.com/cygwin-ug-net/ntsec.html for more
information on how Cygwin maps Windows permissions.

--
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: [FAQ alert] RE: segfault on memory intensive programs

2006-04-04 Thread Joshua Daniel Franklin
On 4/1/06, Joshua Daniel Franklin wrote:
> On 3/30/06, Dave Korn wrote:
> >   As to the FAQ entry, it really needs a little alteration.  Ping JDF!
> >
> >   It should make clear that those parameters are in bytes.  The example of a
> > 4k stack and 1k heap is a bit unrealistic and it might be more productive to
> > show people how to make exes with /big/ stacks, since that's the problem
> > people usually run into.  How about something a bit more like
> >
> > -
> > 21.
> >
> > How can I adjust the heap/stack size of an application?
> >
> > If you need to change the maximum amount of memory available to Cygwin, see
> > http://cygwin.com/cygwin-ug-net/setup-maxmem.html. Otherwise, just pass the
> > desired heap/stack size in bytes as linker arguments to gcc. To create 
> > foo.exe
> > with a heap size of 200MB and a stack size of 8MB, you would invoke gcc as:
> >
> > gcc -Wl,--heap,2,--stack,800 -o foo foo.c
> > -

OK, checked in, but I didn't update the website.

--
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: [FAQ alert] RE: segfault on memory intensive programs

2006-04-01 Thread Joshua Daniel Franklin
On 3/30/06, Dave Korn wrote:
>   As to the FAQ entry, it really needs a little alteration.  Ping JDF!
>
>   It should make clear that those parameters are in bytes.  The example of a
> 4k stack and 1k heap is a bit unrealistic and it might be more productive to
> show people how to make exes with /big/ stacks, since that's the problem
> people usually run into.  How about something a bit more like
>
> -
> 21.
>
> How can I adjust the heap/stack size of an application?
>
> If you need to change the maximum amount of memory available to Cygwin, see
> http://cygwin.com/cygwin-ug-net/setup-maxmem.html. Otherwise, just pass the
> desired heap/stack size in bytes as linker arguments to gcc. To create foo.exe
> with a heap size of 200MB and a stack size of 8MB, you would invoke gcc as:
>
> gcc -Wl,--heap,2,--stack,800 -o foo foo.c
> -


I'll get to this and the other items soon-ish. I got a cheap laptop on ebay
(but very portable... Dell x200) and just finished getting it set up.

--
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: Locales with wrong umlauts

2006-03-27 Thread Joshua Daniel Franklin
On 3/26/06, Lapo Luchini  wrote:
>
> > On Sun, 27 Jun 2004, A. Alper Atici wrote:
> >
> > > try the following:
> > > set OUTPUT_CHARSET=iso-8859-1
>
> Instead of putting it simply in some FAQ couldn't Cygwin define that env var
> correctly "by default"? (after all the system *knows* which charset it is 
> using,
> I guess?)

Is this available from some Windows envar or tool? I'm thinking this would
be best in a .profile or even /etc/profile. Unfortunately, I am clueless how
to test it.

--
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: Why only 1 cygwin1.dll?

2006-03-26 Thread Joshua Daniel Franklin
On 3/25/06, Lev Bishop  wrote:
> We do already have FAQs for "Why not install in C:\?"  and "Why the
> weird directory structure?". There is a FAQ for "How do I compile a
> Win32 executable that doesn't use Cygwin?" but it doesn't specifically
> mention that discussion of the binaries doesn't belong here (and in
> fact specifically says that -mno-cygwin should not be confused with
> mingw -- whereas when someone asks about -mno-cygwin on this ML
> everyone always directs them to talk to the mingw lists).  There
> already is "How do I just get everything?" which sort of explains why
> setup downloads as much/little as it does. I couldn't see any FAQ for
> why /dev doesn't replace /cygdrive though.

Sounds like I'll update some FAQs.

--
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: Automated Setup

2006-03-26 Thread Joshua Daniel Franklin
On 3/24/06, Capaci, Christopher wrote:
> I'm trying to automate the setup of cygwin so that the same exact setup
> is reproducible on many different machines. I found some command line
> arguments to setup.exe that should help. -q runs through the whole
> process without any input. To use that I'll need to use -R to set the
> root, which works, and -L to set the local package directory I want to
> use. This is where I'm having a problem. No matter what I put after -L,
> it uses C:\WINDOWS as the local package directory. Is this the expected
> behavior of the -L option? It seems as though you should be able to
> specify the location you want to use. Also, is there any argument to set
> the text file type automatically? Thanks a lot.

The -L option is "do a local install". To set the local package directory, use
something like "-l x:\cygwin-local\" so your full command is

setup.exe -q -L -l x:\cygwin-local\

Also the local package directory needs to exist and be full of packages
already, run through setup.exe manually once to create it and put it on
a network share, or run setup.exe from that location with something like

setup.exe -q -R c:\cygwin -s MIRROR

Where MIRROR is one listed at http://cygwin.com/mirrors.html
(If you want to specify packages, you can use the patched setup from
http://staff.washington.edu/joshuadf/cygwin/ or create a custom setup.ini
file.)

By the way, the full listing of setup.exe options can be dumped into the
setup.log file by running "setup.exe --help":

Command Line Options:
 -D --download  Download from internet
 -L --local-install Install from local directory
 -s --site  Download site
 -R --root  Root installation directory
 -q --quiet-modeUnattended setup mode
 -h --help  print help
 -l --local-package-dir Local package directory
 -r --no-replaceonrebootDisable replacing in-use files on next
reboot.
 -n --no-shortcuts  Disable creation of desktop and start
menu shortcuts
 -N --no-startmenu  Disable creation of start menu shortcut
 -d --no-desktopDisable creation of desktop shortcut
 -A --disable-buggy-antivirus   Disable known or suspected buggy anti
virus software packages during
execution.

--
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: Cygwin: Where is the Help Guide

2006-03-26 Thread Joshua Daniel Franklin
On 3/25/06, George wrote:
> FWIW, I'd like to think that expanding the contents of the Cygwin man
> pages ('man cygwin' and 'man intro') to provide the above information as
> well as offer an overview of Cygwin-specific tools, etc. would go a long
> way.

Wow, someone actually read that page I wrote? I think I already did mention
all those things, with the exception of "man foo" for obvious reasons. The
important sections:

AVAILABILITY
   Cygwin  is  developed by volunteers collaborating over the Internet. It
   is distributed through the website  http://cygwin.com,  where  you  can
   find extensive documentation, including FAQ, User's Guide, and API Ref-
   erence. The Cygwin  website  should  be  considered  the  authoritative
   source  of information. The source code, released under the GNU General
   Public License, Version 2, is also available from the website or one of
   the mirrors.

COMPATIBILITY
   Cygwin  uses the GNU versions of many of the standard UNIX command-line
   utilities (sed, awk, etc.), so the user environment is more similar  to
   a Linux system than, for example, Sun Solaris.

   The  default  login  shell  and   /bin/sh  for  Cygwin is bash, the GNU
   "Bourne-Again Shell", but other shells such as tcsh (an  improved  csh)
   are also available and can be installed using Cygwin's setup.exe.

NOTES
   To  port  applications  you will need to install the development tools,
   which you can do by selecting gcc in setup.exe (dependencies are  auto-
   matically handled).  If you need a specific program or library, you can
   search for a Cygwin package containing it at:

   http://cygwin.com/packages/

   If you are a UNIX veteran who plans to use Cygwin extensively, you will
   probably find it worth your while to learn to use Cygwin-specific tools
   that provide a UNIX-like interface to common operations.  For  example,
   cygpath converts between UNIX and Win32-style pathnames. The full docu-
   mentation for these utilities is at:

   http://cygwin.com/cygwin-ug-net/using-utils.html

   The optional cygutils package also contains utilities  that  help  with
   common problems, such as dos2unix and unix2dos for the CRLF issue.

DOCUMENTATION
   In  addition  to man pages and texinfo documentation, many Cygwin pack-
   ages provide system-independent documentation  in  the  /usr/share/doc/
   directory and Cygwin-specific documentation in /usr/share/doc/Cygwin/

   For example, if you have both less and cron installed, the command

less /usr/share/doc/Cygwin/cron.README

   would display the instructions to set up cron on your system.

REPORTING BUGS
   If you find a bug in Cygwin, please read

   http://cygwin.com/bugs.html

   and follow the instructions for reporting found there.  If you are able
   to track down the source of the bug and can provide a  fix,  there  are
   instructions for contributing patches at:

   http://cygwin.com/contrib.html

--
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: Creating a custom Cygwin package server

2006-03-21 Thread Joshua Daniel Franklin
On 3/19/06, Norton Allen wrote:
> The documentation here:
>
> http://sourceware.org/cygwin-apps/package-server.html
>
> suggests it might be possible to set up a custom Cygwin
> package server to install a custom app, but it also says
> the necessary tools are not available.

Just be aware that you are entering unsupported territory,
and get upset from:

http://xarch.tu-graz.ac.at/publ/cygwin/upset

"Unsupported" means don't ask this mailing list if you have
problems. A good alternative might be:

http://sourceforge.net/projects/cygwin-ports/

--
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: Need Help with Setting Up Local Mirror/Custom Package

2006-02-27 Thread Joshua Daniel Franklin
On 2/27/06, Michael Banks wrote:
> Has anyone on this list set up a local mirror with a custom package?

Yes.

> We're releasing a commercial solution soon that depends on a few command-line 
> utilities like grep (we're not using the cygwin.dll at all), and don't want 
> our Windows users worrying about selecting packages.

"grep" is already in the Base category, so it's installed by default
(look in release/grep/setup.hint on any Cygwin mirror). All you need
to do is run http://cygwin.com/setup.exe and click "Next" madly until it's
finished.

--
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: Chinese file names are displayed as '??' when 'ls'

2006-02-04 Thread Joshua Daniel Franklin
On 2/3/06, LiuYan wrote:
> Hi all:
>
> When I using 'ls' to list the files in a directory, the chinese file names are
> becomes '??'.

Do the hints in the Cygwin FAQ about Unicode help?

http://cygwin.com/faq/faq.using.html#faq.using.unicode

--
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: where is SCP

2006-02-01 Thread Joshua Daniel Franklin
On 1/30/06, Christopher Faylor wrote:
> On Mon, Jan 30, 2006 at 07:01:04PM -0600, Yaakov S (Cygwin Ports) wrote:
> >Igor Peshansky wrote:
> >>Exactly where were you trying to search for it?  The answer to most
> >>queries of "where is program foo" is the Cygwin package search page at
> >><http://cygwin.com/packages/> (also mentioned in the FAQ entry
> >><http://cygwin.com/faq/faq.setup.html#faq.setup.what-packages>).  You can
> >>use Perl regular expressions to get better matches for short names, e.g.,
> >>"\bscp\b" for a whole-word "scp" search.
> >
> >BTW, now there's also 'cygcheck -p'.  Maybe this should be added to the
> >aforementioned FAQ?
>
> Yes, definitely.
>
> Joshua?

I hadn't upgraded lately, so didn't have "-p" yet. But now I have.
Also, I pointed that FAQ at the excellent docs at
http://cygwin.com/cygwin-ug-net/using-utils.html#cygcheck
Thanks!

--
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: Native letters in Cygwin zsh

2006-01-29 Thread Joshua Daniel Franklin
On 1/27/06, Wojciech Pietron wrote:
> After a few hours spent in 'bindkey', 'stty' and similar stuff I am not
> very familiar with, I found out that after running a command 'setopt nozle'
> I am able to produce all Polish letters. Of course, I loose all
> functionality associated with 'Zsh Line Editor' module as well. What is more,
> problem remains in vi editor.
>
> Is there any simpler command to be able to enable Polish letters associated
> with AltGr-X and AltGr-S and not to loose all the functionality of 'zle'
> module?

I have no experience with Polish on Cygwin, but have you looked at
the hints in the Cygwin FAQ on Unicode?

http://cygwin.com/faq/faq.using.html#faq.using.unicode

--
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: Building Cygwin from CVS

2006-01-26 Thread Joshua Daniel Franklin
On 1/26/06, Joshua Daniel Franklin  wrote:
> OK, the full text of winsup/README is now:
>
> THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
> IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
> WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
>
> Cygwin documentation is available on the net at http://cygwin.com
> You might especially be interested in
>
> http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin

I forgot to mention, I also pointed the FAQ link in cvs.html directly there, and
simplified the FAQ entry so it should be more straightforward for first-timers.
(For example, I got rid of the "how to use tar on a src tarball" since I doubt
people who can't figure out tar should be building Cygwin. Or at least they
should be doing it from CVS!)

--
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: Building Cygwin from CVS

2006-01-26 Thread Joshua Daniel Franklin
On 1/26/06, Corinna Vinschen wrote:
> On Jan 26 13:44, Christopher Faylor wrote:
> > On Thu, Jan 26, 2006 at 10:12:07AM +0100, Corinna Vinschen wrote:
> > >On Jan 25 20:41, Joshua Daniel Franklin wrote:
> > >>I've added this info to
> > >>http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin
> > >>and I'd like to put it in a winsup/README file but didn't want to touch
> > >>the top-level without some discussion.  Does that sound OK to do?
> > >
> > >Yes, we can add a winsup/README if you want to do this.  Would you mind
> > >to create a winsup README which basically follows the layout of the
> > >newlib README?  That would be cool.
> >
> > My preference would be for build instructions in only one place, I guess
> > that would mean that they should be in the FAQ since that is the most 
> > visible
> > place.
>
> Good argument.
>
> > So, I'd like the README to basically just have a URL for the cygwin web 
> > site.
> > And, this README should not be installed.
>
> Right, I agree.

OK, the full text of winsup/README is now:


THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Cygwin documentation is available on the net at http://cygwin.com
You might especially be interested in

http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin

--
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: Please assist with details regarding uninstalling [Attn FAQ maintainer]

2006-01-26 Thread Joshua Daniel Franklin
On 1/25/06, Reini Urban wrote:
> postgresql is of the same kind as inetd.
> In the recommended way the service is run via cygrunsrv, but a few
> people might also have installed the cygwin version via pg_ctl as
> service starter.
> Mentioning it after apache would help a bit.
>
> =>
> "sshd, cron, cygserver, inetd, apache, postgresql and so on."

OK, done. Do I understand correctly that all these packages now
recommend using cygrunsrv?

--
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: "Bad system call" error FAQ alert? (Was Re: Fatal error when trying to initialise PostgreSQL in cygwin)

2006-01-26 Thread Joshua Daniel Franklin
On 1/13/06, Joshua Daniel Franklin <[EMAIL PROTECTED]> wrote:
> On 1/13/06, Igor Peshansky wrote:
> > On Fri, 13 Jan 2006, Corinna Vinschen wrote:
> >
> > > On Jan 13 12:44, Adrian Maier wrote:
> > > > /usr/bin/initdb: line 564:  3312 Bad system call 
> > > > "$PGPATH"/postgres
> > >
> > > Did you read /usr/share/doc/Cygwin/postgresql-8.0.4.README?
> >
> > I wonder if this has become sufficiently frequent to merit addition to the
> > FAQ.  I've seen this question in various forms at least 4 times in the
> > past three months (with two of those relating to PostgreSQL)...
>
> It's a good idea. Anyone want to suggest some wording?

Found some great wording at
http://www.cygwin.com/ml/cygwin/2004-06/msg00039.html
so it's up at http://cygwin.com/faq/faq.programming.html#faq.programming.ipc

--
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: multi user environment security due shared memory

2006-01-26 Thread Joshua Daniel Franklin
On 12/2/05, Corinna Vinschen wrote:
> On Dec  2 13:43, andrea wrote:
> > What is the current status of the following security threats and how
> > would you rate security when running sshd in a multi user environment.
> >
> >  -Code execution in the context of an other user
> >  -Denial of service by overwriting the shared memory segments
> >   of cygwin
> >  -Data disclosure about processes of an other user by reading
> >   shared memory segments
> >  -Other security issues
>
> We're not aware of security implications, but we don't give any
> guarantee either and there's no such thing as a security survey
> for Cygwin.  If that's not sufficient for your company, feel
> free to contact Red Hat for a support contract which could cover
> are more detailed analysis, http://www.redhat.com/software/cygwin/
>

This is a little old, but I've updated
http://cygwin.com/cygwin-ug-net/highlights.html#ov-hi-perm
with the following (important bits from
http://cygwin.com/faq/faq.api.html#faq.api.secure ):


Under Windows NT, users with Administrator rights are permitted to
chown files. With version 1.1.3 Cygwin introduced a mechanism for
setting real and effective UIDs under Windows NT/W2K. This is
described in the section called "NT security and usage of ntsec". As
of version 1.5.13, the Cygwin developers are not aware of any feature
in the Cygwin DLL that would allow users to gain privileges or to
access objects to which they have no rights under Windows. However
there is no guarantee that Cygwin is as secure as the Windows it runs
on. Cygwin processes share some variables and are thus easier targets
of denial of service type of attacks.


--
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: clean_setup.pl website disappeared ? does anyine have the latest and greates clean_setup.pl version?

2006-01-25 Thread Joshua Daniel Franklin
On 1/21/06, Igor Peshansky  wrote:
> On Sat, 21 Jan 2006, Cliff Hones wrote:
>
> > Urs Rau wrote:
> > > So, if anybody does have version 1.0700 (or newer) please let me know.
> >
> > I have a copy, which I shall mail you.
> >
> > Is there any interest in putting this somewhere more permanent?
>
> Like the cygwin-apps cvs repository?

If this gets done, let us know the link and I'll correct the FAQ.

--
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: Please assist with details regarding uninstalling [Attn FAQ maintainer]

2006-01-25 Thread Joshua Daniel Franklin
On 1/23/06, Joshua Daniel Franklin wrote:
> On 1/23/06, Eric Blake wrote:
> > We need to get the ideas from this thread into the FAQ on uninstalling
> > cygwin.  Also, add a mention that inetd is a potential cygwin service -
> > since it can run without the assistance of cygrunsrv, it might not show up
> > in 'cygrunsrv -L', but you CAN delete it with 'cygrunsrv --stop inetd;
> > cygrunsrv --remove inetd'.
>
> I'll add a new "How Do I Uninstall Cygwin Services?" and then a reference
> to it in the uninstall-all FAQ.

Done

http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-service

--
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: help with cygwin uninstall (RTFM'd unsuccessfully)

2006-01-25 Thread Joshua Daniel Franklin
On 1/25/06, Larry Hall (Cygwin)  wrote:
> Banibrata Dutta wrote:
> > Hi,
> >
> > Having RTFM'd the FAQ & User's Guide, doing this post.
> >
> > I want to uninstall Cygwin completely (and then intend to do a fresh
> > install). So here are questions :-
> >
> > 1) How to find out what are the Cygwin specific "services" that are 
> > installed ?
>
>
> Perhaps a browse of the email archives would be helpful here.  Looking at even
> the last few days unearths:
>
> 

You beat me by hours!

http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-service

--
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: Building Cygwin from CVS

2006-01-25 Thread Joshua Daniel Franklin
On 1/20/06, Brian Dessent wrote:
> Joshua Daniel Franklin wrote:
>
> > gcc make binutils cocom dejagnu
>
> gcc depends on binutils, so there's no need to list it as requirement.
> Perl is used in the build process as well.
>
> http://cygwin.com/ml/cygwin/2005-01/msg01266.html

Thanks Brian, I think I saved that email somewhere since it was
informative, but never acted on it. :(

I've added this info to
http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin
and I'd like to put it in a winsup/README file but didn't want
to touch the top-level without some discussion. Does that sound OK to do?

--
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: Please assist with details regarding uninstalling [Attn FAQ maintainer]

2006-01-23 Thread Joshua Daniel Franklin
On 1/23/06, Eric Blake wrote:
> According to Brian Dessent on 1/22/2006 8:56 PM:
> >
> >>A.  How do I tell what services I have installed?
>
> > Nevertheless, the command "cygrunsrv -L" should give you a list of all
> > installed Cygwin services.  (Note that this -L functionality of
> > cygrunsrv did not exist at the time that the above FAQ entry was
> > written, otherwise it would have been mentioned there.)  If cygrunsrv -L
> > does not list anything, then you probably have nothing to stop or
> > remove.
>
> We need to get the ideas from this thread into the FAQ on uninstalling
> cygwin.  Also, add a mention that inetd is a potential cygwin service -
> since it can run without the assistance of cygrunsrv, it might not show up
> in 'cygrunsrv -L', but you CAN delete it with 'cygrunsrv --stop inetd;
> cygrunsrv --remove inetd'.

I'll add a new "How Do I Uninstall Cygwin Services?" and then a reference
to it in the uninstall-all FAQ.

--
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: Downloading Cygwin under Linux ....

2006-01-20 Thread Joshua Daniel Franklin
On 1/20/06, Jan Nieuwenhuizen wrote:
> $ cyg-apt install lilypond
> to install:
> libXft1 libXft2 ghostscript-base libreadline6 findutils xorg-x11-bin pcre 
> pango-runtime libncurses8 glib2-runtime pcre-doc libintl fontconfig 
> xorg-x11-base xorg-x11-fnts openssl097 python xterm X-startup-scripts 
> xorg-x11-libs-data libncurses7 pango libpng12 xorg-x11-etc ghostscript 
> libguile12 freetype2 xorg-x11-bin-lndir zlib libfreetype26 terminfo 
> libfontconfig1 termcap pcre-devel tar expat xorg-x11-fenc texinfo 
> xorg-x11-xwin mktemp bzip2 crypt gettext coreutils libgdbm3 tcltk libintl1 
> libintl2 libintl3 run libbz2_1 libpcre0 xorg-x11-bin-dlls libiconv2 cygwin 
> bash libXft diffutils openssl lilypond libdb4.2 _update-info-dir gzip glib2 
> base-passwd
> ...

Jan, cyg-apt appears to be able to install packages on Cygwin as well as Linux.
Do you know if it has regularly been used in such a manner? The biggest concern
would be that if running under Cygwin it would not be able to install
cygwin1.dll.
While setup.exe is the only supported way of installing packages on Cygwin,
I would like to add this information to the FAQ as another option for users who
cannot use setup.exe to select packages (linux or blindness have come up several
times).

--
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: Building Cygwin from CVS

2006-01-19 Thread Joshua Daniel Franklin
On 1/18/06, Cliff Hones  wrote:
> It's rather a long time since I tried building my own cygwin from CVS.  With
> the new release out, I thought I'd give it a try, as I imagine HEAD is very
> close to 1.5.19-2.  I followed the instructions in the FAQ:
> http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin
>
> A few comments:
>
>   . It would be useful to mention in the FAQ which packages need to be 
> installed
> to perform the build.  I expect everyone will realise make, gcc, binutils 
> etc.
> are required, but I found I needed cocom (for shilka) which I'd not come 
> across
> before, and dejagnu in order to run the tests.

I think I'd tried to come up with a list before but never figured it
out since I'd
long ago installed what was needed. Is this a complete enough list?

gcc make binutils cocom dejagnu

This might even be worth adding to a winsup/README file.

>   . The FAQ info describing how to run the tests is wrong.  It worked for
> me when I ran "make check" in the i686-pc-cygwin/winsup subdirectory of
> my build directory.

OK, I'll fix that.

--
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: [PATCH] Proposed clarification of the snapshot installation FAQ

2006-01-18 Thread Joshua Daniel Franklin
On 1/13/06, Yitzchak Scott-Thoennes wrote:
> > It would be nice to have a sample batch file that automated
> > the cygwin1.dll replacement, too.
>
> I've prettied up a batch file I use for installing cygwin-inst-*
> snapshots, and added stuff to handle spacey pathnames and inetd (which
> AIUI isn't always a cygrunsrv service), neither of which I personally
> use.
>
> Just drag and drop the tarball onto the batch file, or run with
> absolute tarball name as argument via a dos prompt.

This batch file worked great for me on XP. The only issue I see is
that if someone
set their cygrunsrv or inetd to "Manual" this would actually start it
up. I can put
a note to that effect.

Any objections to putting this up at
http://cygwin.com/faq/faq.setup.html#faq.setup.snapshots
?

--
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: "Bad system call" error FAQ alert? (Was Re: Fatal error when trying to initialise PostgreSQL in cygwin)

2006-01-13 Thread Joshua Daniel Franklin
On 1/13/06, Igor Peshansky wrote:
> On Fri, 13 Jan 2006, Corinna Vinschen wrote:
>
> > On Jan 13 12:44, Adrian Maier wrote:
> > > /usr/bin/initdb: line 564:  3312 Bad system call 
> > > "$PGPATH"/postgres
> >
> > Did you read /usr/share/doc/Cygwin/postgresql-8.0.4.README?
>
> I wonder if this has become sufficiently frequent to merit addition to the
> FAQ.  I've seen this question in various forms at least 4 times in the
> past three months (with two of those relating to PostgreSQL)...

It's a good idea. Anyone want to suggest some wording?

--
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: Errors building the FAQ/User's Guide (Attn: xmlto maintainer)?

2006-01-12 Thread Joshua Daniel Franklin
On 1/12/06, Igor Peshansky  wrote:
> On Thu, 12 Jan 2006, Joshua Daniel Franklin wrote:
> > I build everything but the PDFs on Cygwin. Is your issue related to
> > http://www.cygwin.com/ml/cygwin-apps/2005-10/msg00065.html
> > I.e., you have docbook-xml42 installed? It might help to send info as at
> > http://www.cygwin.com/problems.html
>
> And indeed it was.  Installing the various docbook-xml* packages let me
> build off the net without hacking xmlto.  Thanks.  I could've sworn I took
> care of it back in October, but looks like it slipped through the cracks.
>
> There might still be utility in controlling whether or not the build is
> network-aware via xmlto parameters (at the moment, there is no way to turn
> off the --nonet option).  I should submit a feature request at some point.

Might be an upstream issue, too. I haven't looked at the Cygwin-specific
xmlto patches if there are any.

> Did you happen to take a look at the FAQ rewording I proposed
> (<http://cygwin.com/ml/cygwin-patches/2006-q1/msg00016.html>)?  Was
> cygwin-patches the correct list for it, or should it have been sent here?

That was the right place, I'm just a little behind. I've applied it.

--
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: Errors building the FAQ/User's Guide (Attn: xmlto maintainer)?

2006-01-12 Thread Joshua Daniel Franklin
On 1/11/06, Igor Peshansky wrote:
> Hi,
>
> I believe I'm up-to-date with xmlto and DocBook on Cygwin.  Still, I was
> unable to build either the user's guide or the FAQ from sources.  Part of
> the problem was a bug in doctool.c (for which I'll send a patch to
> cygwin-patches shortly).  However, even with that bug fixed, I got the
> following error:
>
> I/O error : Attempt to load network entity 
> http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
> /usr/src/cygwin-cvs/build/i686-pc-cygwin/winsup/doc/cygwin-ug-net.sgml:3: 
> warning: failed to load external entity 
> "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";
> "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd";[]>
>^
> (with a bunch of other errors about undefined entities, which, I believe,
> followed from the above).
>
> I traced this down to the /usr/bin/xmlto, which invokes xsltproc with the
> --nonet option.  A question to the xmlto maintainer: is there a particular
> reason this option is being used?
>
> Obviously somebody was able to successfully build the FAQ and User's
> guide.  Was this using Cygwin?  If so, what versions of xmlto and the
> various DocBook packages were used?

I build everything but the PDFs on Cygwin. Is your issue related to
http://www.cygwin.com/ml/cygwin-apps/2005-10/msg00065.html
I.e., you have docbook-xml42 installed? It might help to send info as at
http://www.cygwin.com/problems.html

--
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: Cygwin FAQ for NT Emacs

2005-12-03 Thread Joshua Daniel Franklin
On 11/24/05, Lennart Borgman wrote:
> I think the little correction suggested here never got done for some reason:
>
> http://lists.gnu.org/archive/html/help-emacs-windows/2002-05/msg00079.html

Thanks, the extra line is now gone from

http://cygwin.com/faq/faq.using.html#faq.using.emacs

--
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: Folder ftp%3a%2f%2fftp.sunsite.utk.edu%2fpub%2fcygwin remains after install (FAQ alert)

2005-12-03 Thread Joshua Daniel Franklin
On 11/26/05, Joshua Daniel Franklin <[EMAIL PROTECTED]> wrote:
> On 11/22/05, Igor Pechtchanski wrote:
> > > The script you're thinking of is Michael A. Chase's clean_setup.pl.
> > > Unfortunately, Googling for it mostly turns up references to it in the
> > > mailing list archives, and the actual site comes up only at the bottom of
> > > the page.  It would be nice if there was a link to this script in the FAQ
> > > somewhere.
> >
> > Gaah, I forgot to include the link to the script:
> > <http://home.ix.netcom.com/~mchase/zip/>.
>
> I'll try to get to this after the holiday weekend.
>

It's now live at
http://cygwin.com/faq/faq.setup.html#faq.setup.disk-space

--
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: Folder ftp%3a%2f%2fftp.sunsite.utk.edu%2fpub%2fcygwin remains after install (FAQ alert)

2005-11-26 Thread Joshua Daniel Franklin
On 11/22/05, Igor Pechtchanski wrote:
> > The script you're thinking of is Michael A. Chase's clean_setup.pl.
> > Unfortunately, Googling for it mostly turns up references to it in the
> > mailing list archives, and the actual site comes up only at the bottom of
> > the page.  It would be nice if there was a link to this script in the FAQ
> > somewhere.
>
> Gaah, I forgot to include the link to the script:
> .

I'll try to get to this after the holiday weekend.

--
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/



[ANNOUNCEMENT] cygwin-doc-1.4-3 released

2005-10-05 Thread Joshua Daniel Franklin
An updated version of cygwin-doc is now available. It includes
Cygwin and newlib documentation in formats such as man, texinfo,
HTML, and PDF.

This is a normal incremental release to sync with the latest CVS, with
a few minor changes:
--the FAQ is now in the same style as the User's Guide
--the intro(1) man page no longer lists "ash" as /bin/sh (like most
Linux distributions, Cygwin now uses "bash" as /bin/sh)

To update your installation, click on the "Install Cygwin now" link on
the  web page.  This downloads setup.exe to your
system.  Once you've downloaded setup.exe, run it and click "Next"
madly until you get to the end of the updating process.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

<[EMAIL PROTECTED]>

If you need more information on unsubscribing, start reading here:



--
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: Does Cygwin support latex ?

2005-10-01 Thread Joshua Daniel Franklin
On 10/1/05, Aaron Gray wrote:
> Does Cygwin have latex or do I use tex ?

I don't believe latex2html is available in the tetex-latex package,
and I think the server hosting the cygwin mailing lists is down for
maintainance right now, but these links should get you started:

http://www2.atwiki.jp/ccw/pages/15.html
(Ignore the text if you don't read Japanese.)



The last one was found by googling "cygwin latex2html 2004"

--
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: Setup error: "URL Scheme not registered!

2005-09-30 Thread Joshua Daniel Franklin
On 9/30/05, Arthur I Schwarz wrote:
[snip]
> You can expect no support. You will, after a short while, start to
> receive sarcastic comments from the developers. You will be blamed
> for your problem. You will be directed to information of no value
> in determining what is wrong. The only recourse seems to be a complete
> rebuild.
[snip]

I'm afraid that the main challenge in fixed alleged problems in Cygwin
is not giving you information, but in getting information (exact steps,
logs, etc.) to determine what when wrong. That is why the instructions
at http://cygwin.com/problems.html exist. If you are having so much
trouble installing, you might try one of the live-cd approaches which
are referenced at:

http://cygwin.com/faq/faq.setup.html#faq.setup.cd

(I have not used any myself, but others like them.)

Hope it helps.

--
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: Setup error: "URL Scheme not registered!"

2005-09-29 Thread Joshua Daniel Franklin
On 9/24/05, wrote:
> I'm setting up Cygwin. I downloaded files to one machine, and I want
> to install over the network to another machine (I don't have enough
> space for both the pre- and post-install files on the target machine).
> However, when I run setup on the other machine, as soon as it starts
> copying files, I get this error:
>
> Fatal Error: Uncaught Exception
> Thread: install
> Type: St16invalid_argument
> Message: URL Scheme not registered!
>
> I Googled for previous information about this. It seems that I needed
> to move the setup.ini file aside. I tried this, but that wipes out the
> list of packages when I re-run setup.exe. What gives? Thanks in
> advance for any help.

You really haven't provided much information here. What are the options
you choose with setup.exe? What does your network path look like
(\\server\share\ or X:\)? Is there anything else in setup.log? See

http://cygwin.com/faq/faq.setup.html#faq.setup.setup-fails

--
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: FAQ Notes

2005-09-26 Thread Joshua Daniel Franklin
On 9/26/05, Corinna Vinschen wrote:
> On Sep 26 09:35, Christopher Faylor wrote:
> > On Mon, Sep 26, 2005 at 12:47:28PM +0200, Corinna Vinschen wrote:
> > >...Cygwin is also supported in the 32 bit environment WOW64 on 64 bit
> > >versions of Windows XP and 2K3, but that there are no plans to create a
> > >native 64 bit version of Cygwin.
> >
> > OTOH, I'm sure there are interested parties around who are willing to
> > undertake this task for the correct amount of $.
>
> So far, the right amount of $ kept potential customers from asking
> twice, but otherwise, sure, you're right.

Anyone want to suggest some language for this?

Also, should the Cygwin license be available in the distribution, maybe
in /usr/share/doc/ ?

--
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: FAQ Notes

2005-09-25 Thread Joshua Daniel Franklin
On 9/25/05, Christopher Faylor wrote:
> I has been brought to my attention that the Copyright section in the FAQ
> are attempting to paraphrase the words at http://cygwin.com/licensing.html .

Done, turned http://cygwin.com/faq/faq.copyright.html#faq.what.copyright
into a link, and http://cygwin.com/faq/faq.html#faq.what.supported now reads:

Cygwin can be expected to run on all modern 32 bit versions of
Windows, except Windows CE. This includes Windows 95/98/ME/NT/2000/XP.
Since Cygwin is a community-supported free software project, patches
to provide support for other versions would be thoughtfully
considered. Paid support is available through a support contract with
Red Hat. For information about getting a Red Hat support contract, see
http://cygwin.com/license.html.

Keep in mind that Cygwin can only do as much as the underlying OS
supports. Because of this, Cygwin will behave differently, and exhibit
different limitations, on the various versions of Windows.

--
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: [EMAIL PROTECTED]: [EMAIL PROTECTED] Broken links] (in the FAQ)

2005-09-17 Thread Joshua Daniel Franklin
That's the old texinfo version of the FAQ, but since it's still being used
I did an update to fix the broken links.

On 9/17/05, Christopher Faylor wrote:
> I could have sworn that I fixed these not too long ago.
> 
> Joshua, could you fix these?
> 
> cgf
> 
> - Forwarded message from Paul Watson -
> 
> From: Paul Watson
> To: webmaster
> Subject: [webmaster] Broken links
> Date: Fri, 16 Sep 2005 12:42:50 -0600
> 
> Some links on the historical information page
> 
> http://www.cygwin.com/faq/faq_1.html
> 
> are broken.
> 
> http://www.redhat.com/software/tools/cygwin/
> http://www.fsf.org/manual/
> http://www.fsf.org/server/list-mirrors.html
> 
> - End forwarded message -

--
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: Documentation on functions

2005-09-16 Thread Joshua Daniel Franklin
On 9/15/05, Siegfried Heintze wrote:
> In other words, is the process of submitting documentation documented? Does
> one use the GNU texi or SGML docbook or some other format? I've been curious
> about these tools for years but have never used them.

It depends on what you're documenting. As Eric noted, for libc functions you
submit a patch to the newlib mailing list and then it trickles into Cygwin via
my cygwin-doc package. For the Cygwin-specific functions, the documentation
is in the Cygwin CVS  and is written in 
XML DocBook. Unfortunately there have been no updates to this documentation
in a long time, I would love to see more. (And, if you want to learn more about
DocBook, I recommend the in-progress Fedora Documentation Guide
 --obviously
there are differences in Cygwin specifics but introduction to the tools and 
the parts about the tags and style are very helpful.)
 
> Is it a simple matter of cutting and pasting from linux (e.g. fedora) man
> pages or does one have to go to the source code and extract the copious
> comments there and just reformat them into man pages?

As others have noted, Cygwin usually tries for POSIX conformance so the
Linux man pages are usually good enough but might disagree at times. 
I suppose I should build some sort of placeholder man pages pointing to
the POSIX website. 

Anybody want to write a script to do it?

--
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: mount -X and FAQ [Attn: FAQ Maintainer, tcl maintainer]

2005-09-16 Thread Joshua Daniel Franklin
On 9/16/05, Christopher Faylor wrote:
> On Fri, Sep 16, 2005 at 01:22:10PM -0700, Joshua Daniel Franklin wrote:
> >On 9/16/05, Eric Blake wrote:
> >> According to Williams, Gerald S (Jerry) on 9/15/2005 10:48 AM:
> >> > The FAQ (http://www.cygwin.com/faq/faq_3.html) mentions
> >> > using this idiom for strace and cygcheck, but not for
> >> > Tcl/Tk. Perhaps these should be noted as well?
> >>
> >> Now that strace and cygcheck work in without having to explicitly mount
> >> them non-cygexec, the FAQ needs updating anyways.
> >
> >OK. Maybe I'll take a stab at creating a script to find exe's in /bin/
> >not linked to cygwin1.dll and put that in the FAQ instead.
> 
> Hooboy.  Now you've done it.
> 
>   #!/bin/sh
>   cd /bin; for f in `find . -type f -name '*.exe'`; do
>   cygcheck $f | (fgrep -qi cygwin1.dll || echo $f)
>   done
> 
> Should do it.  You can use this or one of the 27 variations on this
> that are sure to follow.

I'll have to try it when I'm at a Windows machine... but would it be
faster to use xargs? :)

--
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: mount -X and FAQ [Attn: FAQ Maintainer, tcl maintainer]

2005-09-16 Thread Joshua Daniel Franklin
On 9/16/05, Eric Blake wrote:
> According to Williams, Gerald S (Jerry) on 9/15/2005 10:48 AM:
> > The FAQ (http://www.cygwin.com/faq/faq_3.html) mentions
> > using this idiom for strace and cygcheck, but not for
> > Tcl/Tk. Perhaps these should be noted as well?
> 
> Now that strace and cygcheck work in without having to explicitly mount
> them non-cygexec, the FAQ needs updating anyways.  

OK. Maybe I'll take a stab at creating a script to find exe's in /bin/
not linked to cygwin1.dll and put that in the FAQ instead.

--
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: Proposed FAQ in DocBook

2005-08-29 Thread Joshua Daniel Franklin
On 8/29/05, Igor Pechtchanski  wrote:
> > Well, I didn't figure out how to do it in DocBook, but it was no
> > problem with sed:
> >
> > sed -i 's;;;g' faq/faq*.html
> 
> BTW, I don't think I saw the "id\d+" form of reference ever used in the
> FAQ, but just in case, to fully preserve the prior functionality (i.e.,
> allow references to those anchor forms), you could use something like
> 
> sed -i 's;; id="\2">;g' faq/faq*.html

Yeah, by default DocBook automatically generates the id* anchors, but it's only 
supposed to when you don't define id yourself, so I think this is a
bug with the
qandaentry processing code. I didn't need them so I discarded them on purpose.

--
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: crontab (Attn: FAQ maintainer)

2005-08-26 Thread Joshua Daniel Franklin
On 8/26/05, Brian Dessent wrote:
> Igor Pechtchanski wrote:
> 
> > > All done:
> > >
> > > http://cygwin.com/faq/faq.using.html#faq.using.shares
> >
> > Looks good.  I also noticed that you got rid of numeric anchors, which
> > fixed the FAQ browsing in Netscape for me.  Thanks!
> 
> Could you perhaps add to the list of workarounds calling 'net use' and
> specifying the password to mount the share to a drive?

Good point, I've done that:

http://cygwin.com/faq/faq.using.html#faq.using.shares

--
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: Proposed FAQ in DocBook

2005-08-26 Thread Joshua Daniel Franklin
On 8/18/05, Joshua Daniel Franklin wrote:
> On 8/18/05, Igor Pechtchanski wrote:
> > On Thu, 18 Aug 2005, Joshua Daniel Franklin wrote:
> > > On 8/18/05, Igor Pechtchanski wrote:
> > > > Heh, this is the first time I accessed the FAQ after the switch, and
> > > > the direct question links don't work.
> > >
> > > What version of Netscape, so I can attempt to reproduce?
> >
> > 4.72 (don't laugh, I still use it occasionally).

Well, I didn't figure out how to do it in DocBook, but it was no
problem with sed:

sed -i 's;;;g' faq/faq*.html

Hopefully in the meantime you were able to make do with a more advanced
browser such as lynx. :)

--
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: Broken link at http://cygwin.com/faq.html

2005-08-26 Thread Joshua Daniel Franklin
On 8/19/05, Christopher Faylor wrote:
> On Fri, Aug 19, 2005 at 04:26:51AM -0700, Joshua Daniel Franklin wrote:
> >On 8/19/05, Gerald Pfeifer wrote:
> >> http://cygwin.com/faq.html has one (I believe actually more than one)
> >> link to http://www.redhat.com/software/tools/cygwin/ which is broken.
> >>
> >> I don't have the current URL at redhat.com, but thought you might want
> >> to know; it's kind of critical, since that's the pointer to the license
> >> information for non-GPL use.
> >
> >Thanks, it looks like it's
> >http://www.redhat.com/software/cygwin/
> >
> >I'll update this weekend.
> 
> Please just update the FAQ to point to http://cygwin.com/license.html .
> There is no need to keep this information in two places.
> 
> I think that this is a good rule to follow, in general.  The FAQ
> shouldn't be summarizing or paraphrasing information that is available
> elsewhere; it should be just pointing to the information.  IIRC, the FAQ
> also has advice on how to post to the cygwin mailing lists which is
> covered by http://cygwin.com/lists.html and
> http://cygwin.com/problems.html .

All done.

http://cygwin.com/faq/faq.resources.html

--
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: crontab (Attn: FAQ maintainer)

2005-08-26 Thread Joshua Daniel Franklin
On 8/26/05, Igor Pechtchanski wrote:
> On Fri, 26 Aug 2005, Joshua Daniel Franklin wrote:
> 
> > On 8/26/05, Igor Pechtchanski wrote:
> > > On Fri, 26 Aug 2005, Brian Dessent wrote:
> > >
> > > > The answer is in the link that Igor gave you.  This FAQ perhaps should
> > > > be split up into two questions, or at least be made more clear that
> > > > there are two problems being addressed in the answer.
> > >
> > > FWIW, I second this suggestion.  Joshua, can we have two questions: "Why
> > > don't Cygwin services work?" and "Why can't Cygwin services access network
> > > shares?" instead of the combined one?
> >
> > Now that it's in DocBook, it would be a pleasure. :)
> >
> > > > The first part about user/system mounts is not your problem.  Read the
> > > > second part of the answer, and read the 'ntsec' part of the manual for
> > > > the full explanation.
> > > ---
> > > > When cron runs your job, it is running as SYSTEM impersonating the user
> > > > account that owns the crontab.  During impersonation, the user's
> > > > password is not available and so non-public network shares are not
> > > > available.
> > > ---
> > > Now, the marked part above, IMO, looks good enough to put almost verbatim
> > > into the second question.  Opinions?
> >
> > Sure. I'll probably leave in the link to using-ntsec.html
> 
> Yes, that's what I meant, in addition to what's already there about ntsec
> (basically everything after the code section).

All done:

http://cygwin.com/faq/faq.using.html#faq.using.shares

--
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: crontab (Attn: FAQ maintainer)

2005-08-26 Thread Joshua Daniel Franklin
On 8/26/05, Igor Pechtchanski wrote:
> On Fri, 26 Aug 2005, Brian Dessent wrote:
> 
> > The answer is in the link that Igor gave you.  This FAQ perhaps should
> > be split up into two questions, or at least be made more clear that
> > there are two problems being addressed in the answer.
> 
> FWIW, I second this suggestion.  Joshua, can we have two questions: "Why
> don't Cygwin services work?" and "Why can't Cygwin services access network
> shares?" instead of the combined one?

Now that it's in DocBook, it would be a pleasure. :)
 
> > The first part about user/system mounts is not your problem.  Read the
> > second part of the answer, and read the 'ntsec' part of the manual for
> > the full explanation.
> ---
> > When cron runs your job, it is running as SYSTEM impersonating the user
> > account that owns the crontab.  During impersonation, the user's
> > password is not available and so non-public network shares are not
> > available.
> ---
> Now, the marked part above, IMO, looks good enough to put almost verbatim
> into the second question.  Opinions?

Sure. I'll probably leave in the link to using-ntsec.html

--
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: Broken link at http://cygwin.com/faq.html

2005-08-19 Thread Joshua Daniel Franklin
On 8/19/05, Gerald Pfeifer wrote:
> http://cygwin.com/faq.html has one (I believe actually more than one)
> link to http://www.redhat.com/software/tools/cygwin/ which is broken.
> 
> I don't have the current URL at redhat.com, but thought you might want
> to know; it's kind of critical, since that's the pointer to the license
> information for non-GPL use.

Thanks, it looks like it's 
http://www.redhat.com/software/cygwin/

I'll update this weekend.

--
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: Proposed FAQ in DocBook

2005-08-18 Thread Joshua Daniel Franklin
On 8/18/05, Igor Pechtchanski wrote:
> On Thu, 18 Aug 2005, Joshua Daniel Franklin wrote:
> 
> > On 8/18/05, Igor Pechtchanski wrote:
> > > Heh, this is the first time I accessed the FAQ after the switch, and
> > > the direct question links don't work. :-( I think the presence of the
> > > id= attribute and the name= attribute *in different  tags* confuses
> > > the older Netscape that I use.  I just checked, and combining them
> > > into one tag fixes the problem.  Is there a way to convince DocBook to
> > > do that?
> >
> > What version of Netscape, so I can attempt to reproduce?
> 
> 4.72 (don't laugh, I still use it occasionally).
> 
> > Also, do both the one- and multi-file versions fail for you?
> 
> Both.
> 
> > I'm not sure what you mean by "id=" maybe it's stuff like this:
> >
> > 
> 
> Yes, that's exactly what I meant (for some reason, I misread the second
> name= attribute as an id= attribute, sorry).  FWIW, changing the above to
> 
> 
> 
> makes the named link work in my version of Netscape, while not breaking it
> for either IE or FireFox.
> 
> Switching the anchors around also makes the named links work (at the
> expense of the id ones, but who uses those?):
> 
> 
> 
> As I understand it, DocBook is an XSLT stylesheet, right?  Do you know
> off-hand how to convince it to do either of the above two changes?  If
> not, I'll take a look and try to submit a patch...

I think we might want to use this:

<http://docbook.sourceforge.net/release/xsl/current/doc/html/generate.id.attributes.html>

Unfortunately it doesn't work. :(
Feel free to take a look.

--
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: Proposed FAQ in DocBook

2005-08-18 Thread Joshua Daniel Franklin
On 8/18/05, Igor Pechtchanski wrote:
> On Fri, 5 Aug 2005, Joshua Daniel Franklin wrote:
> 
> > On 8/3/05, Joshua Daniel Franklin wrote:
> > > I'm tired of tip-toeing around the texinfo source for the FAQ just to make
> > > sure links to the numbered questions work, so I've converted the source
> > > to DocBook and put up preliminary versions:
> >
> > All done! Everyone update their Cygwin FAQ bookmarks with new, somewhat
> > meaningful ones!
> 
> Heh, this is the first time I accessed the FAQ after the switch, and the
> direct question links don't work. :-( I think the presence of the id=
> attribute and the name= attribute *in different  tags* confuses the
> older Netscape that I use.  I just checked, and combining them into one
> tag fixes the problem.  Is there a way to convince DocBook to do that?

What version of Netscape, so I can attempt to reproduce?
Also, do both the one- and multi-file versions fail for you? 

I'm not sure what you mean by "id=" maybe it's stuff like this:



--
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: How to make a mirro fo cygwin.com

2005-08-11 Thread Joshua Daniel Franklin
On 8/11/05, Dave Korn wrote:
> Original Message
> >From: Taufik Suryawan Edyna
> >Sent: 11 August 2005 11:23
> 
> > Hello,
> >
> > We are from Gadjah Mada University Indonesia want to make a mirror
> > cygwin.com website.
> > Can you tell us how to do that ?
> >
> 
> http://sources.redhat.com/cygwin-apps/package-server.html


Of course, if you just want a complete mirror rsync would probably be a 
simpler option. However, I believe setup.exe always contacts the real 
cygwin.com for setup.bz2 unless you fool DNS.

--
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: Is the Cygwin installation process likely to change significantly anytime soon?

2005-08-07 Thread Joshua Daniel Franklin
On 8/6/05, Jonathan Turkanis wrote:
> Christopher Faylor wrote:
> > I'd prefer
> > something like "can be a little complicated depending on what you're trying
> > to install".
> 
> I think I can live with this as long as the sentence ends after the word
> "complicated." To me, the package selection process is counter-intuitive
> regardless of how much or how little I'm trying to install.

It's not complicated to get a minimal install--just click Next as fast as 
you can.

--
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: pid confusion and pstree

2005-08-06 Thread Joshua Daniel Franklin
On 8/4/05, Jason Pyeron wrote:
> hmmm? why are there zeros on the PGID, and why when using -W does PID
> change to WINPID? BUG?

Actually, I don't know if this is a bug or a documentation shortcoming.
From looking at the source, it looks like cygwin returns the same 
number for p->pid and p->dwProcessId when using CW_GETPINFO_FULL.
Shouldn't p->pid still be the Cygwin pid if it exists?

I tried looking at external.cc and it made my head hurt, but I *think* this
would do it (sorry, no time to build right now):

RCS file: /cvs/src/src/winsup/cygwin/external.cc,v
retrieving revision 1.77
diff -r1.77 external.cc
77c77,79
< ep.pid = p->pid;
---
> ep.pid = cygwin_pid (thispid);
> if (!ep.pid)
>   ep.pid = p->pid;

--
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: building a cross compiling cygwin gcc on linux

2005-08-06 Thread Joshua Daniel Franklin
On 8/4/05, Michael Richardson wrote:
> Ironically, if you google for "cygwin cross compiler linux"
> (including the quotes), you only get Christopher Faylor's post telling
> everyone that you should google for that :-)

I'm not sure why it's not higher on the search results, but
Harold wrote a pretty good guide:

http://x.cygwin.com/docs/cg/prog-build-cross.html

He suggests copying over headers and libraries, but 
they are obviously available in cygwin packages, too.

--
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: Proposed FAQ in DocBook

2005-08-05 Thread Joshua Daniel Franklin
On 8/3/05, Joshua Daniel Franklin wrote:
> I'm tired of tip-toeing around the texinfo source for the FAQ just to make
> sure links to the numbered questions work, so I've converted the source
> to DocBook and put up preliminary versions:


All done! Everyone update their Cygwin FAQ bookmarks with new, somewhat 
meaningful ones!

--
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: gz files in man folders

2005-08-05 Thread Joshua Daniel Franklin
On 8/5/05, Eric Blake wrote:
> According to James McLaughlin on 8/5/2005 5:41 AM:
> > While trying to find the file containing the man
> > information for g++ (which I succeeded in doing), I
> > noticed that in various subfolders of
> > c:\cygwin\share\man (in particular man1 and man3) a
> > lot of the .1 and .3 (and.something else for the other
> > subfolders) files were gzipped. This surprised me as
> > they were pretty small files.
> 
> For files under 1k, zipping doesn't save any disk space (disk space is
> used a block at a time, whether you use the entire block or not), and
> wastes CPU cycles as it spawns the extra processes to unzip it.  But for
> some man pages, the zipping is an improvement in filesize

I guess it depends on your definition of "pretty small files" since the
g++ manpage in question is 127k gzipped (nearly 500k uncompressed).
If you have most everything installed we're still probably talking about
less than 100M of disk savings, but it's better than nothing--especially
on old machines like my laptop with a 1.5G disk. :)

--
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: Timezone names

2005-08-05 Thread Joshua Daniel Franklin
On 8/4/05, Cliff Hones wrote:
> I was curious as to why, under Cygwin, the default UK timezone
> names (eg as displayed by "date") are different from the standard
> names.  [Standard UK names are GMT and BST, while Cygwin displays
> GMTST and GMTDT.]  So I did some source digging.  Forgive me if the
> following info is already readily available - but I couldn't find
> it.  Note that the Cygwin FAQ admits to being out of date:
>http://cygwin.com/faq/faq_3.html#SEC85


Thanks, Cliff! Do you mind if I use this for the new FAQ text?


> Cygwin does not use the Newlib version of tzset - there is a
> Cygwin-specific implementation in localtime.cc.  Unlike the
> Newlib tzset, if environment TZ is not set, the Cygwin version
> uses Windows API GetTimeZoneInformation.  The timezone names
> as seen by Cygwin are set using just the the capital letters in
> the Windows timezone names  (which, for the UK, are "GMT Standard Time"
> and "GMT Daylight Time").
> 
> Of course, this affets other timezones too; most US zones translate
> to their standard names, but Central America will generate CAST/CADT
> rather than CST/CDT.
> 
> To get the more standard names, one can, of course, set the
> TZ environment variable explicitly (eg to "GMT0BST").  There is
> logic to complement the TZ setting info with default info from
> built in posixrules, but it's not clear to me if this will set the
> daylight saving on/off points correctly.  An alternative solution,
> which will use the Windows daylight saving info as before is to
> update the Windows timezone database directly.  I believe there is
> a "tzedit" tool to do this in Windows resource kits, but it is easy
> to do using the registry [ok, I know this is frowned on].  The timezone
> names (in NT/2K/XP) are in
>HKLM\Software\Microsoft\Windows NT\Current Version\TimeZones\
> (eg ..\GMT Standard Time for UK).
> The keys "Std" and "Dlt" specify the zone names - I changed mine to
> be "Greenwich Mean Time" and "British Summer Time".  After the change,
> to make it effective, use the Windows "Adjust Date/Time" dialog to reselect
> your timezone.
> 
> OBLIGATORY WARNING - Do not modify registry settings unless you are confident
> you know what you are doing, and know how to restore previous settings if
> your system subsequently malfunctions.
> 
> A possibly better solution, one day, would be for the "localtime" 
> implementation
> to be implemented for Cygwin, with zone files in /usr/share/zoneinfo.
> 
> -- Cliff
> 
> 
> --
> 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/
> 
>

--
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: pid confusion and pstree (Attn: User's Guide maintainer)

2005-08-04 Thread Joshua Daniel Franklin
On 8/4/05, Igor Pechtchanski wrote:
> P.S. Note to the UG maintainer: Joshua, there's a typo in the description
> of "ps" on the above referenced page: "synonomous" should be "synonymous".

Nice catch, it will be in the next refresh.

--
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: Proposed FAQ in DocBook

2005-08-04 Thread Joshua Daniel Franklin
On 8/4/05, Larry Hall wrote:
> At 11:13 AM 8/4/2005, you wrote:
> >Yes, as noted they're in the HTML in  tags..., converted from
> >DocBook's id="..." There will of course be a Table of Contents with links so
> >you don't have to look at the HTML to determine this.
> 
> Ah, OK.  That's what I was looking for.  I just didn't see it in the page
> you generated so I was concerned that there wouldn't be an easy way to
> find this for cut-and-paste purposes in email responses. I don't know
> why I thought this aspect would elude you though. ;-)

OK, I don't have time to commit everything to CVS and hack up the Makefile 
right now, but if these pass inspection I'll probably get to it tomorrow or over
the weekend. The one feature I haven't been able to do is linking back from
the FAQ entry to its place in the table of contents, which is too bad but I
think it's worth it. I'll leave the old FAQ around but all updates
will be in the
DocBook version.

One file:
http://staff.washington.edu/joshuadf/cygwin/faq-nochunks.html
Several files:
http://staff.washington.edu/joshuadf/cygwin/faq.html

Thanks for the feedback, everyone.

--
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: Proposed FAQ in DocBook (Attn: tetex maintainer)

2005-08-04 Thread Joshua Daniel Franklin
On 8/4/05, Igor Pechtchanski  wrote:
> I like the way the new FAQ looks.  One question, however: is DocBook
> easily installable on Cygwin?  Can the FAQ be built with the default
> settings of Cygwin's DocBook package?  If so, this package should be
> listed as a prerequisite for building the Cygwin documentation.

Yes, I believe if you just select "xmlto" in setup.exe it pulls in all the
necessary files except the FAQ source and XSL customizations, which 
will be in CVS. Plus, as I mentioned earlier the User's Guide is already
DocBook (has been from the start) so it's not like this is a totally new
format. In fact it's easier to use than the current FAQ, see below.
 
> Incidentally, tetex-3.0.0 seems to be missing the texi2html executable (it
> was present in tetex-2.0.2).  Jan, any comments?

It's even worse than that. The htdocs/faq/update script that creates the FAQ 
relies on the specific output format of texi2html 1.56k. I don't remember 
exactly what newer versions do differently but they don't work. We could easily 
put 1.56k in CVS--I would actually probably put it in htdocs/faq/ to get 
everything in one place, after all there's already an "update" script there.

--
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: Proposed FAQ in DocBook

2005-08-04 Thread Joshua Daniel Franklin
On 8/4/05, Larry Hall  wrote:
> At 01:15 AM 8/4/2005, you wrote:
> >You can link to named sections, for example
> >http://staff.washington.edu/joshuadf/cygwin/new-faq.html#faq.install.disk-space
> >
> Just one question.  How does one determine what the names are for the
> named sections?  I assume each question has one but I'm not familiar
> enough with how DocBook works to know how to determine these names.

Yes, as noted they're in the HTML in  tags..., converted from
DocBook's id="..." There will of course be a Table of Contents with links so 
you don't have to look at the HTML to determine this.
 
> Assuming this new style FAQ replaces the old, I'd recommend putting this
> one in a new spot and keeping the old, at least for a while, so that
> references to the old in the archive still work.

No problem, the old files are things like faq1.html, these will be
faq.using.html
and the like.

And, as someone else noted, it will be relatively easy to get .info files using
docbook2x (that's already done for the User's Guide).

--
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/



Proposed FAQ in DocBook

2005-08-03 Thread Joshua Daniel Franklin
I'm tired of tip-toeing around the texinfo source for the FAQ just to make
sure links to the numbered questions work, so I've converted the source 
to DocBook and put up preliminary versions:

Several files: http://staff.washington.edu/joshuadf/cygwin/faq.html

One file:  http://staff.washington.edu/joshuadf/cygwin/new-faq.html

You can link to named sections, for example
http://staff.washington.edu/joshuadf/cygwin/new-faq.html#faq.install.disk-space

I haven't done all the stylesheet customizations to make it feel more like
the old FAQ but I thought I'd put this out for any feedback or comments.

--
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: bug report: abort in g++ 3.4.4 generated DLL & client (FAQ alert)

2005-08-03 Thread Joshua Daniel Franklin
On 8/3/05, Igor Pechtchanski wrote:
> On Wed, 3 Aug 2005, Stein Somers wrote:
> 
> > Unfortunately, I was too eager to try the upgrade to note the version it
> > was upgraded from.
> 
> FYI, the information about all of your upgrades done via Cygwin setup
> (including the version you upgraded from) can be obtained from
> /var/log/setup.log.
> 
> I think this question has been asked often enough to rate an FAQ entry...
> Joshua?

It's in "What if setup fails?" http://cygwin.com/faq/faq0.html#SEC16
and the Troubleshooting section of
http://cygwin.com/cygwin-ug-net/setup-net.html

--
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: ps -p

2005-07-28 Thread Joshua Daniel Franklin
On 7/27/05, Don Beusee wrote:
> That's not good enough for scripting.  First of all, the command is not so
> simple (you have to grep -v grep also - so that the same script works on
> Unix systems) and if you have small PID number like 14, that will likely
> return lots of other processes (like 114, etc).  Also, the same 
> appears in the PPID column if it has children.  Some Unix variants might not
> have a space in the ps output between the PID and previous or next column
> when one of the column's data is larger than the specified printf format.
> 
> So your command is not reliable enough for scripting and is also very slow
> on large Unix systems with 1000's of processes running.  ps -p  is
> immediate, reliable, and portable (it's SYSV/SVR4 standard).

There's also always http://cygwin.com/contrib.html

--
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: Is the Cygwin installation process likely to change significantly anytime soon?

2005-07-25 Thread Joshua Daniel Franklin
On 7/25/05, Larry Hall wrote:
> At 04:20 PM 7/25/2005, you wrote:
> 
> >  - URL of setup help page: http://cygwin.com/cygwin-ug-net/setup-net.html
> 
> I expect this is also unlikely to change any time soon.  If documentation
> needs change, it could but that's really up to the maintainer for the
> User's Guide.

As said maintainer, I'll confirm that URL will not change any time soon,
and add that I'd be happy for any feedback from a real author (and his
editors ;) about the clarity and/or coverage of the setup.exe help page 
and the User's Guide in general.

--
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: getting sshd to log to /var/log/sshd.log (Attn: FAQ maintainer)

2005-07-23 Thread Joshua Daniel Franklin
On 7/22/05, Igor Pechtchanski  wrote:
> Perhaps it would have helped if the "Where's the documentation" FAQ entry
> mentioned /usr/share/doc/Cygwin/package_name.README first, and then
> referred the users to /usr/share/doc/package_name.

I can do that.

--
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/



shell scripts FAQ, ash->bash

2005-07-10 Thread Joshua Daniel Franklin
At http://cygwin.com/faq/faq0.html#SEC46 there is a short list of common
gotchas that don't work with ash compared to bash or ksh. Does anyone
have suggestions for a similar list for bash compared to other shells that 
could possibly be the real /bin/sh (ksh or zsh)?

--
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: FAQ request

2005-07-10 Thread Joshua Daniel Franklin
On 7/7/05, Christopher Faylor wrote:
> Could we split the "Why is your package so out of date?" question out of
> the "Why isn't package  available in Cygwin?" and add something like
> the below?

Done, see:

http://cygwin.com/faq/faq0.html#SEC52

I removed the FAQ about "more" since it is now in fact available like any 
other package (though everyone should still use "less").

--
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: man.conf missing after cygwin upgrade (Attn: User's Guide maintainer)

2005-07-10 Thread Joshua Daniel Franklin
On 7/7/05, Igor Pechtchanski wrote:
> > > If you still haven't run setup since that fateful man installation
> >
> > no, I didn't
> 
> Good.  The file was actually very helpful.  Perhaps we could offer general
> advice in the User's Guide section on setup to back up that file in case
> of any installation problems.

Done, see:

http://cygwin.com/cygwin-ug-net/setup-net.html#internet-setup

--
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: [FAQ Alert, ping JDF!] RE: How to make DLLs in cygwin for MSVC and BCB

2005-07-10 Thread Joshua Daniel Franklin
On 6/22/05, Dave Korn wrote:
> Original Message
> >From: Brian Dessent
> >Sent: 22 June 2005 16:36
> 
> > Patrick Rotsaert wrote:
> >
> >> I need to build a DLL in cygwin (I use a lot of POSIX functions), that I
> >> can use in MSVC and Borland CBuilder apps.
> >
> > http://cygwin.com/faq/faq.html#TOC102
> 
> 
> > And, as far as I know, using cygwin1.dll in this way means all your code
> > must be released under the GPL, or another OSI approved license.
> 
>   Absolutely so, and I think the FAQ entry needs a little revising, because
> I think point 5. in the list of items is misleadingly
> not-strongly-emphatic-enough:

Done, see:

http://cygwin.com/faq/faq0.html#SEC102

--
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: FAQ request

2005-07-08 Thread Joshua Daniel Franklin
On 7/7/05, Christopher Faylor wrote:
> Could we split the "Why is your package so out of date?" question out of
> the "Why isn't package  available in Cygwin?" and add something like
> the below?

OK, I should get to all the updates in my queue this weekend.

--
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: Exiting Emacs (Attn: User's Guide maintainer)

2005-07-06 Thread Joshua Daniel Franklin
On 7/5/05, Igor Pechtchanski wrote:
> On Tue, 5 Jul 2005, David Masterson wrote:
> > > On Sat, 2 Jul 2005, Nick Kirchner wrote:
> > >
> > >> I just installed Cygwin on my Windows 98 computer and tried playing
> > >> around with Emacs. Having toyed with it a little in the past, I know
> > >> that C-x C-c is supposed to exit the program. As you may have
> > >> guessed, C-x C-c did nothing other than beep.
> > >>
> > >> What exactly is going wrong here?
> > >
> > > As mentioned in the announcement
> > > (), you
> > > need to have "tty" in your CYGWIN environment variable.  This needs
> > > to be set *before* the shell is started, so good places would be
> > > /Cygwin.bat or the system environment (i.e., don't do this in shell
> > > startup files).
> >
> > Does this apply to using (X)Emacs under X?
> 
> Good question.  No, it doesn't.  As should be described in the User's
> Guide[1], the 'tty' setting in $CYGWIN serves only to compensate for the
> deficiencies of the Windows console terminal handling (Ctrl-C and NUL).
> If emacs is invoked in any terminal other than the cmd.exe "console"
> (e.g., rxvt, or xterm), no special settings are needed.  Neither does this
> apply to windowed modes of emacs, which do their own keyboard input
> handling.
> Igor
> [1] 


Huh, I could have sworn I'd added a note about rxvt and CYGWIN=tty once 
before, but obviously not. It'll be in the next update.

--
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: Cygwin from Scratch?

2005-07-02 Thread Joshua Daniel Franklin
> Brian Dessent wrote:
> 
> > In my experience the two most common changes you have to make when
> > porting are: a) adding -no-undefined to LDFLAGS (or -Wl,-no-undefined to
> > CFLAGS), and b) adding missing $(EXEEXT) ...
> 
> I meant to include c) adding O_BINARY to open() or otherwise dealing
> with textmode/binmode issues.

Would these be good to add to the "Making Pakcages" list?

http://cygwin.com/setup.html#package_contents

--
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/



  1   2   3   4   5   >