Automated merge with file:///cygdrive/d/srv/hg/admin-doc
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 07 Aug 2010 23:10:34 +0300
changeset 490 846340fce4f2
parent 488 ea05ac5655ef (diff)
parent 489 dd7fc4e35e0f (current diff)
child 491 8ec36ad14f7a
Automated merge with file:///cygdrive/d/srv/hg/admin-doc
3d.rst
bnf.rst
color.rst
cygwin.rst
devel-rules.rst
display.rst
emul.rst
gamepad.rst
make.rst
midi.rst
msvc.rst
power.rst
prettyprint.rst
record.rst
signal.rst
ssh.rst
uri.rst
web.rst
wget.rst
xml.rst
--- a/bluetooth.rst	Sat Aug 07 23:10:12 2010 +0300
+++ b/bluetooth.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -132,3 +132,17 @@
 
   http://www.bluetooth.com/Bluetooth/Technology/Building/Specifications/
 
+* Bluetooth on Windows.
+
+'bthprops.cpl' used for administrating Bluetooth device in Windows XP.
+
+'ipconfig' used for see assigned IP address by PAN (Personal Area Networking).
+
+'telephon.cpl' used to add modem.
+
+'fsquirt.exe' used to send/recive file.
+
+  http://support.microsoft.com/kb/883259
+                How to install and configure Bluetooth devices in Windows XP Service Pack 2
+  http://support.microsoft.com/kb/841803
+                List of Bluetooth radio drivers that are included in Windows XP SP2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cvs.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -0,0 +1,6 @@
+-*- mode: outline; coding: utf-8 -*-
+
+* CVS via proxy server.
+
+  $ cvs -d:pserver;proxy=$proxyhost;proxyport=$proxyport:$cvsuser@$cvsdomain:/$repo
+
--- a/cygwin.rst	Sat Aug 07 23:10:12 2010 +0300
+++ b/cygwin.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -31,6 +31,16 @@
 
 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://sourceware.org/cygwinports/
+                home page
+  http://cygwinports.blogspot.com
+                official blog??
+
 * Users and groups.
 
 ** Recreate /etc/passwd and /etc/groups.
@@ -39,3 +49,50 @@
   $ 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 file in installed packages.
+
+  $ cygcheck -f full-path-to-file
+
+** 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.
+
--- a/devel-windows.rst	Sat Aug 07 23:10:12 2010 +0300
+++ b/devel-windows.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -15,6 +15,11 @@
 
   http://www.dependencywalker.com/
 
+* Windows 2000 Resource Kit Tools.
+
+  http://support.microsoft.com/kb/927229
+                Windows 2000 Resource Kit Tools for administrative tasks
+
 * Sysinternals.
 
 TODO
@@ -81,3 +86,131 @@
   http://msdn.microsoft.com/en-us/library/bb417343.aspx
                 Microsoft Cabinet Format
 
