Fix coding and contents.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 14 Oct 2011 00:48:05 +0300
changeset 1032 4decc3e00bb6
parent 1031 1febb0de8647
child 1033 4772259422ac
Fix coding and contents.
3d.rst
abbr.rst
chm.rst
cygwin.rst
devel-proj-branching.rst
devel-proj-files.rst
devel-versioning.rst
game.rst
gimp.rst
git.rst
gmail.rst
hg.rst
javadoc.rst
lang-comp.rst
menu.rst
ssh.rst
terminal.rst
vt100.rst
web-seo.rst
x.rst
--- a/3d.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/3d.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,5 +1,10 @@
 .. -*- coding: utf-8; -*-
 
+=====
+ 3D.
+=====
+.. contents::
+
 Pov-Ray.
 ========
 
--- a/abbr.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/abbr.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,5 +1,10 @@
 .. -*- coding: utf-8; -*-
 
+===============
+ Abbreviation.
+===============
+.. contents::
+
 Devel.
 ======
 
--- a/chm.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/chm.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,4 +1,4 @@
--*- coding: utf-8 -*-
+.. -*- coding: utf-8 -*-
 
 ======
  CHM.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cygwin.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -0,0 +1,149 @@
+.. -*- coding: utf-8 -*-
+
+=========
+ Cygwin.
+=========
+.. contents::
+
+Installation.
+=============
+
+Run setup.exe. Use output dir like::
+
+  d:\opt\cygwin
+
+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%
+
+  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:cp1251 noglob
+
+  set LANG=ru_RU.cp1251
+
+Set HOME env var (where places config file and projects)::
+
+  set HOME=d:\home
+
+Set TMP and TEMP env vars with good path (without spaces, etc.; these vars
+already set as used defined, so you need change their values)::
+
+  set TMP=c:\tmp
+  set TEMP=c:\tmp
+
+Also you need edit /etc/passwd to point to correct home path.
+
+Cygwin ports.
+=============
+
+This project provides Cygwin binary and source packages for a large variety of programs and
+libraries, including the GNOME  and KDE desktop environments
+
+  http://cygwin-ports.sourceforge.net/
+                newest home of the Cygwin Ports project
+  http://sourceware.org/cygwinports/
+                home page
+  http://cygwinports.blogspot.com
+                official blog??
+
+Which Cygwin version you run?
+=============================
+::
+
+  $ uname -r
+  1.7.7(0.230/5/3)
+  $ cygcheck -c cygwin
+  Cygwin Package Information
+  Package              Version        Status
+  cygwin               1.7.7-1        OK
+
+Recreate /etc/passwd and /etc/groups.
+=====================================
+::
+
+  $ mkpasswd -d | grep $yourlogin > /etc/passwd  # if you in Windows domain
+  $ mkpasswd -l > /etc/passwd                    # if you in Windows domain
+
+  $ mkgroup -l > /etc/group
+
+Running X Window.
+=================
+::
+
+  $ XWin -multiwindow&
+
+or::
+
+  $ XWin -clipboard -silent-dup-error -xkblayout "us,ru" -xkboptions "grp:caps_toggle"&
+
+To start X application you must set 'DISPLAY'::
+
+  $ DISPLAY=:0 xterm&
+
+Working with packages.
+======================
+
+Installed package list with versions.
+-------------------------------------
+::
+
+  $ cygcheck -c -d
+
+List of package files.
+----------------------
+::
+
+  $ cygcheck -l pkg-name
+
+Search package by containing file (only under installed packages).
+------------------------------------------------------------------
+::
+
+  $ cygcheck -f full-path-to-file
+
+Search packages by containing path (only under installed packages).
+-------------------------------------------------------------------
+::
+
+  $ for f in /etc/setup/*.lst.gz; do gzip -c -d $f | grep $WORD  2>&1 >/dev/null && { echo $f; break; } || :; done
+
+Search for package.
+-------------------
+
+If you have file name or regex use (need internet connection)::
+
+  $ cygcheck -p REGEX
+
+cygcheck use such link:
+
+  http://cygwin.com/cgi-bin2/package-grep.cgi?grep=REGEX
+
+Cygwin installation info.
+=========================
+::
+
+  $ uname -a
+  $ cygcheck -s -r
+
+Cygwin acronyms.
+================
+
+  http://www.cygwin.com/acronyms
+                One encounters all sorts of acronyms on the Cygwin mailing lists.
+
+Check dll dependency.
+=====================
+::
+
+  $ ldd my.dll
+  $ ldd my.exe
+  $ cygcheck ./my.dll
+  $ cygcheck ./my.exe
+
+Cygwin alternatives.
+====================
+
+  http://www.suacommunity.com/SUA.aspx
+                Subsystem for Unix-based Applications and Services for Unix
--- a/devel-proj-branching.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/devel-proj-branching.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,3 +1,5 @@
+.. -*- coding: utf-8 -*-
+
 ===========================
  Project branching models.
 ===========================
--- a/devel-proj-files.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/devel-proj-files.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,3 +1,8 @@
+.. -*- coding: utf-8 -*-
+
+============================
+ Development project files.
+============================
 .. contents::
 
 Essential project files.
--- a/devel-versioning.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/devel-versioning.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,3 +1,5 @@
+.. -*- coding: utf-8 -*-
+
 =================
  Version format.
 =================
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/game.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -0,0 +1,37 @@
+.. -*- coding: utf-8 -*-
+
+=======
+ Game.
+=======
+.. contents::
+
+Shuter games for Linux.
+=======================
+
+Wolfenstein: Enemy Territory.
+-----------------------------
+
+UT2004 (Unreal Tournament).
+---------------------------
+
+Unreal Tournament 2004 is closed source, but it's one of the few commercial
+games which also provide a native Linux port.
+
+Quake 3.
+--------
+
+Game was licensed under the GPL in 2005. ioQuake 3 continued development to
+Quake 3, fixing bugs and bringing new improvements to this true classic game.
+
+Urban Terror.
+-------------
+
+Racers for Linux.
+=================
+
+torcs.
+------
+
+3D racing cars simulator game using OpenGL.
+
+
--- a/gimp.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/gimp.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,6 +1,8 @@
+.. -*- coding: utf-8 -*-
 
 Enhancing Photographs.
 ======================
+.. contents::
 
 Reducing Graininess.
 --------------------
--- a/git.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/git.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -3,6 +3,7 @@
 ======
  Git.
 ======
+.. contents::
 
 Setup git.
 ==========
--- a/gmail.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/gmail.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,3 +1,4 @@
+.. -*- coding: utf-8 -*-
 
 ========
  Gmail.
--- a/hg.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/hg.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,4 +1,4 @@
--*- coding: utf-8 -*-
+.. -*- coding: utf-8 -*-
 
 ============
  Mercurial.
--- a/javadoc.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/javadoc.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,4 +1,4 @@
--*- coding: utf-8 -*-
+.. -*- coding: utf-8 -*-
 
 ==========
  JavaDoc.
--- a/lang-comp.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/lang-comp.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,3 +1,4 @@
+.. -*- coding: utf-8 -*-
 
 ==================================
  Programming language comparison.
--- a/menu.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/menu.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,3 +1,4 @@
+.. -*- coding: utf-8 -*-
 
 =======
  Menu.
--- a/ssh.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/ssh.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -3,6 +3,7 @@
 ===========
  SSH/sshd.
 ===========
+.. contents::
 
 Maintaining key pair.
 =====================
--- a/terminal.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/terminal.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,5 +1,10 @@
 .. -*- coding: utf-8; -*-
 
+===========
+ Terminal.
+===========
+.. contents::
+
 Spec.
 =====
 
--- a/vt100.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/vt100.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,3 +1,4 @@
+.. -*- coding: utf-8 -*-
 
 ==========================================================
  This document describes how to control a VT100 terminal.
--- a/web-seo.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/web-seo.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,4 +1,4 @@
--*- coding: utf-8 -*-
+.. -*- coding: utf-8 -*-
 
 ==========
  WEB SEO.
--- a/x.rst	Fri Oct 14 00:47:36 2011 +0300
+++ b/x.rst	Fri Oct 14 00:48:05 2011 +0300
@@ -1,8 +1,9 @@
--*- coding: utf-8 -*-
+.. -*- coding: utf-8 -*-
 
 ====
  X.
 ====
+.. contents::
 
 Standard.
 =========