--- a/emacs.rst Fri Sep 10 16:14:11 2010 +0300
+++ b/emacs.rst Fri Sep 10 16:14:36 2010 +0300
@@ -255,3 +255,6 @@
semantic-lex-c-preprocessor-symbol-file
List of C/C++ files that contain preprocessor macros for the C lexer.
+* Debugging C code.
+
+ -*- mode: grep; mode: auto-revert-tail; default-directory: "~/devel/proj" -*-
--- a/fs.rst Fri Sep 10 16:14:11 2010 +0300
+++ b/fs.rst Fri Sep 10 16:14:36 2010 +0300
@@ -14,6 +14,25 @@
$ convmv --nosmart -f cp-1251 -t utf-8 -r $dir
+* How get file time attributes.
+
+POSIX define 3 file time attributes: atime (access time, only a few OS/fs update
+this parameter), ctime (attribute/inode modification time), mtime (modification
+time).
+
+To get time you can use 'ls' command but it print time in locale dependent
+irregular form:
+
+ $ ls -l file.txt # last file modification
+ $ ls -lc file.txt # last file status modification
+ $ ls -lu file.txt # last access
+
+GNU coreutils provide more robust 'stst' utility:
+
+ $ stat -c %Y file.txt # last file modification
+ $ stat -c %Z file.txt # last file status modification
+ $ stat -c %X file.txt # last access
+
* File names.
** POSIX.
--- a/javascript.rst Fri Sep 10 16:14:11 2010 +0300
+++ b/javascript.rst Fri Sep 10 16:14:36 2010 +0300
@@ -1,10 +1,23 @@
-*- outline -*-
-* Inline in HTML.
+* HTML.
+
+<noscript> tag used to render HTML if JavaScript disabled in browser.
+
+** Include in HTML.
+
+ <html>
+ <head>
+ <script type="text/javascript" src="abc.js"></script>
+ </head>
+ ...
+ <html>
+
+** Inline in HTML.
<html>
<h1>Hello!<h1/>
- <script language="JavaScript">
+ <script language="javascript">
<!--
alert("Hello!")
document.write("sin(10) = " + Math.sin(10))
--- a/terminal.rst Fri Sep 10 16:14:11 2010 +0300
+++ b/terminal.rst Fri Sep 10 16:14:36 2010 +0300
@@ -1,14 +1,41 @@
-*- outline -*-
+* Spec.
+
+ http://en.wikipedia.org/wiki/C0_and_C1_control_codes
+ http://en.wikipedia.org/wiki/ECMA-48
+ ANSI escape sequences
+
+* Old hardware terminal.
+
+** VT102.
+
+VT100 is a video terminal that was made by Digital Equipment Corporation (DEC). It was introduced in
+August 1978. Its detailed attributes became the de facto standard for terminal emulators.
+
+The control sequences used by the VT100 family are based on the ANSI X3.64 standard, later ECMA-48
+and ISO/IEC 6429.
+
+The VT101 and VT102 were cost-reduced non-expandable follow-on products, with the VT102 including
+the AVO and serial printer port options of the VT100.
+
+In 1983, the VT100 was replaced by the more-powerful VT200 series terminals such as the VT220.
+
+ http://en.wikipedia.org/wiki/VT102
+
+** VT220.
+
+ http://en.wikipedia.org/wiki/VT220
+
* X window pseudo terminal.
** luit.
Luit is a filter that can be run between an arbitrary application and a UTF-8
-terminal emulator. It will convert application output from the locale’s
-encoding into UTF-8, and convert terminal input from UTF-8 into the locale’s
+terminal emulator. It will convert application output from the locale's
+encoding into UTF-8, and convert terminal input from UTF-8 into the locale's
encoding.
Example:
- $ luit -encoding ’ISO 8859-1’ emacs -nw
+ $ luit -encoding 'ISO 8859-1' emacs -nw