+* Internet Explorer.
+
+** Debugging.
+
+Install IE 8.0 and press 'F12' key.
+
+  http://msdn.microsoft.com/library/dd565626.aspx
+                Developer Tools User Interface Reference
+
+* Microsoft technologies.
+
+** COM.
+
+The family of COM technologies includes COM+, Distributed COM (DCOM) and ActiveX Controls.
+
+  http://www.microsoft.com/com/default.mspx
+                home page
+
+** OLE.
+
+OLE (Object Linking and Embedding) allows embedding and linking to documents and other objects.
+
+OLE 1.0 released in 1990, OLE 2.0 released in 1993, in 1994 OLE custom controls (OCXs) were
+introduced.
+
+OLE objects and containers are implemented on top of the Component Object Model.
+
+Next release after 2.0 introdused in 1996 and named as ActiveX.
+
+  http://en.wikipedia.org/wiki/Object_Linking_and_Embedding
+
+** ActiveX.
+
+Faced with the complexity of OLE 2.0 and with poor support for COM in MFC, Microsoft rationalized
+the specifications to make them simpler, and rebranded the technology as ActiveX in 1996.
+
+  http://msdn.microsoft.com/en-us/library/aa751968.aspx
+                ActiveX Controls
+  http://en.wikipedia.org/wiki/ActiveX
+
+** ATL.
+
+The Active Template Library (ATL) is a set of template-based C++ classes developed by Microsoft,
+intended to simplify the programming of Component Object Model (COM) objects.
+
+  http://en.wikipedia.org/wiki/Active_Template_Library
+
+** MFC.
+
+MFC (Microsoft Foundation Classes) is a library that wraps portions of the Windows API in C++
+classes, including functionality that enables them to use a default application framework. Classes
+are defined for many of the handle-managed Windows objects and also for predefined windows and
+common controls.
+
+A lightweight alternative to MFC is the Windows Template Library (WTL).
+
+  http://en.wikipedia.org/wiki/Microsoft_Foundation_Class_Library
+  http://ru.wikipedia.org/wiki/Microsoft_Foundation_Classes
+
+** WTL.
+
+WTL (Windows Template Library) is a free software, object-oriented C++ template library for Win32
+development.
+
+WTL provides support for implementing various user interface elements, to MDI, standard and common
+controls, common dialogs, property sheets and pages, GDI objects, and other common UI elements, such
+as scrollable windows, splitter windows, toolbars and command bars.
+
+Most of the WTL API is a mirror of the standard Win32 calls.
+
+  http://sourceforge.net/projects/wtl
+  http://en.wikipedia.org/wiki/Windows_Template_Library
+
+* Windows style variable names.
+
+  Prefix   |  Data type
+  ---------+-----------------------------------------
+  b        |  boolean
+  by       |  byte or unsigned char
+  c        |  char
+  cx / cy  |  short used as size
+  dw       |  DWORD, double word or unsigned long
+  fn       |  function
+  h        |  handle
+  i        |  int (integer)
+  l        |  Long
+  n        |  short int
+  p        |  a pointer variable containing the address of a variable
+  s        |  string
+  sz       |  ASCIIZ null-terminated string
+  w        |  WORD unsigned int
+  x, y     |  short used as coordinates
+
+  PrefixCategory  | Mean
+  ----------------+----------------
+  CS              | Class style
+  CW              | Create window
+  DT              | Draw text
+  IDC             | Cursor ID
+  IDI             | Icon ID
+  WM              | Window message
+  WS              | Window style
+
+  Data type | Meaning
+  ----------+-------------------------------------------------------------------
+  FAR       | Same as far. Identifies an address that originally used the
+            | segment:offset addressing schema. Now FAR simply identifies a
+            | (default) 32-bit address but may be omitted entirely in many cases.
+            |
+  PASCAL    | Same as Pascal. The Pascal convention demanded by Windows
+            | defines the order in which arguments are found in the stack when
+            | passed as calling parameters.
+            |
+  WORD	    | Unsigned integer (16 bits)
+            |
+  UINT      | Unsigned integer, same as WORD
+            |
+  DWORD     | Double word, unsigned long int (32 bits)
+            |
+  LONG      | Signed long integer (32 bits)
+            |
+  LPSTR     | Long (far) pointer to character string
+            |
+  NEAR      | Obsolete, previously identified an address value within a 16KB
+            | memory block.
+
+  http://www.tenouk.com/cnotation.html
+                C/C++ NOTATION STORY
--- a/driver-win.rst	Sat Aug 07 23:10:12 2010 +0300
+++ b/driver-win.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -112,6 +112,8 @@
 
   http://msdn.microsoft.com/en-us/library/ms791134.aspx
                 System-Supplied Device Setup Classes
+  http://msdn.microsoft.com/en-us/library/ff538820.aspx
+                Drivers for the Supported USB Device Classes
 
 * How list drivers?
 
@@ -141,3 +143,11 @@
                 %windir%\system32\ReinstallBackups folder is created with
                 backups of the old drivers.
 
+* How debug Windows drivers.
+
+  http://www.microsoft.com/whdc/devtools/debugging/debugtips.mspx
+                Improve Driver Debuggability
+  http://msdn.microsoft.com/en-us/library/ff551063.aspx
+                Debugging Tools for Windows
+  http://msdn.microsoft.com/en-us/library/ff543450%28VS.85%29.aspx
+                Checked and Free Build Differences
--- a/emacs.rst	Sat Aug 07 23:10:12 2010 +0300
+++ b/emacs.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -99,6 +99,30 @@
 With transient-mark-mode and delete-selection-mode enabled: select region,
 type M-| sort -u RET to replace selection with sorted and uniquified lines.
 
