cygwin.rst
changeset 433 7eae6f4baa38
parent 432 9ed9bd59c0fd
parent 414 95d5fafa0a88
child 449 6b248a17d3a4
--- a/cygwin.rst	Fri Jul 02 10:45:36 2010 +0300
+++ b/cygwin.rst	Fri Jul 02 10:45:49 2010 +0300
@@ -10,14 +10,14 @@
 
 Add to your PATH env var exactly before C:\WINDOWS\system32;C:\WINDOWS values:
 
-   set PATH=d:\opt\cygwin\bin;d:\opt\cygwin\usr\local\bin;%PATH%
-
-Set CYGWIN env var:
+  set PATH=d:\opt\cygwin\bin;d:\opt\cygwin\usr\local\bin;%PATH%
 
   REM Set CYGWIN variable to 'nontsec'. That makes sure that permissions
   REM on your windows machine are not updated as a side effect of cygwin
   REM operations.
-  SET CYGWIN=binary nontsec nodosfilewarning codepage:utf8
+  set CYGWIN=binary nontsec nodosfilewarning codepage:cp1251 noglob
+
+  set LANG=ru_RU.cp1251
 
 Set HOME env var (where places config file and projects):
 
@@ -35,7 +35,7 @@
 
 ** Recreate /etc/passwd and /etc/groups.
 
-  $ mkpasswd -d | grep $yourlogin > /etc/passwd  # if you in Windows domen
-  $ mkpasswd -l > /etc/passwd                    # if you in Windows domen
+  $ mkpasswd -d | grep $yourlogin > /etc/passwd  # if you in Windows domain
+  $ mkpasswd -l > /etc/passwd                    # if you in Windows domain
 
   $ mkgroup -l > /etc/group