Cygwin User's Guide
Cygwin User's Guide
Cygwin User's Guide
ii
Copyright ? Cygwin authors
Permission is granted to make and distribute verbatim copies of this documentation provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this documentation under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.
Permission is granted to copy and distribute translations of this documentation into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Free Software Foundation.
Cygwin User's Guide
iii
Contents
1 Cygwin Overview
1
1.1 What is it? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Quick Start Guide for those more experienced with Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.3 Quick Start Guide for those more experienced with UNIX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.4 Are the Cygwin tools free software? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.5 A brief history of the Cygwin project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.6 Highlights of Cygwin Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.6.2 Permissions and Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.6.3 File Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.6.4 Text Mode vs. Binary Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.6.5 ANSI C Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.6.6 Process Creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.6.6.1 Problems with process creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.6.7 Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.6.8 Sockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.6.9 Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.7 What's new and what changed in Cygwin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.7.1 What's new and what changed in 3.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.7.2 What's new and what changed in 3.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.7.3 What's new and what changed in 3.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.7.4 What's new and what changed in 3.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.7.5 What's new and what changed in 3.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.7.6 What's new and what changed in 3.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.7.7 What's new and what changed in 2.11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.7.8 What's new and what changed in 2.10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.7.9 What's new and what changed in 2.9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.7.10 What's new and what changed in 2.8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.7.11 What's new and what changed in 2.7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.7.12 What's new and what changed in 2.6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Cygwin User's Guide
iv
1.7.13 What's new and what changed in 2.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.7.14 What's new and what changed in 2.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.7.15 What's new and what changed in 2.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.7.16 What's new and what changed in 2.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.7.17 What's new and what changed in 2.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.7.18 What's new and what changed in 2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.7.19 What's new and what changed in 1.7.35 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.7.20 What's new and what changed in 1.7.34 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 1.7.21 What's new and what changed in 1.7.33 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 1.7.22 What's new and what changed in 1.7.32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.7.23 What's new and what changed in 1.7.31 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.7.24 What's new and what changed in 1.7.29 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.7.25 What's new and what changed in 1.7.28 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.7.26 What's new and what changed in 1.7.27 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.7.27 What's new and what changed in 1.7.26 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.7.28 What's new and what changed in 1.7.25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.7.29 What's new and what changed in 1.7.24 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.7.30 What's new and what changed in 1.7.23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.7.31 What's new and what changed in 1.7.22 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.7.32 What's new and what changed in 1.7.21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.7.33 What's new and what changed in 1.7.19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.7.34 What's new and what changed in 1.7.18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.7.35 What's new and what changed in 1.7.17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.7.36 What's new and what changed in 1.7.16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.7.37 What's new and what changed in 1.7.15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.7.38 What's new and what changed in 1.7.14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.7.39 What's new and what changed in 1.7.13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 1.7.40 What's new and what changed in 1.7.12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 1.7.41 What's new and what changed in 1.7.11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 1.7.42 What's new and what changed in 1.7.10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 1.7.43 What's new and what changed in 1.7.9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.7.44 What's new and what changed in 1.7.8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 1.7.45 What's new and what changed in 1.7.7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1.7.46 What's new and what changed in 1.7.6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1.7.47 What's new and what changed in 1.7.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1.7.48 What's new and what changed in 1.7.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1.7.49 What's new and what changed in 1.7.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 1.7.50 What's new and what changed from 1.5 to 1.7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
1.7.50.1 OS related changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Cygwin User's Guide
v
1.7.50.2 File Access related changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 1.7.50.3 Network related changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 1.7.50.4 Device related changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 1.7.50.5 Other POSIX related changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 1.7.50.6 Security related changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 1.7.50.7 Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2 Setting Up Cygwin
27
2.1 Internet Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.1.1 Download Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.1.2 Selecting an Install Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.1.3 Local Package Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.1.4 Connection Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.1.5 Choosing Mirrors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.1.6 Choosing Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.1.7 Download and Installation Progress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2.1.8 Shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2.1.9 Post-Install Scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2.1.10 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2.2 Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2.2.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2.2.2 Restricted Win32 environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2.3 Changing Cygwin's Maximum Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2.4 Internationalization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2.4.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2.4.2 How to set the locale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.4.3 The Windows Console character set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2.4.4 Potential Problems when using Locales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.4.5 List of supported character sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.5 Customizing bash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3 Using Cygwin
37
3.1 Mapping path names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.1.2 The Cygwin Mount Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
3.1.3 UNC paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
3.1.4 The cygdrive path prefix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
3.1.5 The usertemp file system type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
3.1.6 Symbolic links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- geographical information systems gis
- intuos 4 user s manual for windows macintosh
- comptia network n10 006 cert guide deluxe edition
- sandisk ssd dashboard
- clean code net framework
- introduction solid edge 2d drafting solid edge
- cygwin user s guide
- updating the rcc software system peugeot
- mapinfo pro v15 0 user guide pitney bowes
Related searches
- teacher s guide sri lanka
- blackrock aladdin user s guide
- chemistry teacher s guide 2019 download
- man s guide to divorce
- a man s guide to women
- microsoft office 2010 user s guide
- java a beginner s guide pdf
- change another user s password
- men s guide to understanding women
- teacher s guide first grade wonders
- users vs user s grammar
- the teacher s guide wonders 2nd grade