+** Determining running environment.
+
+Check such variable:
+
+  emacs-major-version
+  emacs-minor-version
+  window-system - 'nil' if in terminal, 'w32' if native Windows build, 'x' if under X Window.
+  window-system-version
+  operating-system-release
+  system-configuration - like configuration triplet: cpu-manufacturer-os
+  system-name
+  system-time-locale
+  system-type
+  system-uses-terminfo
+  window-size-fixed
+
+Run such checks:
+
+  (when window-system ...)
+  (when (eq window-system 'x) ...)
+  (when (>= emacs-major-version 22) ...)
+  (when (fboundp '...) ...)
+  (when (featurep '...) ...)
+
 * Finding emacs packages.
 
 See
@@ -165,3 +189,29 @@
   http://cedet.sourceforge.net/checkdoc.shtml
                 home page before including it into GNU Emacs
   http://www.emacswiki.org/emacs/CheckDoc
+
+* Installing Emacs.
+
+** From sources.
+
+  http://ftp.gnu.org/pub/gnu/emacs
+
+** Windows.
+
+  http://ftp.gnu.org/pub/gnu/emacs/windows
+  http://alpha.gnu.org/gnu/emacs/windows
+                beta releases for windows
+
+** Debian.
+
+  $ apt-get install emacs
+
+* Emacs paths.
+
+  source-directory data-directory doc-directory exec-directory invocation-directory trash-directory
+  tutorial-directory user-emacs-directory widget-image-directory
+
+* Emacs games.
+
+  hanoi hanoi-unix life pong tetris gomoku
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fileid.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -0,0 +1,23 @@
+-*- mode: outline; coding: utf-8 -*-
+
+* File signature list.
+
+  http://www.garykessler.net/library/file_sigs.html
+                File signatures table
+  http://www.magicdb.org/
+
+* Determine file type utilities.
+
+** file(1).
+
+Standard unix utility. It use /etc/magic db.
+
+** PEiD.
+
+PEiD detects most common packers, cryptors and compilers for PE files. It can currently detect more
+than 600 different signatures in PE files.
+
+Freewere, close source.
+
+  http://www.peid.info
+                home page
--- a/forth.rst	Sat Aug 07 23:10:12 2010 +0300
+++ b/forth.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -1,3 +1,4 @@
+-*- mode: outline -*-
 
 * Forth Foundation Library (FFL).
 
@@ -13,3 +14,7 @@
 See
 
   http://ffl.dvoudheusden.net/index.html
+
+* List of Forth systems.
+
+  http://freshmeat.net/projects/4th
--- a/fs.rst	Sat Aug 07 23:10:12 2010 +0300
+++ b/fs.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -13,3 +13,12 @@
 * Convert file name coding.
 
   $ convmv --nosmart -f cp-1251 -t utf-8 -r $dir
+
+* File names.
+
+** POSIX.
+
+** Windows.
+
+  http://msdn.microsoft.com/en-us/library/aa365247.aspx
+                Naming Files, Paths, and Namespaces
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/image.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -0,0 +1,15 @@
+-*- mode: outline; coding: utf-8 -*-
+
+* GraphicsMagick.
+
+GraphicsMagick command-line utilities to create, edit, or convert images.
+
+* ImageMagick.
+
+ImageMagick - is a free software suite for the creation, modification and
+display of bitmap images.
+
+* Free art.
+
+  http://openclipart.org/
+                home page
--- a/java.rst	Sat Aug 07 23:10:12 2010 +0300
+++ b/java.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -114,3 +114,7 @@
   http://java.sun.com/javase/6/webnotes/install/system-configurations.html
                 Java SE 6 Release Notes Supported System Configurations
 
+* Java performance.
+
+  http://java.sun.com/performance/reference/whitepapers/5.0_performance.html
+  http://java.sun.com/performance/reference/whitepapers/6_performance.html
--- a/make.rst	Sat Aug 07 23:10:12 2010 +0300
+++ b/make.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -1,5 +1,27 @@
--*- outline -*-
-
-* How view list of default make definitions.
-
-  $ make -p -f /dev/null
+-*- outline -*-
+
+* How view list of default make definitions.
+
+  $ make -p -f /dev/null
+
+* Available build tools.
+
+** GNU Make.
+
+  http://www.gnu.org/software/make
+  http://en.wikipedia.org/wiki/Make_%28software%29
+
+** SCons.
+
+  http://www.scons.org
+  http://ru.wikipedia.org/wiki/SCons
+
+** CMake.
+
+  http://www.cmake.org
+  http://ru.wikipedia.org/wiki/CMake
+
+** OMake.
+
+  http://omake.metaprl.org/index.html
+
--- a/msvc.rst	Sat Aug 07 23:10:12 2010 +0300
+++ b/msvc.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -48,6 +48,41 @@
 
   http://predef.sourceforge.net/precomp.html#sec35
 
+* MFC versions.
+
+  MFC version  Visual C++ version
+
+  1.0          Microsoft C/C++ 7.0
+  2.0          Visual C++ 1.0
+  2.5          Visual C++ 1.5
+  3.0          Visual C++ 2.0
+  3.1          Visual C++ 2.1
+  3.2          Visual C++ 2.2
+  4.0          Visual C++ 4.0
+  4.1          Visual C++ 4.1
+  4.2          Visual C++ 4.2
+  4.21 (mfc42.dll) Visual C++ 5.0
+  6.0 (mfc42.dll)  Visual C++ 6.0
+  7.0 (mfc70.dll)  Visual C++ .NET 2002
+  7.1 (mfc71.dll)  Visual C++ .NET 2003
+  8.0 (mfc80.dll)  Visual C++ 2005
+
+  http://msdn.microsoft.com/en-us/library/3z02ch3k.aspx
+                ATL and MFC Version Numbers
+
+* ALT version.
+
+  ATL version   Visual C++ version
+
+  1.0, 1.1, 2.0 None. Released to Web in Visual C++ 4.x time frame.
+  3.0           Visual C++ 6.0
+  7.0           Visual C++ .NET 2002
+  7.1           Visual C++ .NET 2003
+  8.0           Visual C++ 2005
+
+  http://msdn.microsoft.com/en-us/library/3z02ch3k.aspx
+                ATL and MFC Version Numbers
+
 * MS SDK version.
 
                                                     VER
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/posix.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -0,0 +1,9 @@
+-*- mode: outline -*-
+
+* Download POSIX.
+
+  http://www.opengroup.org/onlinepubs/009695399/download
+                download page for SYSV3
+
+  http://www.opengroup.org/onlinepubs/9699919799/download
+                download page for SYSV4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ru.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -0,0 +1,7 @@
+-*- mode: outline; coding: utf-8 -*-
+
+* Толкование русского языка.
+
+  http://gramota.ru
+                Справочно-информационный портал. Портала осуществляется
+                Федеральным агентством по печати и массовым коммуникациям.
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/source-navigation.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -0,0 +1,42 @@
+-*- mode: outline -*-
+
+* etags.
+
+For Emacs.
+
+* ctags (Exuberant Ctags).
+
+For Emacs/Vim.
+
+  http://ctags.sourceforge.net
+                home page
+
+* GNU GLOBAL.
+
+  http://www.gnu.org/software/global
+                home page
+
+* ID Utils.
+
+  http://www.gnu.org/software/idutils/idutils.html
+                home page
+
+* cscope.
+
+For Vim.
+
+** cbrowser.
+
+Cbrowser is a graphical C/C++ source code searching and browsing tool, and a
+hierarchical function call viewer.
+
+Cbrowser is implemented in Tcl/Tk.
+
+  http://www.ziplink.net/~felaco/cbrowser
+
+* OpenGrok.
+
+Written on Java. Allow WEB hosting and highlighting.
+
+  http://ru.wikipedia.org/wiki/OpenGrok
+
--- a/spell.rst	Sat Aug 07 23:10:12 2010 +0300
+++ b/spell.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -4,6 +4,9 @@
 
 * aspell.
 
+  http://aspell.net
+                home page
+
 ** Spell checking.
 
   $ aspell --lang=russian --encoding=cp1251 check FILE
@@ -12,6 +15,14 @@
 
   $ aspell dump dicts
 
+* hunspell.
+
+GPL/LGPL/MPL tri-license, support 8-bit and unicode dictionaries.
+
+  http://hunspell.sourceforge.net
+                home page
+  http://en.wikipedia.org/wiki/Hunspell
+
 * native.
 
 ** Microsoft.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/style-checker.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -0,0 +1,9 @@
+-*- mode: outline -*-
+
+* List of code style checkers.
+
+  http://checkstyle.sourceforge.net
+                Checkstyle is a development tool to help programmers write
+                Java code that adheres to a coding standard.
+  http://www.inspirel.com/vera
+                Vera++ - Programmable verification and analysis tool for C++
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/syntax-highlighter.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -0,0 +1,24 @@
+-*- mode: outline -*-
+
+* JavaScript based syntax highlighter.
+
+Used for syntax highlighting code block in blogs/articles.
+
+** SyntaxHighlighter.
+
+SyntaxHighlighter is a fully functional self-contained code syntax highlighter
+developed in JavaScript.
+
+Support:
+
+  ActionScript3 Bash/shell ColdFusion C# C++ CSS Delphi Diff Erlang Groovy
+  JavaScript Java JavaFX Perl PHP Plain Text PowerShell Python Ruby Scala SQL
+  Visual-Basic XML
+
+  http://alexgorbatchev.com/SyntaxHighlighter
+                home page
+
+** google-code-prettify.
+
+  http://code.google.com/p/google-code-prettify
+                home page
\ No newline at end of file
--- a/virus.rst	Sat Aug 07 23:10:12 2010 +0300
+++ b/virus.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -27,3 +27,24 @@
 anti-virus utility for Unix.
 
   $ sudo apt-get install clamav
+
+** Windows.
+
+*** Nod32.
+
+**** Nod32 removal.
+
+Disable nod32 services by 'msconfig' utility.
+
+Remove such keys from registry by 'regedit':
+
+  HKEY_LOCAL_MACHINE\SOFTWARE\ESET
+  HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\LEGACY_NOD32DRV
+  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eamon  ==>
+                ... easdrv easdrv EhttpSrv ekrn epfw Epfwndis epfwtdi
+
+* Free online virus scaner.
+
+  http://virscan.org
+  http://virusscan.jotti.org/ru
+  http://www.virustotal.com
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vm.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -0,0 +1,7 @@
+-*- mode: outline; coding: utf-8 -*-
+
+* VMWare.
+
+** VMWare remote graphical client.
+
+  $ vmware-vmrc.exe -h 192.168.1.2 -u user -p passwd "dir/file.vmx"
--- a/windows.rst	Sat Aug 07 23:10:12 2010 +0300
+++ b/windows.rst	Sat Aug 07 23:10:34 2010 +0300
@@ -227,9 +227,48 @@
 with SP2, Windows Vista, and later versions of Windows.
 
 To enable NX on 32-bit Windows edit 'c:\boot.ini', add option
-'/noexecute=...':
+'/noexecute=...' (alwayson/optout/optin/alwaysoff):
 
   multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="MS Windows XP Prof" /fastdetect /noexecute=alwayson
 
+To see current DEP status run:
+
+  cmd> wmic OS Get DataExecutionPrevention_Available
+  cmd> wmic OS Get DataExecutionPrevention_SupportPolicy
+  cmd> wmic OS Get DataExecutionPrevention_Drivers
+
   http://msdn.microsoft.com/en-us/library/ff557134%28VS.85%29.aspx
                 /noexecute parameter
+  http://support.microsoft.com/kb/912923
+                How to determine that hardware DEP is available and configured on your computer
+
+* Life cycle.
+
+  http://www.microsoft.com/windows/lifecycle/servicepacks.mspx
+                Windows Service Pack Road Map
+  http://www.microsoft.com/windows/lifecycle/default.mspx
+                Windows Life-Cycle Policy
+  http://support.microsoft.com/gp/lifeselect
+                Life-Cycle Policy by product
+
+* NTFS junction points.
+
+To craete use 'junction.exe' from Mark Russinovich or 'linkd.exe' from
+Microsoft Windows 2000 Resource Kit.
+
+'junction.exe' included with Sysinternals suite.
+
+  cmd> md c:\Program-Files
+  cmd> junction c:\Program-Files "c:\Program Files"
+
+  http://technet.microsoft.com/en-gb/sysinternals/bb896768.aspx
+                Junction v1.05, Published: July 24, 2007
+  http://support.microsoft.com/?kbid=205524
+                How to create and manipulate NTFS junction points
+  http://en.wikipedia.org/wiki/NTFS_junction_point
+
+* Microsoft Windows 2000 Resource Kit.
+
+  http://support.microsoft.com/kb/927229
+                Windows 2000 Resource Kit Tools for administrative tasks
+                separate tools downloads