# HG changeset patch # User markus schnalke # Date 1338999095 -7200 # Node ID 99ab58dc891fa3a5bf8ef40fcd6f5975d2a01a18 # Parent ff45373271626465878e4fe0748acda0bedba2e3 New macro: .VF to read verbatim text from file. Outsourced the MH session. diff -r ff4537327162 -r 99ab58dc891f ch01.roff --- 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: -Subject: Hello - -part text/plain 13 -mmh is great - -$ f(CBnextfP -Date: Wed, 16 May 2012 11:17:24 +0200 -To: meillo -From: -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 diff -r ff4537327162 -r 99ab58dc891f input/mh-session --- /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: +Subject: Hello + +part text/plain 13 +mmh is great + +$ f(CBnextfP +Date: Wed, 16 May 2012 11:17:24 +0200 +To: meillo +From: +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 + +$ diff -r ff4537327162 -r 99ab58dc891f style --- 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