changeset 83:99ab58dc891f

New macro: .VF to read verbatim text from file. Outsourced the MH session.
author markus schnalke <meillo@marmaro.de>
date Wed, 06 Jun 2012 18:11:35 +0200
parents ff4537327162
children c35ec2b7de5d
files ch01.roff input/mh-session style
diffstat 3 files changed, 42 insertions(+), 35 deletions(-) [+]
line wrap: on
line diff
--- a/ch01.roff	Wed Jun 06 17:58:09 2012 +0200
+++ b/ch01.roff	Wed Jun 06 18:11:35 2012 +0200
@@ -128,42 +128,8 @@
 Following is an example mail handling session.
 It uses mmh but is mostly compatible with nmh and old MH.
 Details might vary but the look'n'feel is the same.
-.VS
-$ f(CBincfP
-Incorporating new mail into inbox...
 
-   1+ 2012-05-16 11:16  meillo@dream.home  Hello
-   2  2012-05-16 11:17  meillo@dream.home  book
-
-$ f(CBshowfP
-Date:    Wed, 16 May 2012 11:16:00 +0200
-To:      meillo
-From:    <meillo@dream.home.schnalke.org>
-Subject: Hello
-
-part       text/plain                  13
-mmh is great
-
-$ f(CBnextfP
-Date:    Wed, 16 May 2012 11:17:24 +0200
-To:      meillo
-From:    <meillo@dream.home.schnalke.org>
-Subject: book
-
-part       text/plain                  79
-Hello meillo,
-
-have a look at the ``Daemon book''. You need to read that!
-
-foo
-
-$ f(CBrmm 1fP
-
-$ f(CBscanfP
-   2+ 2012-05-16 11:17  meillo@dream.home  book
-
-$
-VE
+.VF input/mh-session
 
 
 .H1 "nmh: Code and Community
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/input/mh-session	Wed Jun 06 18:11:35 2012 +0200
@@ -0,0 +1,34 @@
+$ f(CBincfP
+Incorporating new mail into inbox...
+
+   1+ 2012-05-16 11:16  meillo@dream.home  Hello
+   2  2012-05-16 11:17  meillo@dream.home  book
+
+$ f(CBshowfP
+Date:    Wed, 16 May 2012 11:16:00 +0200
+To:      meillo
+From:    <meillo@dream.home.schnalke.org>
+Subject: Hello
+
+part       text/plain                  13
+mmh is great
+
+$ f(CBnextfP
+Date:    Wed, 16 May 2012 11:17:24 +0200
+To:      meillo
+From:    <meillo@dream.home.schnalke.org>
+Subject: book
+
+part       text/plain                  79
+Hello meillo,
+
+have a look at the ``Daemon book''. You need to read that!
+
+foo
+
+$ f(CBrmm 1fP
+
+$ f(CBscanfP
+   2+ 2012-05-16 11:17  meillo@dream.home  book
+
+$
--- a/style	Wed Jun 06 17:58:09 2012 +0200
+++ b/style	Wed Jun 06 18:11:35 2012 +0200
@@ -313,6 +313,13 @@
 .TA
 ..
 
+.	\" VF - verbatim text from file  ($1=filename)
+.de VF
+.VS
+so $1
+VE
+..
+
 .	\" FA - XXX somehow related to footnotes?
 .am FA
 .ps 8