Update zsh-lovers files to release 0.9.0
authorMichael Prokop <mika@grml.org>
Thu, 3 Apr 2014 10:54:41 +0000 (12:54 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 3 Apr 2014 10:54:41 +0000 (12:54 +0200)
zsh/zsh-lovers.1
zsh/zsh-lovers.html
zsh/zsh-lovers.pdf

index 2c8cb05..2873aa6 100644 (file)
@@ -1,13 +1,13 @@
 '\" t
 .\"     Title: zsh-lovers
 .\"    Author: [see the "AUTHORS" section]
-.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\"      Date: 07/28/2010
+.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
+.\"      Date: 04/03/2014
 .\"    Manual: \ \&
 .\"    Source: \ \&
 .\"  Language: English
 .\"
-.TH "ZSH\-LOVERS" "1" "07/28/2010" "\ \&" "\ \&"
+.TH "ZSH\-LOVERS" "1" "04/03/2014" "\ \&" "\ \&"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -1756,133 +1756,111 @@ $EUID $GID $EGID $USERNAME $fignore $mailpath $cdpath
 .PP
 Primary site
 .RS 4
-
 \fBhttp://www\&.zsh\&.org/\fR
 .RE
 .PP
 Project\-page
 .RS 4
-
 \fBhttp://sourceforge\&.net/projects/zsh/\fR
 .RE
 .PP
 Z shell page at sunsite\&.dk
 .RS 4
-
 \fBhttp://zsh\&.sunsite\&.dk/\fR
 .RE
 .PP
 From Bash to Z Shell: Conquering the Command Line \- the book
 .RS 4
-
 \fBhttp://www\&.bash2zsh\&.com/\fR
 .RE
 .PP
 "Zsh \- die magische Shell" (german book about Zsh) by Sven Guckes and Julius Plenz
 .RS 4
-
 \fBhttp://zshbuch\&.org/\fR
 .RE
 .PP
 Mailinglistarchive
 .RS 4
-
 \fBhttp://www\&.zsh\&.org/mla/\fR
 .RE
 .PP
 ZSH\-FAQ
 .RS 4
-
 \fBhttp://zsh\&.dotsrc\&.org/FAQ/\fR
 .RE
 .PP
 Userguide
 .RS 4
-
 \fBhttp://zsh\&.sunsite\&.dk/Guide/\fR
 .RE
 .PP
 ZSH\-Wiki
 .RS 4
-
 \fBhttp://zshwiki\&.org/home/\fR
 .RE
 .PP
 A short introduction from BYU
 .RS 4
-
 \fBhttp://docs\&.cs\&.byu\&.edu/linux/advanced/zsh\&.html\fR
 .RE
 .PP
 Mouse\-Support ;)
 .RS 4
-
 \fBhttp://stchaz\&.free\&.fr/mouse\&.zsh\fR
 .RE
 .PP
 Curtains up: introducing the Z shell
 .RS 4
-
 \fBhttp://www\-128\&.ibm\&.com/developerworks/linux/library/l\-z\&.html?dwzone=linux\fR
 .RE
 .PP
 ZSH\-Liebhaberseite (german)
 .RS 4
-
 \fBhttp://michael\-prokop\&.at/computer/tools_zsh_liebhaber\&.html\fR
 .RE
 .PP
 ZSH\-Seite von Michael Prokop (german)
 .RS 4
-
 \fBhttp://michael\-prokop\&.at/computer/tools_zsh\&.html\fR
 .RE
 .PP
 ZSH Prompt introduction
 .RS 4
-
 \fBhttp://aperiodic\&.net/phil/prompt/\fR
 .RE
 .PP
 ft\(cqs zsh configuration
 .RS 4
-
 \fBhttp://ft\&.bewatermyfriend\&.org/comp/zsh\&.html\fR
 .RE
 .PP
 Adam\(cqs ZSH page
 .RS 4
-
 \fBhttp://www\&.adamspiers\&.org/computing/zsh/\fR
 .RE
 .PP
 Zzappers Best of ZSH Tips
 .RS 4
-
 \fBhttp://www\&.rayninfo\&.co\&.uk/tips/zshtips\&.html\fR
 .RE
 .PP
 Zsh Webpage by Christian Schneider
 .RS 4
-
 \fBhttp://www\&.strcat\&.de/zsh/\fR
 .RE
 .PP
 The zsh\-lovers webpage
 .RS 4
-
 \fBhttp://grml\&.org/zsh/\fR
 .RE
 .PP
 IRC channel
 .RS 4
-
 \fB#zsh at irc\&.freenode\&.org\fR
 .RE
 .PP
 The Z shell reference\-card (included in the zsh\-lovers debian\-package)
 .RS 4
-
 \fBhttp://www\&.bash2zsh\&.com/zsh_refcard/refcard\&.pdf\fR
 .RE
 .SH "AUTHORS"
index a95eb23..94d2c64 100644 (file)
@@ -2,15 +2,25 @@
     "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\r
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
 <head>\r
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
-<meta name="generator" content="AsciiDoc 8.5.2" />\r
+<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />\r
+<meta name="generator" content="AsciiDoc 8.6.9" />\r
 <title>ZSH-LOVERS(1)</title>\r
 <style type="text/css">\r
-/* Debug borders */\r
-p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {\r
-/*\r
-  border: 1px solid red;\r
-*/\r
+/* Shared CSS for AsciiDoc xhtml11 and html5 backends */\r
+\r
+/* Default font. */\r
+body {\r
+  font-family: Georgia,serif;\r
+}\r
+\r
+/* Title font. */\r
+h1, h2, h3, h4, h5, h6,\r
+div.title, caption.title,\r
+thead, p.table.header,\r
+#toctitle,\r
+#author, #revnumber, #revdate, #revremark,\r
+#footer {\r
+  font-family: Arial,Helvetica,sans-serif;\r
 }\r
 \r
 body {\r
@@ -35,13 +45,8 @@ strong {
   color: #083194;\r
 }\r
 \r
-tt {\r
-  color: navy;\r
-}\r
-\r
 h1, h2, h3, h4, h5, h6 {\r
   color: #527bbd;\r
-  font-family: sans-serif;\r
   margin-top: 1.2em;\r
   margin-bottom: 0.5em;\r
   line-height: 1.3;\r
@@ -59,9 +64,11 @@ h3 {
 h3 + * {\r
   clear: left;\r
 }\r
+h5 {\r
+  font-size: 1.0em;\r
+}\r
 \r
 div.sectionbody {\r
-  font-family: serif;\r
   margin-left: 0;\r
 }\r
 \r
@@ -77,45 +84,50 @@ p {
 ul, ol, li > p {\r
   margin-top: 0;\r
 }\r
+ul > li     { color: #aaa; }\r
+ul > li > * { color: black; }\r
 \r
-pre {\r
+.monospaced, code, pre {\r
+  font-family: "Courier New", Courier, monospace;\r
+  font-size: inherit;\r
+  color: navy;\r
   padding: 0;\r
   margin: 0;\r
 }\r
+pre {\r
+  white-space: pre-wrap;\r
+}\r
 \r
-span#author {\r
+#author {\r
   color: #527bbd;\r
-  font-family: sans-serif;\r
   font-weight: bold;\r
   font-size: 1.1em;\r
 }\r
-span#email {\r
+#email {\r
 }\r
-span#revnumber, span#revdate, span#revremark {\r
-  font-family: sans-serif;\r
+#revnumber, #revdate, #revremark {\r
 }\r
 \r
-div#footer {\r
-  font-family: sans-serif;\r
+#footer {\r
   font-size: small;\r
   border-top: 2px solid silver;\r
   padding-top: 0.5em;\r
   margin-top: 4.0em;\r
 }\r
-div#footer-text {\r
+#footer-text {\r
   float: left;\r
   padding-bottom: 0.5em;\r
 }\r
-div#footer-badges {\r
+#footer-badges {\r
   float: right;\r
   padding-bottom: 0.5em;\r
 }\r
 \r
-div#preamble {\r
+#preamble {\r
   margin-top: 1.5em;\r
   margin-bottom: 1.5em;\r
 }\r
-div.tableblock, div.imageblock, div.exampleblock, div.verseblock,\r
+div.imageblock, div.exampleblock, div.verseblock,\r
 div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,\r
 div.admonitionblock {\r
   margin-top: 1.0em;\r
@@ -135,7 +147,6 @@ div.content { /* Block element content. */
 /* Block element titles. */\r
 div.title, caption.title {\r
   color: #527bbd;\r
-  font-family: sans-serif;\r
   font-weight: bold;\r
   text-align: left;\r
   margin-top: 1.0em;\r
@@ -157,13 +168,15 @@ div.content + div.title {
 \r
 div.sidebarblock > div.content {\r
   background: #ffffee;\r
-  border: 1px solid silver;\r
+  border: 1px solid #dddddd;\r
+  border-left: 4px solid #f0f0f0;\r
   padding: 0.5em;\r
 }\r
 \r
 div.listingblock > div.content {\r
-  border: 1px solid silver;\r
-  background: #f4f4f4;\r
+  border: 1px solid #dddddd;\r
+  border-left: 5px solid #f0f0f0;\r
+  background: #f8f8f8;\r
   padding: 0.5em;\r
 }\r
 \r
@@ -171,8 +184,8 @@ div.quoteblock, div.verseblock {
   padding-left: 1.0em;\r
   margin-left: 1.0em;\r
   margin-right: 10%;\r
-  border-left: 5px solid #dddddd;\r
-  color: #777777;\r
+  border-left: 5px solid #f0f0f0;\r
+  color: #888;\r
 }\r
 \r
 div.quoteblock > div.attribution {\r
@@ -180,8 +193,9 @@ div.quoteblock > div.attribution {
   text-align: right;\r
 }\r
 \r
-div.verseblock > div.content {\r
-  white-space: pre;\r
+div.verseblock > pre.content {\r
+  font-family: inherit;\r
+  font-size: inherit;\r
 }\r
 div.verseblock > div.attribution {\r
   padding-top: 0.75em;\r
@@ -211,7 +225,7 @@ div.exampleblock > div.content {
 }\r
 \r
 div.imageblock div.content { padding-left: 0; }\r
-span.image img { border-style: none; }\r
+span.image img { border-style: none; vertical-align: text-bottom; }\r
 a.image:visited { color: white; }\r
 \r
 dl {\r
@@ -254,35 +268,12 @@ div.compact div, div.compact div {
   margin-bottom: 0.1em;\r
 }\r
 \r
-div.tableblock > table {\r
-  border: 3px solid #527bbd;\r
-}\r
-thead, p.table.header {\r
-  font-family: sans-serif;\r
-  font-weight: bold;\r
-}\r
 tfoot {\r
   font-weight: bold;\r
 }\r
 td > div.verse {\r
   white-space: pre;\r
 }\r
-p.table {\r
-  margin-top: 0;\r
-}\r
-/* Because the table frame attribute is overriden by CSS in most browsers. */\r
-div.tableblock > table[frame="void"] {\r
-  border-style: none;\r
-}\r
-div.tableblock > table[frame="hsides"] {\r
-  border-left-style: none;\r
-  border-right-style: none;\r
-}\r
-div.tableblock > table[frame="vsides"] {\r
-  border-top-style: none;\r
-  border-bottom-style: none;\r
-}\r
-\r
 \r
 div.hdlist {\r
   margin-top: 0.8em;\r
@@ -339,25 +330,32 @@ span.footnote, span.footnoteref {
   min-width: 100px;\r
 }\r
 \r
+div.colist td {\r
+  padding-right: 0.5em;\r
+  padding-bottom: 0.3em;\r
+  vertical-align: top;\r
+}\r
+div.colist td img {\r
+  margin-top: 0.3em;\r
+}\r
 \r
 @media print {\r
-  div#footer-badges { display: none; }\r
+  #footer-badges { display: none; }\r
 }\r
 \r
-div#toc {\r
+#toc {\r
   margin-bottom: 2.5em;\r
 }\r
 \r
-div#toctitle {\r
+#toctitle {\r
   color: #527bbd;\r
-  font-family: sans-serif;\r
   font-size: 1.1em;\r
   font-weight: bold;\r
   margin-top: 1.0em;\r
   margin-bottom: 0.1em;\r
 }\r
 \r
-div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {\r
+div.toclevel0, div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {\r
   margin-top: 0;\r
   margin-bottom: 0;\r
 }\r
@@ -373,51 +371,173 @@ div.toclevel4 {
   margin-left: 6em;\r
   font-size: 0.9em;\r
 }\r
-/* Workarounds for IE6's broken and incomplete CSS2. */\r
 \r
-div.sidebar-content {\r
-  background: #ffffee;\r
-  border: 1px solid silver;\r
-  padding: 0.5em;\r
+span.aqua { color: aqua; }\r
+span.black { color: black; }\r
+span.blue { color: blue; }\r
+span.fuchsia { color: fuchsia; }\r
+span.gray { color: gray; }\r
+span.green { color: green; }\r
+span.lime { color: lime; }\r
+span.maroon { color: maroon; }\r
+span.navy { color: navy; }\r
+span.olive { color: olive; }\r
+span.purple { color: purple; }\r
+span.red { color: red; }\r
+span.silver { color: silver; }\r
+span.teal { color: teal; }\r
+span.white { color: white; }\r
+span.yellow { color: yellow; }\r
+\r
+span.aqua-background { background: aqua; }\r
+span.black-background { background: black; }\r
+span.blue-background { background: blue; }\r
+span.fuchsia-background { background: fuchsia; }\r
+span.gray-background { background: gray; }\r
+span.green-background { background: green; }\r
+span.lime-background { background: lime; }\r
+span.maroon-background { background: maroon; }\r
+span.navy-background { background: navy; }\r
+span.olive-background { background: olive; }\r
+span.purple-background { background: purple; }\r
+span.red-background { background: red; }\r
+span.silver-background { background: silver; }\r
+span.teal-background { background: teal; }\r
+span.white-background { background: white; }\r
+span.yellow-background { background: yellow; }\r
+\r
+span.big { font-size: 2em; }\r
+span.small { font-size: 0.6em; }\r
+\r
+span.underline { text-decoration: underline; }\r
+span.overline { text-decoration: overline; }\r
+span.line-through { text-decoration: line-through; }\r
+\r
+div.unbreakable { page-break-inside: avoid; }\r
+\r
+\r
+/*\r
+ * xhtml11 specific\r
+ *\r
+ * */\r
+\r
+div.tableblock {\r
+  margin-top: 1.0em;\r
+  margin-bottom: 1.5em;\r
 }\r
-div.sidebar-title, div.image-title {\r
+div.tableblock > table {\r
+  border: 3px solid #527bbd;\r
+}\r
+thead, p.table.header {\r
+  font-weight: bold;\r
   color: #527bbd;\r
-  font-family: sans-serif;\r
+}\r
+p.table {\r
+  margin-top: 0;\r
+}\r
+/* Because the table frame attribute is overriden by CSS in most browsers. */\r
+div.tableblock > table[frame="void"] {\r
+  border-style: none;\r
+}\r
+div.tableblock > table[frame="hsides"] {\r
+  border-left-style: none;\r
+  border-right-style: none;\r
+}\r
+div.tableblock > table[frame="vsides"] {\r
+  border-top-style: none;\r
+  border-bottom-style: none;\r
+}\r
+\r
+\r
+/*\r
+ * html5 specific\r
+ *\r
+ * */\r
+\r
+table.tableblock {\r
+  margin-top: 1.0em;\r
+  margin-bottom: 1.5em;\r
+}\r
+thead, p.tableblock.header {\r
   font-weight: bold;\r
-  margin-top: 0.0em;\r
-  margin-bottom: 0.5em;\r
+  color: #527bbd;\r
+}\r
+p.tableblock {\r
+  margin-top: 0;\r
+}\r
+table.tableblock {\r
+  border-width: 3px;\r
+  border-spacing: 0px;\r
+  border-style: solid;\r
+  border-color: #527bbd;\r
+  border-collapse: collapse;\r
+}\r
+th.tableblock, td.tableblock {\r
+  border-width: 1px;\r
+  padding: 4px;\r
+  border-style: solid;\r
+  border-color: #527bbd;\r
 }\r
 \r
-div.listingblock div.content {\r
-  border: 1px solid silver;\r
-  background: #f4f4f4;\r
-  padding: 0.5em;\r
+table.tableblock.frame-topbot {\r
+  border-left-style: hidden;\r
+  border-right-style: hidden;\r
+}\r
+table.tableblock.frame-sides {\r
+  border-top-style: hidden;\r
+  border-bottom-style: hidden;\r
+}\r
+table.tableblock.frame-none {\r
+  border-style: hidden;\r
 }\r
 \r
-div.quoteblock-attribution {\r
-  padding-top: 0.5em;\r
+th.tableblock.halign-left, td.tableblock.halign-left {\r
+  text-align: left;\r
+}\r
+th.tableblock.halign-center, td.tableblock.halign-center {\r
+  text-align: center;\r
+}\r
+th.tableblock.halign-right, td.tableblock.halign-right {\r
   text-align: right;\r
 }\r
 \r
-div.verseblock-content {\r
-  white-space: pre;\r
+th.tableblock.valign-top, td.tableblock.valign-top {\r
+  vertical-align: top;\r
 }\r
-div.verseblock-attribution {\r
-  padding-top: 0.75em;\r
-  text-align: left;\r
+th.tableblock.valign-middle, td.tableblock.valign-middle {\r
+  vertical-align: middle;\r
+}\r
+th.tableblock.valign-bottom, td.tableblock.valign-bottom {\r
+  vertical-align: bottom;\r
 }\r
 \r
-div.exampleblock-content {\r
-  border-left: 3px solid #dddddd;\r
-  padding-left: 0.5em;\r
+\r
+/*\r
+ * manpage specific\r
+ *\r
+ * */\r
+\r
+body.manpage h1 {\r
+  padding-top: 0.5em;\r
+  padding-bottom: 0.5em;\r
+  border-top: 2px solid silver;\r
+  border-bottom: 2px solid silver;\r
 }\r
+body.manpage h2 {\r
+  border-style: none;\r
+}\r
+body.manpage div.sectionbody {\r
+  margin-left: 3em;\r
+}\r
+\r
+@media print {\r
+  body.manpage div#toc { display: none; }\r
+}\r
+\r
 \r
-/* IE6 sets dynamically generated links as visited. */\r
-div#toc a:visited { color: blue; }\r
 </style>\r
 <script type="text/javascript">\r
 /*<![CDATA[*/\r
-window.onload = function(){asciidoc.footnotes();}\r
 var asciidoc = {  // Namespace.\r
 \r
 /////////////////////////////////////////////////////////////////////\r
@@ -459,7 +579,7 @@ toc: function (toclevels) {
 \r
   function tocEntries(el, toclevels) {\r
     var result = new Array;\r
-    var re = new RegExp('[hH]([2-'+(toclevels+1)+'])');\r
+    var re = new RegExp('[hH]([1-'+(toclevels+1)+'])');\r
     // Function that scans the DOM tree for header elements (the DOM2\r
     // nodeIterator API would be a better technique but not supported by all\r
     // browsers).\r
@@ -479,6 +599,25 @@ toc: function (toclevels) {
   }\r
 \r
   var toc = document.getElementById("toc");\r
+  if (!toc) {\r
+    return;\r
+  }\r
+\r
+  // Delete existing TOC entries in case we're reloading the TOC.\r
+  var tocEntriesToRemove = [];\r
+  var i;\r
+  for (i = 0; i < toc.childNodes.length; i++) {\r
+    var entry = toc.childNodes[i];\r
+    if (entry.nodeName.toLowerCase() == 'div'\r
+     && entry.getAttribute("class")\r
+     && entry.getAttribute("class").match(/^toclevel/))\r
+      tocEntriesToRemove.push(entry);\r
+  }\r
+  for (i = 0; i < tocEntriesToRemove.length; i++) {\r
+    toc.removeChild(tocEntriesToRemove[i]);\r
+  }\r
+\r
+  // Rebuild TOC entries.\r
   var entries = tocEntries(document.getElementById("content"), toclevels);\r
   for (var i = 0; i < entries.length; ++i) {\r
     var entry = entries[i];\r
@@ -506,24 +645,44 @@ toc: function (toclevels) {
  */\r
 \r
 footnotes: function () {\r
-  var cont = document.getElementById("content");\r
+  // Delete existing footnote entries in case we're reloading the footnodes.\r
+  var i;\r
   var noteholder = document.getElementById("footnotes");\r
+  if (!noteholder) {\r
+    return;\r
+  }\r
+  var entriesToRemove = [];\r
+  for (i = 0; i < noteholder.childNodes.length; i++) {\r
+    var entry = noteholder.childNodes[i];\r
+    if (entry.nodeName.toLowerCase() == 'div' && entry.getAttribute("class") == "footnote")\r
+      entriesToRemove.push(entry);\r
+  }\r
+  for (i = 0; i < entriesToRemove.length; i++) {\r
+    noteholder.removeChild(entriesToRemove[i]);\r
+  }\r
+\r
+  // Rebuild footnote entries.\r
+  var cont = document.getElementById("content");\r
   var spans = cont.getElementsByTagName("span");\r
   var refs = {};\r
   var n = 0;\r
   for (i=0; i<spans.length; i++) {\r
     if (spans[i].className == "footnote") {\r
       n++;\r
-      // Use [\s\S] in place of . so multi-line matches work.\r
-      // Because JavaScript has no s (dotall) regex flag.\r
-      note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1];\r
+      var note = spans[i].getAttribute("data-note");\r
+      if (!note) {\r
+        // Use [\s\S] in place of . so multi-line matches work.\r
+        // Because JavaScript has no s (dotall) regex flag.\r
+        note = spans[i].innerHTML.match(/\s*\[([\s\S]*)]\s*/)[1];\r
+        spans[i].innerHTML =\r
+          "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n +\r
+          "' title='View footnote' class='footnote'>" + n + "</a>]";\r
+        spans[i].setAttribute("data-note", note);\r
+      }\r
       noteholder.innerHTML +=\r
         "<div class='footnote' id='_footnote_" + n + "'>" +\r
         "<a href='#_footnoteref_" + n + "' title='Return to text'>" +\r
         n + "</a>. " + note + "</div>";\r
-      spans[i].innerHTML =\r
-        "[<a id='_footnoteref_" + n + "' href='#_footnote_" + n +\r
-        "' title='View footnote' class='footnote'>" + n + "</a>]";\r
       var id =spans[i].getAttribute("id");\r
       if (id != null) refs["#"+id] = n;\r
     }\r
@@ -543,25 +702,53 @@ footnotes: function () {
       }\r
     }\r
   }\r
+},\r
+\r
+install: function(toclevels) {\r
+  var timerId;\r
+\r
+  function reinstall() {\r
+    asciidoc.footnotes();\r
+    if (toclevels) {\r
+      asciidoc.toc(toclevels);\r
+    }\r
+  }\r
+\r
+  function reinstallAndRemoveTimer() {\r
+    clearInterval(timerId);\r
+    reinstall();\r
+  }\r
+\r
+  timerId = setInterval(reinstall, 500);\r
+  if (document.addEventListener)\r
+    document.addEventListener("DOMContentLoaded", reinstallAndRemoveTimer, false);\r
+  else\r
+    window.onload = reinstallAndRemoveTimer;\r
 }\r
 \r
 }\r
+asciidoc.install();\r
 /*]]>*/\r
 </script>\r
 </head>\r
-<body>\r
+<body class="article">\r
 <div id="header">\r
 <h1>ZSH-LOVERS(1)</h1>\r
 </div>\r
 <div id="content">\r
+<div class="sect1">\r
 <h2 id="_name">NAME</h2>\r
 <div class="sectionbody">\r
 <div class="paragraph"><p>zsh-lovers - tips, tricks and examples for the Z shell</p></div>\r
 </div>\r
+</div>\r
+<div class="sect1">\r
 <h2 id="_synopsis">SYNOPSIS</h2>\r
 <div class="sectionbody">\r
 <div class="paragraph"><p>Just read it. ;-)</p></div>\r
 </div>\r
+</div>\r
+<div class="sect1">\r
 <h2 id="_overview">OVERVIEW</h2>\r
 <div class="sectionbody">\r
 <div class="paragraph"><p>Whenever we look at the zsh manual we wonder why there are no examples or those\r
@@ -575,6 +762,8 @@ details.</p></div>
 just a just for fun - manpage ;)<br />\r
 For comments, bugreports and feedback take a quick look at the section <strong>BUGS</strong>.</p></div>\r
 </div>\r
+</div>\r
+<div class="sect1">\r
 <h2 id="_shell_scripting">SHELL-SCRIPTING</h2>\r
 <div class="sectionbody">\r
 <div class="paragraph"><p>This section provides some examples for often needed shellscript-stuff. Notice\r
@@ -583,7 +772,7 @@ Parse options in shellscripts. Example taken from ZWS by Adam Chodorowski
 (<a href="http://www.chodorowski.com/projects/zws/">http://www.chodorowski.com/projects/zws/</a>):</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>parse_options()\r
+<pre><code>parse_options()\r
 {\r
     o_port=(-p 9999)\r
     o_root=(-r WWW)\r
@@ -602,21 +791,24 @@ Parse options in shellscripts. Example taken from ZWS by Adam Chodorowski
     if [[ $root[1] != '/' ]]; then root="$PWD/$root"; fi\r
 }\r
 # now use the function:\r
-parse_options $*</tt></pre>\r
+parse_options $*</code></pre>\r
 </div></div>\r
 </div>\r
+</div>\r
+<div class="sect1">\r
 <h2 id="_examples">EXAMPLES</h2>\r
 <div class="sectionbody">\r
 <div class="paragraph"><p>Available subsections are <strong>Aliases</strong>, <strong>Completion</strong>, <strong>Unsorted/Misc examples</strong>,\r
 <strong>(Recursive) Globbing - Examples</strong>, <strong>Modifiers usage</strong>, <strong>Redirection-Examples</strong>,\r
 <strong>ZMV-Examples</strong> and <strong>Module-Examples</strong>.</p></div>\r
-<h3 id="_aliases">ALIASES</h3><div style="clear:left"></div>\r
+<div class="sect2">\r
+<h3 id="_aliases">ALIASES</h3>\r
 <div class="paragraph"><p>Suffix aliases are supported in zsh since version 4.2.0. Some examples:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>alias -s tex=vim\r
+<pre><code>alias -s tex=vim\r
 alias -s html=w3m\r
-alias -s org=w3m</tt></pre>\r
+alias -s org=w3m</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Now pressing return-key after entering <em>foobar.tex</em> starts vim with\r
 foobar.tex. Calling a html-file runs browser w3m. <em>www.zsh.org</em> and pressing\r
@@ -624,15 +816,15 @@ enter starts w3m with argument www.zsh.org.<br />
 Global aliases can be used anywhere in the command line. Example:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>$ alias -g C='| wc -l'\r
+<pre><code>$ alias -g C='| wc -l'\r
 $ grep alias ~/.zsh/* C\r
-443</tt></pre>\r
+443</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Some more or less useful global aliases (choose whether they are useful  or not\r
 for you on your own):</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>alias -g ...='../..'\r
+<pre><code>alias -g ...='../..'\r
 alias -g ....='../../..'\r
 alias -g .....='../../../..'\r
 alias -g CA="2&gt;&amp;1 | cat -A"\r
@@ -670,9 +862,11 @@ alias -g VM=/var/log/messages
 alias -g X0G='| xargs -0 egrep'\r
 alias -g X0='| xargs -0'\r
 alias -g XG='| xargs egrep'\r
-alias -g X='| xargs'</tt></pre>\r
+alias -g X='| xargs'</code></pre>\r
 </div></div>\r
-<h3 id="_completion">COMPLETION</h3><div style="clear:left"></div>\r
+</div>\r
+<div class="sect2">\r
+<h3 id="_completion">COMPLETION</h3>\r
 <div class="paragraph"><p>See also man 1 zshcompctl zshcompsys zshcompwid. zshcompctl is the old\r
 style of zsh programmable completion, zshcompsys is the new completion\r
 system, zshcompwid are the zsh completion widgets.</p></div>\r
@@ -681,69 +875,69 @@ in order to proxy the list of  results  (like  the  list  of  available
 debian packages) Use a cache:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>zstyle ':completion:*' use-cache on\r
-zstyle ':completion:*' cache-path ~/.zsh/cache</tt></pre>\r
+<pre><code>zstyle ':completion:*' use-cache on\r
+zstyle ':completion:*' cache-path ~/.zsh/cache</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Prevent CVS files/directories from being completed:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>zstyle ':completion:*:(all-|)files' ignored-patterns '(|*/)CVS'\r
-zstyle ':completion:*:cd:*' ignored-patterns '(*/)#CVS'</tt></pre>\r
+<pre><code>zstyle ':completion:*:(all-|)files' ignored-patterns '(|*/)CVS'\r
+zstyle ':completion:*:cd:*' ignored-patterns '(*/)#CVS'</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Fuzzy matching of completions for when you mistype them:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>zstyle ':completion:*' completer _complete _match _approximate\r
+<pre><code>zstyle ':completion:*' completer _complete _match _approximate\r
 zstyle ':completion:*:match:*' original only\r
-zstyle ':completion:*:approximate:*' max-errors 1 numeric</tt></pre>\r
+zstyle ':completion:*:approximate:*' max-errors 1 numeric</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>And  if  you  want  the  number  of  errors  allowed by _approximate to\r
 increase with the length of what you have typed so far:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>zstyle -e ':completion:*:approximate:*' \\r
-        max-errors 'reply=($((($#PREFIX+$#SUFFIX)/3))numeric)'</tt></pre>\r
+<pre><code>zstyle -e ':completion:*:approximate:*' \\r
+        max-errors 'reply=($((($#PREFIX+$#SUFFIX)/3))numeric)'</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Ignore completion functions for commands you don&#8217;t have:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>zstyle ':completion:*:functions' ignored-patterns '_*'</tt></pre>\r
+<pre><code>zstyle ':completion:*:functions' ignored-patterns '_*'</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>With helper functions like:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>xdvi() { command xdvi ${*:-*.dvi(om[1])} }</tt></pre>\r
+<pre><code>xdvi() { command xdvi ${*:-*.dvi(om[1])} }</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>you can avoid having to complete at all in many cases, but if  you  do,\r
 you  might want to fall into menu selection immediately and to have the\r
 words sorted by time:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>zstyle ':completion:*:*:xdvi:*' menu yes select\r
-zstyle ':completion:*:*:xdvi:*' file-sort time</tt></pre>\r
+<pre><code>zstyle ':completion:*:*:xdvi:*' menu yes select\r
+zstyle ':completion:*:*:xdvi:*' file-sort time</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Completing process IDs with menu selection:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>zstyle ':completion:*:*:kill:*' menu yes select\r
-zstyle ':completion:*:kill:*'   force-list always</tt></pre>\r
+<pre><code>zstyle ':completion:*:*:kill:*' menu yes select\r
+zstyle ':completion:*:kill:*'   force-list always</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>If you end up using a directory  as  argument,  this  will  remove  the\r
 trailing slash (usefull in ln)</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>zstyle ':completion:*' squeeze-slashes true</tt></pre>\r
+<pre><code>zstyle ':completion:*' squeeze-slashes true</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>cd will never select the parent directory (e.g.: cd ../&lt;TAB&gt;):</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>zstyle ':completion:*:cd:*' ignore-parents parent pwd</tt></pre>\r
+<pre><code>zstyle ':completion:*:cd:*' ignore-parents parent pwd</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Another method for <em>quick change directories</em>. Add this to your ~/.zshrc, then just enter\r
 &#8220;cd &#8230;./dir&#8221;</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>rationalise-dot() {\r
+<pre><code>rationalise-dot() {\r
   if [[ $LBUFFER = *.. ]]; then\r
     LBUFFER+=/..\r
   else\r
@@ -751,14 +945,16 @@ trailing slash (usefull in ln)</p></div>
   fi\r
 }\r
 zle -N rationalise-dot\r
-bindkey . rationalise-dot</tt></pre>\r
+bindkey . rationalise-dot</code></pre>\r
 </div></div>\r
-<h3 id="_unsorted_misc_examples">UNSORTED/MISC examples</h3><div style="clear:left"></div>\r
+</div>\r
+<div class="sect2">\r
+<h3 id="_unsorted_misc_examples">UNSORTED/MISC examples</h3>\r
 <div class="paragraph"><p>Hint: A list of valid glob Qualifiers can be found in zshexpn(1).\r
 See &#8220;man 1 zshexpn | less -p&#8221; Qualifiers for details.</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt># Get the names of all files that *don't* match a pattern *anywhere* on the\r
+<pre><code># Get the names of all files that *don't* match a pattern *anywhere* on the\r
 # file (and without ``-L'' because its GNUish)\r
   $ print -rl -- *(.^e{'grep -q pattern $REPLY'})\r
   # or\r
@@ -1080,21 +1276,23 @@ See &#8220;man 1 zshexpn | less -p&#8221; Qualifiers for details.</p></div>
   &gt;    echo "Penguin on board."\r
   &gt; else\r
   &gt;    echo "Not a Linux."\r
-  &gt; fi</tt></pre>\r
+  &gt; fi</code></pre>\r
 </div></div>\r
-<h3 id="_recursive_globbing_examples">(Recursive) Globbing - Examples</h3><div style="clear:left"></div>\r
+</div>\r
+<div class="sect2">\r
+<h3 id="_recursive_globbing_examples">(Recursive) Globbing - Examples</h3>\r
 <div class="paragraph"><p>A list of valid glob Qualifiers can be found in zshexpn(1). <strong>Note:</strong>\r
 **/ is equivalent to (*/)#! For example:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>$ print (*/)#zsh_us.ps\r
+<pre><code>$ print (*/)#zsh_us.ps\r
 zsh-4.2.3/Doc/zsh_us.ps\r
 $ print **/zsh_us.ps\r
-zsh-4.2.3/Doc/zsh_us.ps</tt></pre>\r
+zsh-4.2.3/Doc/zsh_us.ps</code></pre>\r
 </div></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt># Search for `README' in all Subdirectories\r
+<pre><code># Search for `README' in all Subdirectories\r
   $ ls -l **/README\r
 \r
 # find directories that contain both "index.php" and "index.html", or in\r
@@ -1240,15 +1438,17 @@ zsh-4.2.3/Doc/zsh_us.ps</tt></pre>
   $ rmdir ./**/*(/od) 2&gt; /dev/null\r
 \r
 # Show only files which are owned by group `users'.\r
-  $ ls -l *(G[users])</tt></pre>\r
+  $ ls -l *(G[users])</code></pre>\r
 </div></div>\r
-<h3 id="_modifiers_usage">Modifiers usage</h3><div style="clear:left"></div>\r
+</div>\r
+<div class="sect2">\r
+<h3 id="_modifiers_usage">Modifiers usage</h3>\r
 <div class="paragraph"><p>Modifiers are a powerful mechanism that let you modify the results\r
 returned by parameter, filename and history expansion. See zshexpn(1)\r
 for details.</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt># NOTE: Zsh 4.3.4 needed!\r
+<pre><code># NOTE: Zsh 4.3.4 needed!\r
   $ autoload -U age\r
 # files modified today\r
   $ print *(e:age today now:)\r
@@ -1328,13 +1528,15 @@ for details.</p></div>
 # convert 1st char of a word to uppercase\r
   $ foo="one two three four"\r
   $ print -r -- "${(C)foo}"\r
-  One Two Three Four</tt></pre>\r
+  One Two Three Four</code></pre>\r
 </div></div>\r
-<h3 id="_redirection_examples">Redirection-Examples</h3><div style="clear:left"></div>\r
+</div>\r
+<div class="sect2">\r
+<h3 id="_redirection_examples">Redirection-Examples</h3>\r
 <div class="paragraph"><p>See zshmisc(1) for more informations (or less ${^fpath}/zmv(N))</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt># Append `exit 1' at the end of all *.sh - files\r
+<pre><code># Append `exit 1' at the end of all *.sh - files\r
   $ echo "exit 1" &gt;&gt; *.sh\r
 \r
 # adding files to foobar.tar.gz\r
@@ -1380,13 +1582,15 @@ for details.</p></div>
 \r
 # More fun with STDERR ;)\r
   $ ./my-script.sh 2&gt; &gt;(grep -v moron &gt;error.log)|process-output &gt;output.log\r
-  $  echo "Thats STDOUT" &gt;&gt;(sed 's/stdout/another example/' &gt; foobar)</tt></pre>\r
+  $  echo "Thats STDOUT" &gt;&gt;(sed 's/stdout/another example/' &gt; foobar)</code></pre>\r
 </div></div>\r
-<h3 id="_zmv_examples_require_autoload_zmv">ZMV-Examples (require autoload zmv)</h3><div style="clear:left"></div>\r
+</div>\r
+<div class="sect2">\r
+<h3 id="_zmv_examples_require_autoload_zmv">ZMV-Examples (require autoload zmv)</h3>\r
 <div class="paragraph"><p><strong>Note:</strong> <em>-n</em> means no execution (just print what would happen). At</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt># Remove illegal characters in a fat32 file system. Illegal characters are\r
+<pre><code># Remove illegal characters in a fat32 file system. Illegal characters are\r
 #   / :  ;  *  ?  "  &lt;  &gt;  |\r
 # NOTE: ``-Q'' and (D) is to include hidden files.\r
   $ unwanted='[:;*?\"&lt;&gt;|]'\r
@@ -1543,32 +1747,39 @@ for details.</p></div>
 # Rename pic1.jpg, pic2.jpg, .. to pic0001.jpg, pic0002.jpg, ..\r
   $ autoload zmv\r
   $ zmv 'pic(*).jpg' 'pic${(l:4::0:)1}.jpg'\r
-  $ zmv '(**/)pic(*).jpg' '$1/pic${(l:4::0:)2}.jpg' # recursively</tt></pre>\r
+  $ zmv '(**/)pic(*).jpg' '$1/pic${(l:4::0:)2}.jpg' # recursively</code></pre>\r
 </div></div>\r
-<h3 id="_module_examples">Module-Examples</h3><div style="clear:left"></div>\r
+</div>\r
+<div class="sect2">\r
+<h3 id="_module_examples">Module-Examples</h3>\r
 <div class="paragraph"><p>Please read zshmodules(1) first!</p></div>\r
+<div class="sect3">\r
 <h4 id="_zsh_pcre_require_zmodload_zsh_pcre">zsh/pcre (require zmodload zsh/pcre)</h4>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt># Copy files of a certain period (date indicated in the filenames)\r
+<pre><code># Copy files of a certain period (date indicated in the filenames)\r
   $ zmodload zsh/pcre\r
   $ ls -d -- *(e:'[[ $REPLY -pcre-match pcre-regexp ]]':)\r
   # or\r
   $ m() { [[ $1 -pcre-match pcre-regexp ]] }\r
-  $ ls -d -- *(+m)</tt></pre>\r
+  $ ls -d -- *(+m)</code></pre>\r
 </div></div>\r
+</div>\r
+<div class="sect3">\r
 <h4 id="_zsh_clone_require_zmodload_zsh_clone">zsh/clone (require zmodload zsh/clone)</h4>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt># Creates a forked instance of the current shell ($! is set to zero) and\r
+<pre><code># Creates a forked instance of the current shell ($! is set to zero) and\r
 # execute ``command'' on /dev/tty8 (for this example).\r
   $ zmodload zsh/clone\r
-  $ clone /dev/tty8 &amp;&amp; (($! == 0)) &amp;&amp; exec command</tt></pre>\r
+  $ clone /dev/tty8 &amp;&amp; (($! == 0)) &amp;&amp; exec command</code></pre>\r
 </div></div>\r
+</div>\r
+<div class="sect3">\r
 <h4 id="_zsh_datetime_require_zmodload_zsh_datetime">zsh/datetime (require zmodload zsh/datetime)</h4>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>  $ zmodload zsh/datetime\r
+<pre><code>  $ zmodload zsh/datetime\r
   $ alias datereplacement='strftime "%Y-%m-%d" $EPOCHSECONDS'\r
   $ export DATE=`datereplacement`\r
   $ echo $DATE\r
@@ -1590,12 +1801,14 @@ for details.</p></div>
   $ strftime -s file "abc_de_%m%d%Y.dat" $((EPOCHSECONDS - 24 * 60 * 60 ))\r
   $ files=(**/$file(N.L0))\r
   $ (( $#files &gt; 0 )) &amp;&amp; print -rl -- $files | \\r
-    mailx -s "empty files"  foo@bar.tdl</tt></pre>\r
+    mailx -s "empty files"  foo@bar.tdl</code></pre>\r
 </div></div>\r
+</div>\r
+<div class="sect3">\r
 <h4 id="_zsh_stat_require_zmodload_zsh_stat">zsh/stat (require zmodload zsh/stat)</h4>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt># test if a symbolic link links to a certain file\r
+<pre><code># test if a symbolic link links to a certain file\r
   $ zmodload -i zsh/stat\r
   $ ! stat -LH s foo.ln || [[ $s[link] != "foo.exe" ]] || ln -sf foo.exe foo.ln\r
 \r
@@ -1667,21 +1880,25 @@ for details.</p></div>
   $ stat -F '%d %m %Y' +mtime ~/.zshrc\r
   30 06 2004\r
   $ stat -F '%D' +mtime ~/.zshrc\r
-  06/30/04</tt></pre>\r
+  06/30/04</code></pre>\r
 </div></div>\r
+</div>\r
+<div class="sect3">\r
 <h4 id="_zsh_files_require_zmodload_zsh_files">zsh/files (require zmodload zsh/files)</h4>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt># search a directory for files containing a certain string then copy those\r
+<pre><code># search a directory for files containing a certain string then copy those\r
 # files to another directory.\r
   $ zmodload zsh/files\r
   $ IFS=$'\0'\r
-  $ cp $(grep -lZr foobar .) otherdirectory</tt></pre>\r
+  $ cp $(grep -lZr foobar .) otherdirectory</code></pre>\r
 </div></div>\r
+</div>\r
+<div class="sect3">\r
 <h4 id="_zsh_mapfile_require_zmodload_zsh_mapfile">zsh/mapfile (require zmodload zsh/mapfile)</h4>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt># grepping for two patterns\r
+<pre><code># grepping for two patterns\r
   $ zmodload zsh/mapfile\r
   $ pattern1="foo"\r
   $ pattern2="bar foo"\r
@@ -1721,12 +1938,14 @@ for details.</p></div>
 # end of the filename\r
   $ autoload -U zmv\r
   $ zmodload zsh/mapfile\r
-  $ zmv '(*).ps' '$1-${${${mapfile[$f]##*%%Title: }%% *}//[^a-zA-Z0-9_]/}.ps'</tt></pre>\r
+  $ zmv '(*).ps' '$1-${${${mapfile[$f]##*%%Title: }%% *}//[^a-zA-Z0-9_]/}.ps'</code></pre>\r
 </div></div>\r
+</div>\r
+<div class="sect3">\r
 <h4 id="_zsh_mathfunc_require_zmodload_zsh_mathfunc">zsh/mathfunc (require zmodload zsh/mathfunc)</h4>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>$ zmodload zsh/mathfunc\r
+<pre><code>$ zmodload zsh/mathfunc\r
 $ echo $(( sin(1/4.0)**2 + cos(1/4.0)**2 - 1 ))\r
   -1.1102230246251565e-16\r
 $ echo $(( pi = 4.0 * atan(1.0) ))\r
@@ -1736,22 +1955,26 @@ $ echo $(( f = sin(0.3) ))
 $ print $((1e12 * rand48()))\r
   847909677310.23413\r
 $ print $(( rand48(seed) ))\r
-  0.01043488334700271</tt></pre>\r
+  0.01043488334700271</code></pre>\r
 </div></div>\r
+</div>\r
+<div class="sect3">\r
 <h4 id="_zsh_termcap_require_zmodload_zsh_termcap">zsh/termcap (require zmodload zsh/termcap)</h4>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt> $ zmodload -ab zsh/termcap echotc\r
+<pre><code> $ zmodload -ab zsh/termcap echotc\r
  $ GREEN=`echotc AF 2`\r
  $ YELLOW=`echotc AF 3`\r
  $ RED=`echotc AF 1`\r
  $ BRIGHTRED=`echotc md ; echotc AF 1`\r
- $ print -l ${GREEN}green ${YELLOW}yellow ${RED}red ${BRIGHTRED}brightred</tt></pre>\r
+ $ print -l ${GREEN}green ${YELLOW}yellow ${RED}red ${BRIGHTRED}brightred</code></pre>\r
 </div></div>\r
+</div>\r
+<div class="sect3">\r
 <h4 id="_zsh_zpty_require_zmodload_zsh_zpty">zsh/zpty (require zmodload zsh/zpty)</h4>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>  $ zmodload zsh/zpty\r
+<pre><code>  $ zmodload zsh/zpty\r
   $ zpty PW passwd $1\r
   $ zpty PW passwd $1\r
 # ``-r'': read the output of the command name.\r
@@ -1765,12 +1988,14 @@ $ print $(( rand48(seed) ))
 # previously started, by supplying a list of their names. If no names\r
 # are given, all commands are deleted. Deleting a command causes the HUP\r
 # signal to be sent to the corresponding process.\r
-  $ zpty -d PW</tt></pre>\r
+  $ zpty -d PW</code></pre>\r
 </div></div>\r
+</div>\r
+<div class="sect3">\r
 <h4 id="_zsh_net_socket_require_zmodload_zsh_net_socket">zsh/net/socket (require zmodload zsh/net/socket)</h4>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt># ``-l'': open a socket listening on filename\r
+<pre><code># ``-l'': open a socket listening on filename\r
 # ``-d'': argument will be taken as the target file descriptor for the\r
 #         connection\r
 # ``3'' : file descriptor. See ``A User's Guide to the Z-Shell''\r
@@ -1782,12 +2007,14 @@ $ print $(( rand48(seed) ))
   $ zsocket -a -d 5 3 # accept a connection\r
   $ echo foobar &gt;&amp;4\r
   $ echo barfoo &gt;&amp;5\r
-  $ 4&gt;&amp;- 5&gt;&amp;- 3&gt;&amp;</tt></pre>\r
+  $ 4&gt;&amp;- 5&gt;&amp;- 3&gt;&amp;</code></pre>\r
 </div></div>\r
+</div>\r
+<div class="sect3">\r
 <h4 id="_zsh_zftp_require_zmodload_zsh_zftp">zsh/zftp (require zmodload zsh/zftp)</h4>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt> $ autoload -U zfinit\r
+<pre><code> $ autoload -U zfinit\r
  $ zfinit\r
  $ zfparams www.example.invalid myuserid mypassword\r
  $ zfopen\r
@@ -1833,12 +2060,14 @@ $ print $(( rand48(seed) ))
 # If the list.txt is located on the remote host, change to\r
 # zfget ${(f)"$(zftp get /path/to/remote/list.txt)"}\r
   $ zfget ${(f)"$(cat list.txt)"}\r
-  $ zfclose</tt></pre>\r
+  $ zfclose</code></pre>\r
 </div></div>\r
+</div>\r
+<div class="sect3">\r
 <h4 id="_zsh_zselect_require_zmodload_zsh_zselect">zsh/zselect (require zmodload zsh/zselect)</h4>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt># It's similar to\r
+<pre><code># It's similar to\r
  ,----\r
  | $ sg=$(stty -g)\r
  | $ stty -icanon min 0 time 50\r
@@ -1854,55 +2083,71 @@ $ if zselect -t 500 -r 0 &amp;&amp; read yesno &amp;&amp; [ yes = "$yesno" ]; th
 &gt;    command1\r
 &gt; else\r
 &gt;    command1\r
-&gt; fi</tt></pre>\r
+&gt; fi</code></pre>\r
 </div></div>\r
 </div>\r
+</div>\r
+</div>\r
+</div>\r
+<div class="sect1">\r
 <h2 id="_options">OPTIONS</h2>\r
 <div class="sectionbody">\r
-<h3 id="_navigation_options">Navigation options</h3><div style="clear:left"></div>\r
+<div class="sect2">\r
+<h3 id="_navigation_options">Navigation options</h3>\r
 <div class="paragraph"><p><strong>auto_cd</strong> (allow one to change to a directory by entering it as a\r
 command). <strong>auto_pushd</strong> (automatically append dirs to the push/pop list)\r
 pushd_ignore_dups (and don&#8217;t duplicate them).</p></div>\r
-<h3 id="_misc">Misc</h3><div style="clear:left"></div>\r
+</div>\r
+<div class="sect2">\r
+<h3 id="_misc">Misc</h3>\r
 <div class="paragraph"><p><strong>no_hup</strong> (don&#8217;t send  HUP signal to background jobs when exiting ZSH).\r
 <strong>print_exit_value</strong> (show a message with the exit code when a command\r
 returns with a non-zero exit code)</p></div>\r
+<div class="sect3">\r
 <h4 id="_history_options">History options</h4>\r
 <div class="paragraph"><p><strong>hist_verify</strong> (let the user edit the command line after history\r
 expansion (e.g. !ls) instead of immediately running it)<br />\r
 Use the same history file for all sessions :<br />\r
 <strong>setopt SHARE_HISTORY</strong></p></div>\r
+</div>\r
+<div class="sect3">\r
 <h4 id="_privacy_security">Privacy / Security</h4>\r
 <div class="paragraph"><p><strong>no_clobber</strong>  (or set -C; prevent <em>&gt;</em> redirection from truncating\r
 the given file if it already exists)</p></div>\r
+</div>\r
+<div class="sect3">\r
 <h4 id="_spelling_correction">Spelling correction</h4>\r
 <div class="paragraph"><p><strong>correct</strong> (automatically correct the spelling of commands).\r
 <strong>correct_all</strong> (automatically correct the spelling of each word on the\r
 command line) <strong>dvorak</strong> (dvorak layout)</p></div>\r
 </div>\r
+</div>\r
+</div>\r
+</div>\r
+<div class="sect1">\r
 <h2 id="_unsorted_misc">UNSORTED/MISC</h2>\r
 <div class="sectionbody">\r
 <div class="paragraph"><p>Mailpath: simple multiple mailpath:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>mailpath=($HOME/Mail/mbox'?new mail in mbox'\r
+<pre><code>mailpath=($HOME/Mail/mbox'?new mail in mbox'\r
           $HOME/Mail/tux.u-strasbg'?new mail in tux'\r
           $HOME/Mail/lilo'?new mail in lilo'\r
-          $HOME/Mail/ldap-fr'?new mail in ldap-fr')</tt></pre>\r
+          $HOME/Mail/ldap-fr'?new mail in ldap-fr')</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Mailpath: dynamic mailpath:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>typeset -a mailpath\r
+<pre><code>typeset -a mailpath\r
 for i in ~/Mail/Lists/*(.); do\r
    mailpath[$#mailpath+1]="${i}?You have new mail in ${i:t}."\r
-done</tt></pre>\r
+done</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Avoid globbing on special commands:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>for com in alias expr find mattrib mcopy mdir mdel which;\r
-alias $com="noglob $com"</tt></pre>\r
+<pre><code>for com in alias expr find mattrib mcopy mdir mdel which;\r
+alias $com="noglob $com"</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>For migrating your bashprompt to zsh use the script bash2zshprompt located in\r
 the zsh source distribution under <em>Misc</em>.</p></div>\r
@@ -1917,7 +2162,7 @@ displayed, and to the command name and rest of the command line, respectively,
 when a command is executed:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>function title {\r
+<pre><code>function title {\r
       if [[ $TERM == "screen" ]]; then\r
         # Use these two for GNU Screen:\r
         print -nR $' 33k'$1$' 33'\\r
@@ -1932,20 +2177,22 @@ function preexec {
     emulate -L zsh\r
     local -a cmd; cmd=(${(z)1})\r
     title $cmd[1]:t "$cmd[2,-1]"\r
-}</tt></pre>\r
+}</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Put the following line into your ~/.screenrc to see this fancy hardstatus:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>caption always "%3n %t%? (%u)%?%?: %h%?"</tt></pre>\r
+<pre><code>caption always "%3n %t%? (%u)%?%?: %h%?"</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Special variables which are assigned:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>$LINENO $RANDOM $SECONDS $COLUMNS $HISTCHARS $UID\r
-$EUID $GID $EGID $USERNAME $fignore $mailpath $cdpath</tt></pre>\r
+<pre><code>$LINENO $RANDOM $SECONDS $COLUMNS $HISTCHARS $UID\r
+$EUID $GID $EGID $USERNAME $fignore $mailpath $cdpath</code></pre>\r
 </div></div>\r
 </div>\r
+</div>\r
+<div class="sect1">\r
 <h2 id="_links">LINKS</h2>\r
 <div class="sectionbody">\r
 <div class="dlist"><dl>\r
@@ -2127,6 +2374,8 @@ The Z shell reference-card (included in the zsh-lovers debian-package)
 </dd>\r
 </dl></div>\r
 </div>\r
+</div>\r
+<div class="sect1">\r
 <h2 id="_authors">AUTHORS</h2>\r
 <div class="sectionbody">\r
 <div class="paragraph"><p>This manpage was written by Michael Prokop, Christian <em>strcat</em>\r
@@ -2137,7 +2386,7 @@ Thanks for your cool and incredible tips. We learned much from you!</p></div>
 <div class="paragraph"><p>In alphabetic order:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>Andrew 'zefram' Main  - http://www.fysh.org/~zefram/\r
+<pre><code>Andrew 'zefram' Main  - http://www.fysh.org/~zefram/\r
 Barton E. Schaefer    - http://www.well.com/user/barts/\r
 Matthias Kopfermann   - http://www.infodrom.north.de/~matthi/\r
 Oliver Kiddle         - http://people.freenet.de/opk/\r
@@ -2146,15 +2395,17 @@ Peter Stephenson      - http://homepage.ntlworld.com/p.w.stephenson/
 Richard Coleman\r
 Stephane Chazelas     - http://stephane.chazelas.free.fr/\r
 Sven Guckes           - http://www.guckes.net/\r
-Sven Wischnowsky      - http://w9y.de/zsh/zshrc</tt></pre>\r
+Sven Wischnowsky      - http://w9y.de/zsh/zshrc</code></pre>\r
 </div></div>\r
 </div>\r
+</div>\r
+<div class="sect1">\r
 <h2 id="_see_also">SEE ALSO</h2>\r
 <div class="sectionbody">\r
 <div class="paragraph"><p>Manpages of zsh:</p></div>\r
 <div class="listingblock">\r
 <div class="content">\r
-<pre><tt>       zsh          Zsh overview\r
+<pre><code>       zsh          Zsh overview\r
        zshall       Tthe Z shell meta-man page\r
        zshbuiltins  Zsh built-in commands\r
        zshcalsys    zsh calendar system\r
@@ -2171,29 +2422,34 @@ Sven Wischnowsky      - http://w9y.de/zsh/zshrc</tt></pre>
        zshtcpsys    Zsh tcp system\r
        zshzle       Zsh command line editing\r
        zshzftpsys   Zsh built-in FTP client\r
-       zshall       Meta-man page containing all of the above</tt></pre>\r
+       zshall       Meta-man page containing all of the above</code></pre>\r
 </div></div>\r
 <div class="paragraph"><p>Note: especially <em>man zshcontrib</em> covers very useful topics!<br />\r
 Book: <strong>From Bash to Z Shell</strong> by Oliver Kiddle, Jerry Peck and Peter\r
 Stephenson. <strong>ISBN: 1590593766</strong>. - <strong><a href="http://www.bash2zsh.com/">bash2zsh.com</a></strong><br />\r
 Also take a look at the section <strong>LINKS</strong> in this manpage.</p></div>\r
 </div>\r
+</div>\r
+<div class="sect1">\r
 <h2 id="_bugs">BUGS</h2>\r
 <div class="sectionbody">\r
 <div class="paragraph"><p>Probably. This manpage might be never complete. So please report bugs,\r
 feedback and suggestions to &lt;<a href="mailto:zsh-lovers@michael-prokop.at">zsh-lovers@michael-prokop.at</a>&gt;. Thank\r
 you!</p></div>\r
 </div>\r
+</div>\r
+<div class="sect1">\r
 <h2 id="_copyright">COPYRIGHT</h2>\r
 <div class="sectionbody">\r
 <div class="paragraph"><p>Copyright  (C) Michael Prokop, Christian Schneider and Matthias\r
 Kopfermann.</p></div>\r
 </div>\r
 </div>\r
+</div>\r
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 2010-07-28 17:55:37 EDT\r
+Last updated 2010-07-28 21:55:37 UTC\r
 </div>\r
 </div>\r
 </body>\r
index e01acec..0162edb 100644 (file)
Binary files a/zsh/zsh-lovers.pdf and b/zsh/zsh-lovers.pdf differ