author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Thu, 14 Apr 2022 01:51:19 +0300 | |
changeset 2522 | 4a4979019c2c |
parent 2500 | 398df84b32c7 |
child 2527 | a60864c290cc |
permissions | -rw-r--r-- |
1334
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1032
diff
changeset
|
1 |
.. -*- coding: utf-8; -*- |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
2 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
3 |
========= |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
4 |
Cygwin. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
5 |
========= |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
6 |
.. contents:: |
1905
fba288d59662
Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1774
diff
changeset
|
7 |
:local: |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
8 |
|
2484
fcb00dfa7e23
Official mirror list.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2483
diff
changeset
|
9 |
Installation |
2488
b044a0017907
Setting CYGWIN via registry.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2485
diff
changeset
|
10 |
============ |
2484
fcb00dfa7e23
Official mirror list.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2483
diff
changeset
|
11 |
|
fcb00dfa7e23
Official mirror list.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2483
diff
changeset
|
12 |
http://cygwin.com/mirrors.html |
fcb00dfa7e23
Official mirror list.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2483
diff
changeset
|
13 |
Official mirror list. |
fcb00dfa7e23
Official mirror list.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2483
diff
changeset
|
14 |
|
2495
a90ed5421848
Important packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2488
diff
changeset
|
15 |
Important packages: |
a90ed5421848
Important packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2488
diff
changeset
|
16 |
|
a90ed5421848
Important packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2488
diff
changeset
|
17 |
* ``bash-completion`` - for human CLI. |
a90ed5421848
Important packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2488
diff
changeset
|
18 |
* ``emacs-w32`` - Cygwin's Emacs with native Windows widgets! |
a90ed5421848
Important packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2488
diff
changeset
|
19 |
* ``vim`` - let's have "improved" VI. |
a90ed5421848
Important packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2488
diff
changeset
|
20 |
* ``aspell``, ``aspell-en`` - for spell checking inside Emacs. |
a90ed5421848
Important packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2488
diff
changeset
|
21 |
* ``curl`` - for HTTP troubleshooting. |
a90ed5421848
Important packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2488
diff
changeset
|
22 |
* ``wget`` - for recursive downloading, also required by ``apt-cyg``. |
a90ed5421848
Important packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2488
diff
changeset
|
23 |
* VCS packages:: |
a90ed5421848
Important packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2488
diff
changeset
|
24 |
|
a90ed5421848
Important packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2488
diff
changeset
|
25 |
mercurial git git-completion git-svn subversion fossil |
a90ed5421848
Important packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2488
diff
changeset
|
26 |
|
a90ed5421848
Important packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2488
diff
changeset
|
27 |
* ``make`` - my favorite automation tool. |
a90ed5421848
Important packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2488
diff
changeset
|
28 |
* ``the_silver_searcher`` - human ``grep``. |
a90ed5421848
Important packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2488
diff
changeset
|
29 |
|
2335
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
30 |
Configuration |
2488
b044a0017907
Setting CYGWIN via registry.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2485
diff
changeset
|
31 |
============= |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
32 |
|
2335
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
33 |
Run ``setup.exe``. Today you should prefer 64-bit flavor because it sould less BLODA. Add Cygwin |
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
34 |
``/bin`` directory to your ``PATH`` env var:: |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
35 |
|
2335
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
36 |
set PATH=c:\opt\cygwin\bin;%PATH% |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
37 |
|
2335
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
38 |
Cygwin behavior can be altered via ``CYGWIN`` env var:: |
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
39 |
|
2485
7c39b8da8353
Updated list of Cygwin options for CYGWIN env var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2484
diff
changeset
|
40 |
set CYGWIN=noglob wincmdln |
7c39b8da8353
Updated list of Cygwin options for CYGWIN env var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2484
diff
changeset
|
41 |
|
7c39b8da8353
Updated list of Cygwin options for CYGWIN env var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2484
diff
changeset
|
42 |
* ``noglob`` disable reinterpreting positional arguments native Windows application as if they |
7c39b8da8353
Updated list of Cygwin options for CYGWIN env var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2484
diff
changeset
|
43 |
contain shell wildcards. With ``glob`` running ``ls *`` from ``cmd`` works as if it is run from |
7c39b8da8353
Updated list of Cygwin options for CYGWIN env var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2484
diff
changeset
|
44 |
Unix shell. |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
45 |
|
2485
7c39b8da8353
Updated list of Cygwin options for CYGWIN env var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2484
diff
changeset
|
46 |
When I used native Emacs & Cygwin wrapper for ``hg`` default option ``glob`` broke Emacs VC mode |
7c39b8da8353
Updated list of Cygwin options for CYGWIN env var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2484
diff
changeset
|
47 |
because Emacs is using ``{rev}`` as one of the arguments and it was replaced by empty string when |
7c39b8da8353
Updated list of Cygwin options for CYGWIN env var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2484
diff
changeset
|
48 |
``glob`` is active. |
7c39b8da8353
Updated list of Cygwin options for CYGWIN env var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2484
diff
changeset
|
49 |
|
7c39b8da8353
Updated list of Cygwin options for CYGWIN env var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2484
diff
changeset
|
50 |
``noglob`` enshures that there are no any magical replacement. |
7c39b8da8353
Updated list of Cygwin options for CYGWIN env var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2484
diff
changeset
|
51 |
|
7c39b8da8353
Updated list of Cygwin options for CYGWIN env var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2484
diff
changeset
|
52 |
* ``wincmdln`` helps during process invocation troubleshooting. Cygwin maintains own structures for |
7c39b8da8353
Updated list of Cygwin options for CYGWIN env var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2484
diff
changeset
|
53 |
program positional arguments so argument list is invisible to Windows programs like Process |
7c39b8da8353
Updated list of Cygwin options for CYGWIN env var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2484
diff
changeset
|
54 |
Monitor. The option ``wincmdln`` tells Cygwin program to copy internal structure for arguments to |
7c39b8da8353
Updated list of Cygwin options for CYGWIN env var.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2484
diff
changeset
|
55 |
Windows managed structure making arguments visible. |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
56 |
|
2335
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
57 |
https://cygwin.com/cygwin-ug-net/using-cygwinenv.html |
2483
0b99270832a0
About cygdrive & usertemp FS types.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2336
diff
changeset
|
58 |
The ``CYGWIN`` environment variable. Available options. |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
59 |
|
2488
b044a0017907
Setting CYGWIN via registry.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2485
diff
changeset
|
60 |
The easiest way to install env var ``CYGWIN`` is via ``.reg`` file:: |
2335
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
61 |
|
2488
b044a0017907
Setting CYGWIN via registry.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2485
diff
changeset
|
62 |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment] |
b044a0017907
Setting CYGWIN via registry.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2485
diff
changeset
|
63 |
"CYGWIN"="noglob wincmdln" |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
64 |
|
2335
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
65 |
https://stackoverflow.com/questions/1494658/how-can-i-change-my-cygwin-home-folder-after-installation |
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
66 |
How can I change my Cygwin home folder after installation? |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
67 |
|
2335
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
68 |
Set ``TMP`` and ``TEMP`` env vars without dangerous symbols in path (without spaces, etc):: |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
69 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
70 |
set TMP=c:\tmp |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
71 |
set TEMP=c:\tmp |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
72 |
|
2335
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
73 |
Also you need to edit ``/etc/passwd`` to point to correct home path. |
2143
e5191a677ee5
Create symlink to home directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2107
diff
changeset
|
74 |
|
2335
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
75 |
For Cygwin 1.7 ``/etc/nsswitch.conf`` settings is used to define user home. By default it is |
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
76 |
``/home/%U`` so it is better to create symlink:: |
2143
e5191a677ee5
Create symlink to home directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2107
diff
changeset
|
77 |
|
e5191a677ee5
Create symlink to home directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2107
diff
changeset
|
78 |
$ ln -s /cygdrive/d/home /home/user |
e5191a677ee5
Create symlink to home directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2107
diff
changeset
|
79 |
|
2164
d92444a3f0ae
Example of creating native Windows symlink.
user@DESKTOP-7QQCI59
parents:
2143
diff
changeset
|
80 |
Alternatively with native Windows symlink (from build-in ``cmd`` command):: |
d92444a3f0ae
Example of creating native Windows symlink.
user@DESKTOP-7QQCI59
parents:
2143
diff
changeset
|
81 |
|
d92444a3f0ae
Example of creating native Windows symlink.
user@DESKTOP-7QQCI59
parents:
2143
diff
changeset
|
82 |
cmd# mklink /D c:\opt\cygwin\home\user c:\home |
d92444a3f0ae
Example of creating native Windows symlink.
user@DESKTOP-7QQCI59
parents:
2143
diff
changeset
|
83 |
|
2170
b3827a5ac4c3
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2169
diff
changeset
|
84 |
List of installed packages (``-c`` - check, ``-d`` - dump only):: |
b3827a5ac4c3
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2169
diff
changeset
|
85 |
|
b3827a5ac4c3
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2169
diff
changeset
|
86 |
$ cygcheck -c -d |
b3827a5ac4c3
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2169
diff
changeset
|
87 |
|
b3827a5ac4c3
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2169
diff
changeset
|
88 |
Alternatively look to file content:: |
2169
8ce9771fae25
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2165
diff
changeset
|
89 |
|
8ce9771fae25
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2165
diff
changeset
|
90 |
/etc/setup/installed.db |
8ce9771fae25
List of installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2165
diff
changeset
|
91 |
|
2335
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
92 |
In a past I work with particular code point:: |
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
93 |
|
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
94 |
set LANG=ru_RU.cp1251 |
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
95 |
|
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
96 |
Altering ``LANG`` for anything other then ``C`` cause only problems, when you get help and error |
df944b944b30
Updated Cygwin configuration instructions.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2320
diff
changeset
|
97 |
messages in non-English. It is mostlry impossible to search for keywords, when text are translated. |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
98 |
|
2498
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
99 |
Mount points |
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
100 |
============ |
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
101 |
|
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
102 |
In Cygwin the 3rd parameter (FS type) has special meaning: |
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
103 |
|
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
104 |
* ``cygdrive`` defines prefix to Windows disk letters like ``c:``. |
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
105 |
* ``usertemp`` defines location of temp directory. |
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
106 |
|
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
107 |
``/etc/fstab``:: |
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
108 |
|
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
109 |
none /cygdrive none binary,posix=0,user,noacl 0 0 |
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
110 |
c:/opt/ /opt none binary,noacl,user,posix=0 0 0 |
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
111 |
d:/backup /backup none binary,noacl,user,posix=0 0 0 |
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
112 |
/var /usr/var none bind |
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
113 |
|
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
114 |
https://cygwin.com/cygwin-ug-net/using.html#mount-table |
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
115 |
The Cygwin Mount Table. Description of supported keys. |
8c90e7713884
Discuss mount points earlier.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2497
diff
changeset
|
116 |
|
2499
54c46fdf99a6
Exposing WSL distros.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2498
diff
changeset
|
117 |
Recent version of Win 10 exposes WSL distros via P9 network protocol. As Cygwin supports UNC paths |
2500
398df84b32c7
Don't forget to create directory.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2499
diff
changeset
|
118 |
it is possible to add mount points (don't forget to create directory ``/wsl`` before mounting!):: |
2499
54c46fdf99a6
Exposing WSL distros.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2498
diff
changeset
|
119 |
|
54c46fdf99a6
Exposing WSL distros.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2498
diff
changeset
|
120 |
//wsl$/debian /wsl/debian ntfs binary,noacl,posix=0 0 0 |
54c46fdf99a6
Exposing WSL distros.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2498
diff
changeset
|
121 |
//wsl$/ubuntu /wsl/ubuntu ntfs binary,noacl,posix=0 0 0 |
54c46fdf99a6
Exposing WSL distros.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2498
diff
changeset
|
122 |
//wsl$/alpine /wsl/alpine ntfs binary,noacl,posix=0 0 0 |
54c46fdf99a6
Exposing WSL distros.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2498
diff
changeset
|
123 |
|
2496 | 124 |
Users |
125 |
===== |
|
126 |
||
127 |
Cygwin allow complex mapping Windows accounts to POSIX: |
|
128 |
||
129 |
https://cygwin.com/cygwin-ug-net/ntsec.html |
|
130 |
POSIX accounts, permission, and security. |
|
131 |
||
132 |
Modern Cygwin (v3.x) relies on ``/etc/nsswitch.conf`` for user settings. That means there are no |
|
2497
8407a34a1b5d
User home directory and login shell.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2496
diff
changeset
|
133 |
``/etc/passwd`` & ``/etc/group`` and user home directory and login shell are defined according to |
8407a34a1b5d
User home directory and login shell.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2496
diff
changeset
|
134 |
``nsswitch.conf``:: |
8407a34a1b5d
User home directory and login shell.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2496
diff
changeset
|
135 |
|
8407a34a1b5d
User home directory and login shell.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2496
diff
changeset
|
136 |
db_home: /home/%U |
8407a34a1b5d
User home directory and login shell.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2496
diff
changeset
|
137 |
db_shell: /bin/bash |
2496 | 138 |
|
139 |
Earlier Cygwin used ``/etc/passwd`` & ``/etc/group`` and sometimes you were required to regenerate |
|
140 |
them:: |
|
141 |
||
142 |
$ mkpasswd -d | grep $yourlogin > /etc/passwd |
|
143 |
$ mkpasswd -l > /etc/passwd |
|
144 |
$ mkgroup -l > /etc/group |
|
145 |
||
2107
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
146 |
Documentation |
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
147 |
============= |
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
148 |
|
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
149 |
Cygwin C API man pages and user guide manuals available in ``cygwin-doc`` |
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
150 |
package. |
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
151 |
|
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
152 |
Documentation unpacked to ``/usr/share/doc/cygwin-...`` directory. |
6f77a1808a38
Cygwin documentation.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2105
diff
changeset
|
153 |
|
2061
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
154 |
apt-cyg package manager |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
155 |
======================= |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
156 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
157 |
``apt-cyg`` is based on ``bash``, ``wget``, ``tar``, ``gawk`` and ``bzip2`` |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
158 |
packages and provide convenient commands for managing and queries packages:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
159 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
160 |
$ apt-cyg update |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
161 |
$ apt-cyg install emacs-w32 |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
162 |
$ apt-cyg remove emacs-w32 |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
163 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
164 |
Information about package and dependencies:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
165 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
166 |
$ apt-cyg show emacs-w32 |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
167 |
$ apt-cyg depends wget |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
168 |
$ apt-cyg rdepends emacs |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
169 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
170 |
List installed packages:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
171 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
172 |
$ apt-cyg list |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
173 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
174 |
Search for package with file across installed packages:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
175 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
176 |
$ apt-cyg search stdio.h |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
177 |
|
2079
5c346302c5ba
List package files for installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2063
diff
changeset
|
178 |
List package files for installed packages:: |
5c346302c5ba
List package files for installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2063
diff
changeset
|
179 |
|
5c346302c5ba
List package files for installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2063
diff
changeset
|
180 |
$ apt-cyg listfiles util-linux |
5c346302c5ba
List package files for installed packages.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2063
diff
changeset
|
181 |
|
2061
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
182 |
Search for package with file through cygwin.com:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
183 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
184 |
$ apt-cyg searchall stdio.h |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
185 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
186 |
List all packages in ``setup.ini``:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
187 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
188 |
$ apt-cyg listall |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
189 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
190 |
Find package by regex:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
191 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
192 |
$ apt-cyg listall ^emacs |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
193 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
194 |
To switch between mirrors:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
195 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
196 |
$ apt-cyg mirror ftp://ftp.cygwinports.org/pub/cygwinports |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
197 |
$ apt-cyg update |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
198 |
$ apt-cyg install php |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
199 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
200 |
$ apt-cyg mirror ftp://www.fruitbat.org/pub/cygwin/circa/2016/08/30/104223 |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
201 |
|
2090
1a788101d63c
http://mirrors.kernel.org/sources.redhat.com/cygwin/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2079
diff
changeset
|
202 |
$ apt-cyg mirror http://mirrors.kernel.org/sources.redhat.com/cygwin/ |
1a788101d63c
http://mirrors.kernel.org/sources.redhat.com/cygwin/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2079
diff
changeset
|
203 |
|
2091
059f9e54d538
Altering between mirrors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2090
diff
changeset
|
204 |
Just switching mirror does not update metadata. |
059f9e54d538
Altering between mirrors.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2090
diff
changeset
|
205 |
|
2061
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
206 |
To change a location of directory where packages and ``setup.ini`` downloaded:: |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
207 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
208 |
$ apt-cyg cache |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
209 |
C:\net |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
210 |
|
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
211 |
$ apt-cyg cache ~/net |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
212 |
Cache set to C:\home\net. |
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
213 |
|
2320
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
214 |
https://github.com/kou1okada/apt-cyg |
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
215 |
Still maintained project with extra features. |
2061
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
216 |
https://github.com/transcode-open/apt-cyg/ |
2320
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
217 |
Home page of abandoned project. |
2092
9c8bb99062b5
Add links about multi-source support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2091
diff
changeset
|
218 |
https://github.com/transcode-open/apt-cyg/issues/19 |
9c8bb99062b5
Add links about multi-source support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2091
diff
changeset
|
219 |
Request to support multiply sources. |
9c8bb99062b5
Add links about multi-source support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2091
diff
changeset
|
220 |
http://stackoverflow.com/questions/22411162/how-to-add-a-repository-using-apt-cyg/ |
9c8bb99062b5
Add links about multi-source support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2091
diff
changeset
|
221 |
How to add a repository using apt-cyg. |
9c8bb99062b5
Add links about multi-source support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2091
diff
changeset
|
222 |
https://odoepner.wordpress.com/2012/12/06/install-cygwin-and-cygwinports-packages-using-apt-cyg/ |
9c8bb99062b5
Add links about multi-source support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2091
diff
changeset
|
223 |
Depricated way to install from several sources with ``-m`` option using shell |
9c8bb99062b5
Add links about multi-source support.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2091
diff
changeset
|
224 |
aliases as a trick. |
2061
11b0fd0d6db6
apt-cyg package manager.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2060
diff
changeset
|
225 |
|
2320
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
226 |
Cygwin bash completion |
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
227 |
====================== |
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
228 |
|
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
229 |
Cygwin ``bash`` has extra patch that adds ``completion_strip_exe`` option:: |
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
230 |
|
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
231 |
shopt -s completion_strip_exe |
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
232 |
|
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
233 |
If you complete executable ``.exe`` suffix is stripped if any. That halps with ``bash-completion`` |
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
234 |
because usually comletion defined for base name without ``.exe`` suffix, like:: |
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
235 |
|
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
236 |
complete -F _figlet figlet |
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
237 |
|
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
238 |
https://github.com/cygwinports/bash |
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
239 |
7b. completion_strip_exe - using 'shopt -s completion_strip_exe' |
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
240 |
makes completion strip .exe suffixes. |
b7a2c43902f3
Cygwin bash completion.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2228
diff
changeset
|
241 |
|
2165
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
242 |
Cygwin file permission |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
243 |
====================== |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
244 |
|
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
245 |
Get list of permissions:: |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
246 |
|
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
247 |
$ getfacl . |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
248 |
|
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
249 |
rsync without problems:: |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
250 |
|
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
251 |
$ rsync -ar —chmod=ugo=rwX $FROM/ $TO/ |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
252 |
|
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
253 |
https://cygwin.com/cygwin-ug-net/using-filemodes.html |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
254 |
File permissions. |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
255 |
https://cygwin.com/cygwin-ug-net/ntsec.html |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
256 |
POSIX accounts, permission, and security. |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
257 |
https://stackoverflow.com/questions/5828037/cygwin-sets-file-permission-to-000 |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
258 |
Cygwin sets file permission to 000. |
13a641164f9d
Cygwin file permission.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2164
diff
changeset
|
259 |
|
2059
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
260 |
Installation on Windows XP |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
261 |
========================== |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
262 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
263 |
Cygwin from v2.5.5 and Setup version 2.874 (on 25 Aug 2016) is latest version |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
264 |
with Windows XP support. Later versions build with dependencies on newer |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
265 |
syscalls and failt to run in Windows XP. |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
266 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
267 |
Latest mirrors avaialble at fruitbat.org: |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
268 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
269 |
* 32-bit: ftp://www.fruitbat.org/pub/cygwin/circa/2016/08/30/104223 |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
270 |
* 64-bit: ftp://www.fruitbat.org/pub/cygwin/circa/64bit/2016/08/30/104235 |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
271 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
272 |
To run setup against this mirror:: |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
273 |
|
2228
837f1337c59b
Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2196
diff
changeset
|
274 |
cmd> setup.exe |
2059
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
275 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
276 |
``setup.exe`` available at: |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
277 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
278 |
* 32-bit ftp://www.fruitbat.org/pub/cygwin/setup/snapshots/setup-x86-2.874.exe |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
279 |
* 64-bit ftp://www.fruitbat.org/pub/cygwin/setup/snapshots/setup-x86_64-2.874.exe |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
280 |
|
2060
66ccf8bdcbc0
Option description for setup-x86.exe.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2059
diff
changeset
|
281 |
Run as (``-X`` disable signature verification, ``-s <url>`` option select a |
66ccf8bdcbc0
Option description for setup-x86.exe.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2059
diff
changeset
|
282 |
particular mirror, ``-O`` option disallow any other mirrors):: |
2059
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
283 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
284 |
cmd> setup-x86.exe -X -s ftp://www.fruitbat.org/pub/cygwin/circa/2016/08/30/104223 -O |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
285 |
|
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
286 |
http://www.fruitbat.org/Cygwin/timemachine.html |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
287 |
Description of Cygwin time machine project. |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
288 |
http://stackoverflow.com/questions/39479826/cygwin-2-5-2-mirror-getting-the-last-xp-release |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
289 |
Question about Cygwin old mirror. |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
290 |
http://superuser.com/questions/1132000/is-it-still-possible-to-get-cygwin-for-xp |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
291 |
Question about Cygwin old mirror. |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
292 |
http://cygwin-xp.portfolis.net/ |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
293 |
Another old mirror. |
e19407a19d1f
Installation on Windows XP.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
294 |
|
2196 | 295 |
Cygwin ports |
296 |
============ |
|
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
297 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
298 |
This project provides Cygwin binary and source packages for a large variety of programs and |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
299 |
libraries, including the GNOME and KDE desktop environments |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
300 |
|
2196 | 301 |
http://cygwin-ports.sourceforge.net/ |
302 |
Newest home of the Cygwin Ports project. |
|
303 |
http://sourceware.org/cygwinports/ |
|
304 |
Home page. |
|
305 |
http://cygwinports.blogspot.com |
|
306 |
Official blog. |
|
307 |
https://github.com/cygwinports |
|
308 |
cygport scripts to compile cygwinports |
|
309 |
https://github.com/cygwinports/cygport |
|
310 |
Source packaging tool for Cygwin |
|
311 |
https://cygwinports.github.io/cygport |
|
312 |
Cygport Reference Manual. |
|
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
313 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
314 |
Which Cygwin version you run? |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
315 |
============================= |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
316 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
317 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
318 |
$ uname -r |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
319 |
1.7.7(0.230/5/3) |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
320 |
$ cygcheck -c cygwin |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
321 |
Cygwin Package Information |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
322 |
Package Version Status |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
323 |
cygwin 1.7.7-1 OK |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
324 |
|
2105 | 325 |
Rebase dll |
326 |
========== |
|
327 |
||
328 |
In order to Cygwin to maintain ``fork()`` syscall it should preserve same |
|
329 |
logical base address for dll to be able to share library between child and |
|
330 |
parent process. It was done via special hints in dlls. |
|
331 |
||
332 |
With new version of Cygwin software or external Windows libraries (AntiVirus may |
|
333 |
inject its their libraries into Cygwin process address space) it may happen that |
|
334 |
new library is overlapped with existing. |
|
335 |
||
336 |
There is ``rebase`` utility that changes base address hints for dll. |
|
337 |
||
338 |
You should finish all Cygwin processes in order to ``rebase`` to succeed. |
|
339 |
||
340 |
You may trigger automatic rebase of all packages in next run of ``setup.exe`` |
|
341 |
with:: |
|
342 |
||
343 |
$ rebase-trigger full |
|
344 |
||
345 |
Read more at: |
|
346 |
||
347 |
* ``/usr/share/doc/rebase/README`` |
|
348 |
* ``/usr/share/doc/Cygwin/_autorebase.README`` |
|
349 |
||
2336
4cd18bed8bac
How do I fix fork() failures?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2335
diff
changeset
|
350 |
https://cygwin.com/faq/faq.html#faq.using.fixing-fork-failures |
4cd18bed8bac
How do I fix fork() failures?
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2335
diff
changeset
|
351 |
How do I fix fork() failures? |
2105 | 352 |
https://chromium.googlesource.com/chromium/src/+/master/docs/cygwin_dll_remapping_failure.md |
353 |
Handling repeated failures of rebaseall to allow cygwin remaps. |
|
354 |
||
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
355 |
Running X Window. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
356 |
================= |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
357 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
358 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
359 |
$ XWin -multiwindow& |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
360 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
361 |
or:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
362 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
363 |
$ XWin -clipboard -silent-dup-error -xkblayout "us,ru" -xkboptions "grp:caps_toggle"& |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
364 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
365 |
To start X application you must set 'DISPLAY':: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
366 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
367 |
$ DISPLAY=:0 xterm& |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
368 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
369 |
Working with packages. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
370 |
====================== |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
371 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
372 |
Installed package list with versions. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
373 |
------------------------------------- |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
374 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
375 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
376 |
$ cygcheck -c -d |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
377 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
378 |
List of package files. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
379 |
---------------------- |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
380 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
381 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
382 |
$ cygcheck -l pkg-name |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
383 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
384 |
Search package by containing file (only under installed packages). |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
385 |
------------------------------------------------------------------ |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
386 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
387 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
388 |
$ cygcheck -f full-path-to-file |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
389 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
390 |
Search packages by containing path (only under installed packages). |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
391 |
------------------------------------------------------------------- |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
392 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
393 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
394 |
$ for f in /etc/setup/*.lst.gz; do gzip -c -d $f | grep $WORD 2>&1 >/dev/null && { echo $f; break; } || :; done |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
395 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
396 |
Search for package. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
397 |
------------------- |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
398 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
399 |
If you have file name or regex use (need internet connection):: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
400 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
401 |
$ cygcheck -p REGEX |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
402 |
|
2228
837f1337c59b
Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2196
diff
changeset
|
403 |
cygcheck use such link:: |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
404 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
405 |
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=REGEX |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
406 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
407 |
Cygwin installation info. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
408 |
========================= |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
409 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
410 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
411 |
$ uname -a |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
412 |
$ cygcheck -s -r |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
413 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
414 |
Cygwin acronyms. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
415 |
================ |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
416 |
|
2228
837f1337c59b
Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2196
diff
changeset
|
417 |
http://www.cygwin.com/acronyms |
837f1337c59b
Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2196
diff
changeset
|
418 |
One encounters all sorts of acronyms on the Cygwin mailing lists. |
1032
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
419 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
420 |
Check dll dependency. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
421 |
===================== |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
422 |
:: |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
423 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
424 |
$ ldd my.dll |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
425 |
$ ldd my.exe |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
426 |
$ cygcheck ./my.dll |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
427 |
$ cygcheck ./my.exe |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
428 |
|
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
429 |
Cygwin alternatives. |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
430 |
==================== |
4decc3e00bb6
Fix coding and contents.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
431 |
|
2228
837f1337c59b
Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2196
diff
changeset
|
432 |
http://www.suacommunity.com/SUA.aspx |
837f1337c59b
Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
2196
diff
changeset
|
433 |
Subsystem for Unix-based Applications and Services for Unix |