--- a/debian-apt.rst Tue Mar 01 16:39:57 2011 +0200
+++ b/debian-apt.rst Tue Mar 01 16:40:00 2011 +0200
@@ -47,3 +47,17 @@
$ gpg --export 9AA38DCD55BE302B | sudo apt-key add -
OK
+
+* Install build dependency for package.
+
+ $ apt-get install build-essential # install dev LIBC and GCC C/C++
+ $ sudo apt-get build-dep $package
+
+If all you want is checking what packages are needed to build a given package:
+
+ $ apt-cache showsrc $package
+
+or check 'Build-Depends' attribute in
+
+ $ apt-cache show $package
+
--- a/emacs.rst Tue Mar 01 16:39:57 2011 +0200
+++ b/emacs.rst Tue Mar 01 16:40:00 2011 +0200
@@ -2,6 +2,12 @@
* About.
+ http://elpa.gnu.org/
+ Packages for Emacs. This requires Emacs version 24.1 or
+ higher.
+
+* Getting help.
+
http://news.gmane.org/gmane.emacs.help
http://news.gmane.org/gmane.emacs.announce
http://news.gmane.org/gmane.emacs.auctex.announce
@@ -351,3 +357,17 @@
-*- mode: grep; mode: auto-revert-tail; default-directory: "~/devel/proj" -*-
+* Edit HTML.
+
+psgml-mode
+nxml-mode
+sgml-mode
+
+** html-helper-mode.
+
+Highlighting, autocompletion, and auto-insertion of closing tags.
+
+ http://www.emacswiki.org/emacs/HtmlHelperMode
+ http://savannah.nongnu.org/projects/baol-hth/
+ http://www.nongnu.org/baol-hth/
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ftp.rst Tue Mar 01 16:40:00 2011 +0200
@@ -0,0 +1,8 @@
+-*- mode: outline; coding: utf-8; fill-column: 80 -*-
+
+* '~/.netrc'.
+
+ machine ... login ... password ...
+
+Also available macro definition.
+
--- a/gcc.rst Tue Mar 01 16:39:57 2011 +0200
+++ b/gcc.rst Tue Mar 01 16:40:00 2011 +0200
@@ -50,6 +50,10 @@
programs: ...
libraries: ...
+Use -### in actual invoking:
+
+ $ gcc -### -o foo foo.c
+
$ ld --verbose | grep SEARCH_DIR
'LIBRARY_PATH' and 'LD_LIBRARY_PATH'
--- a/xorg.rst Tue Mar 01 16:39:57 2011 +0200
+++ b/xorg.rst Tue Mar 01 16:40:00 2011 +0200
@@ -39,6 +39,14 @@
...
EndSection
+To disable standby for current session use command:
+
+ $ xset -dpms
+
+To turn off monitor use:
+
+ $ xset dpms force off
+
* Set display dimensions.
To see currect settings type: