Download Cygwin User's Guide
Transcript
Table of Contents 1. Cygwin Overview .......................................................................................................1 1.1. What is it? .........................................................................................................1 1.2. Are the Cygwin tools free software? ................................................................1 1.3. A brief history of the Cygwin project ...............................................................1 1.4. Expectations for UNIX Programmers...............................................................2 1.5. Expectations for Windows Programmers..........................................................2 1.6. Highlights of Cygwin Functionality .................................................................2 1.6.1. Introduction............................................................................................3 1.6.2. Supporting both Windows NT and 9x ...................................................3 1.6.3. Permissions and Security .......................................................................4 1.6.4. File Access .............................................................................................4 1.6.5. Text Mode vs. Binary Mode ..................................................................6 1.6.6. ANSI C Library......................................................................................6 1.6.7. Process Creation.....................................................................................6 1.6.8. Signals....................................................................................................7 1.6.9. Sockets ...................................................................................................8 1.6.10. Select....................................................................................................8 2. Setting Up Cygwin ...................................................................................................10 2.1. Internet Setup ..................................................................................................10 2.1.1. Download Source.................................................................................10 2.1.2. Selecting an Install Directory...............................................................11 2.1.3. Local Package Directory......................................................................11 2.1.4. Connection Method..............................................................................11 2.1.5. Choosing Mirrors .................................................................................12 2.1.6. Choosing Packages ..............................................................................12 2.1.7. Download and Installation Progress ....................................................13 2.1.8. Icons.....................................................................................................13 2.1.9. Post-Install Scripts ...............................................................................13 2.2. Environment Variables....................................................................................13 2.3. Changing Cygwin’s Maximum Memory ........................................................14 2.4. NT security and the ntsec usage ...................................................................15 2.4.1. NT security...........................................................................................16 2.4.2. Process privileges.................................................................................19 2.4.3. File permissions ...................................................................................19 2.4.4. New since Cygwin release 1.1 .............................................................21 2.4.5. The mapping leak.................................................................................23 2.4.6. New acl API .........................................................................................25 i