Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

MH Frequently Asked Questions (FAQ) with Answers
Section - 05.16 How can I convert quoted-printable to 8bit in quoted text in replies?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Property taxes ]


Top Document: MH Frequently Asked Questions (FAQ) with Answers
Previous Document: 05.15 How can I make sense of the replcomps file?
Next Document: 05.17 Can I have aliases include aliases?
See reader questions & answers on this topic! - Help others by sharing your knowledge
Date: 22 Aug 1995 10:42:07 +0200

  The idea behind the solution is that I need mhn to store the
  contents of the mail in the native iso8859-1 format somewhere. I did
  this by creating a custom editor that is invoked when I reply to a
  message. This editor extracts the body of the message (sorry, no
  multipart stuff), indents it with '> ', appends it to the draft
  message and invokes the ordinary editor on it. Here are the details:

  `isorepl' is a symbolic link from my $HOME/bin-directory to `repl'.

  In my .mh_profile I added the following two lines:

    isorepl: -form isoreplcomps -editor isoextract
    isoextract-next: vi

  The isoreplcomps file in my Mail-directory contains:

    %(lit)%(formataddr %<{reply-to}%?{from}%?{sender}%?{return-path}%>)\
    %<(nonnull)%(void(width))%(putaddr To: )\n%>\
    %(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\
    %<(nonnull)%(void(width))%(putaddr cc: )\n%>\
    %<{fcc}Fcc: %{fcc}\n%>\
    %<{subject}Subject: Re: %{subject}\n%>\
    %<{date}In-reply-to: Your message of "\
    %<(nodate{date})%{date}%|%(pretty{date})%>."%<{message-id}
		 %{message-id}%>\n%>\
    --------
    #<text/plain; charset=iso-8859-1
    %<{message-id}In message %{message-id} %>\
    %<{from}%(friendly{from}) writes%|You write%>:

  This is a "Usenet-like" quoting style. Modify to suit your own
  taste. This form will setup the proper header, as well as the first
  line of the new message (In <mmmmbbbb> nnnn writes etc.).

  The first editor, `isoextract', looks like this:

    #!/bin/sh
    #
    # Called from within repl where the "editalt" variable is valid
    #
    # Point to a special MHN configuration file (save old one)
    OLDMHN="$MHN"
    MHN=$HOME/`mhparam Path`/isoquotemsg
    export MHN

    # Extract message body to "native" format (should be iso-8859-1)
    # > More bla bla.
    mhn -file "$editalt" -store >> $1 2>/dev/null

    MHN="$OLDMHN"
    myname=`basename $0`
    next=`mhparam ${myname}-next`
    if [ "x$next" != "x" ]; then
	    exec $next "$@"
    fi

  `isoquotemsg' has just one rule; how mhn should store a text message.

    mhn-store-text: |sed -e 's/^[	]*$//' \
			 -e 's/^\([>|]\)\(.*\)$/>\1\2/' \
			 -e 's/^\([^>|].*\)$/> \1/'

  This tells mhn to pipe the message to stdout, where the sed commands
  will do the reformatting/quoting. (Note: the first pair of square
  brackets contains a space and a tab.)

  So, when I do a `isorepl' to a message, `repl' will create the draft
  message with the proper headers (based on the `isoreplcomps' format
  file), fire off its first editor, `isoextract', with the name of the
  draft file as its parameter. `isoextract' then invokes mhn in a
  suitable environment, tells it that it is to use the file $editalt
  as its source, and orders it to store the contents. The store-text
  rule in the custom MHN-file tells it to just pipe the message (in
  native iso8859-1 form) through a small set of sed commands, and
  `isoextract' uses the normal shell construct to append the result to
  the draft file. Then, if there's defined a `isoextract-next' entry
  in the .mh_profile, isoextract exec's this editor.

User Contributions:

1
Report this comment as inappropriate
Sep 18, 2019 @ 9:09 am
Where to invest $ 3000 once and receive every month from $ 55000: https://hec.su/nLfW?TGtEESPDx
2
Report this comment as inappropriate
Sep 18, 2019 @ 7:19 pm
Earn Free Bitcoin 0.2 BTC Per day: https://hec.su/nIrt?jzNjFuyIjDi
3
Report this comment as inappropriate
Sep 18, 2019 @ 11:23 pm
Invest in cryptocurrency and get passive income of $ 5000 per week: https://hec.su/nJPO?Orq4u
4
Report this comment as inappropriate
Sep 19, 2019 @ 7:07 am
Buy Essay and Get Time for Pleasures of Life: https://vk.cc/9OTGak?id=buyessayonline111zgu
5
Report this comment as inappropriate
Sep 19, 2019 @ 7:07 am
Buy Essay Online At Writing Service from Canada: https://vk.cc/9OTGak?id=buyessayonline112e4y
6
Report this comment as inappropriate
Sep 19, 2019 @ 7:07 am
Buy Essay: 100% Original. Low Price. In 3 Hours. Safe & Legit: https://vk.cc/9OTGak?id=buyessayonline113x86
7
Report this comment as inappropriate
Sep 19, 2019 @ 10:10 am
Buy Essay Online, Essay Writing Service, Write My Essay: https://vk.cc/9OTGak?id=buyessayonline1138za
8
Report this comment as inappropriate
Sep 19, 2019 @ 11:11 am
Buy Essay Online At Writing Service from Australia: https://vk.cc/9OTGak?id=buyessayonline112he2
9
Report this comment as inappropriate
Sep 20, 2019 @ 3:15 pm
Buy Essay Online, Essay Writing Service, Write My Essay: https://vk.cc/9OTGak?id=buyessayonline11312t
10
Report this comment as inappropriate
Sep 20, 2019 @ 6:18 pm
Buy Essays Online in Australia: https://vk.cc/9OTGak?id=buyessayonline113zbs
The Best Dating Apps for 2019: https://huit.re/bestsexygirls360002?u=kopl
Beautiful girls are looking for sex in your city: https://onlineuniversalwork.com/bestsexygirls262569?u=to
13
Report this comment as inappropriate
Sep 26, 2019 @ 9:09 am
Beautiful girls are looking for sex in your city: https://is.gd/sexygirlsinyourcity23298?u=7u
14
Report this comment as inappropriate
Sep 26, 2019 @ 11:11 am
10 Best CA Dating Sites 2019: https://is.gd/sexygirlsinyourcity98201?u=wt
15
Report this comment as inappropriate
Sep 26, 2019 @ 10:22 pm
5 Best Casual Dating Apps: https://onlineuniversalwork.com/bestsexygirls352268?u=460
5 Best Casual Dating Apps: https://frama.link/bestsexygirls149180?u=1546
How to find a woman for casual sex: https://ecuadortenisclub.com/bestsexygirls148355?u=ye
Top 5 AU Casual Dating Sites 2019: https://is.gd/sexygirlsinyourcity38534?u=mde
Meet sexy girls in your city: https://is.gd/sexygirlsinyourcity63345?u=jj
Dating sites for sex - 545 women want to meet for sex in your city: https://bestsexygirlsinyourcity.blogspot.no?r=59
Girls are looking for sex in your city (518 women want to meet for sex in your city): https://siteadultdatingforsex.blogspot.ca?a=10
Sex App For Adult Dating, Sex Now Websites - 575 women want to meet for sex in your city: https://the-best-adult-dating-sites.blogspot.nl?e=91
Sexy girls in your city are looking for dating (762 girls want to meet for sex in your city): https://siteadultdatingforsex.blogspot.ie?p=04
Meet for Sex - Find Sex Tonight (167 beautiful women want sex in your city right now): https://vae.me/lYSI?y=2062
Adult Dating Site, Meet and Fuck - 234 women want to meet for sex in your city: https://bestadultforsex.blogspot.co.uk?u=98
7+ Dating Sex Sites, Adult Dating Hook Up Sites - 267 beautiful girls want sex in your city right now: https://bestadultdatingsite999.blogspot.ae?g=38
Sexy girls in your city are looking for dating (629 women want to meet for sex in your city): https://darknesstr.com/adultdatingsex542120?m=8844
Nur wie man 7027 $ SCHNELL, schnelles Geld verdient, der beschäftigte Wellensittich: https://earn7btcperweek.blogspot.nl?v=82
Bezahlte Studien: Gewinnen Sie 6065 USD oder mehr pro Woche: https://make3btcperweek.blogspot.kr?t=58
Forex + Kryptowährung = $ 6465 pro Woche: https://earn1btcperweek.blogspot.co.uk?v=98
So erhalten Sie 6735 USD pro Woche: https://make-1-btc-per-week.blogspot.com.es?i=97
Just how would you use $51493 to make more money: https://3-btc-per-day.blogspot.mx?y=613
Invest $ 2864 and get $ 84448 every month: https://7-btc-per-day.blogspot.hk?j=664
How to Make $7621 FAST, Quick Loan, The Busy Budgeter: https://earn1btcperweek.blogspot.fi?h=25
Paid Surveys: Earn $8512 Or More Each week: https://7-btc-per-day.blogspot.co.nz?j=285
Paid Surveys: Earn $6549 Or Even more Each week: https://earn7btcperweek.blogspot.be?u=61
How to earn 0,883 BTC per week: https://make-1-btc-per-week.blogspot.fi?m=64
Invest $ 4934 and get $ 12365 every month: https://make1btcperweek.blogspot.ro?c=85
How to Make $8329 FAST, Quick Cash, The Busy Budgeter: https://get3btcperweek.blogspot.com.au?i=82
Invest $ 2882 and get $ 33114 every month: https://earn1btcperweek.blogspot.mx?p=53
Invest $ 4236 and get $ 78427 every month: https://make-2-btc-perday.blogspot.com.es?e=27
How to make $ 8619 per day: https://hideuri.com/qJzrZw?&gszku=Z7mLcZFn1Gk4Zb
Invest $ 75155 in Bitcoin once and get $ 941179 passive income per month: https://hideuri.com/aBDYO3?ZOAru
Just how to Make $5628 FAST, Fast Money, The Busy Budgeter: https://get-2-btc-perday.blogspot.tw?u=93
How to invest in Bitcoin and receive from $ 3411 per day: https://make-3-btc-perday.blogspot.gr?p=12
Exactly how to Make $6761 FAST, Rapid Money, The Busy Budgeter: https://hideuri.com/a51yyo?&kkhcw=M73V7r
Paid Surveys: Gain $9135 Or Even more Weekly: https://vae.me/aqz2?l=7194
Just how would you use $76676 to make more cash: https://hideuri.com/a7gGk5?&jfjjs=9gTFWgEG
What's the easiest means to earn $95329 a month: https://fla.kr/earnonebtc963598?h=7988
50
Report this comment as inappropriate
Oct 17, 2019 @ 7:19 pm
How to invest in Cryptocurrency $ 37886 - get a return of up to 3812%: https://hideuri.com/K0EP8W?Wp24o422
51
Report this comment as inappropriate
Oct 19, 2019 @ 2:14 pm
Invest $ 7275 and get $ 97378 every month: https://soo.gd/1vVIY?&ptshn=4sGaN
How to invest in Bitcoin and receive from $ 8383 per day: https://cutt.us/H7KgvRc?a5kQdKDU5W
How to Make $6226 FAST, Quick Cash, The Busy Budgeter: https://hideuri.com/a7o81M?&ppmne=Yu1yhHoF1
Just how to Make $7457 FAST, Rapid Cash, The Busy Budgeter: https://hideuri.com/Kjn8ZA?r4nEosWMTJLgNE
How to get 0,988 Bitcoin per week: https://soo.gd/inar?5fp7mb
52
Report this comment as inappropriate
Oct 19, 2019 @ 2:14 pm
Invest $ 6538 and get $ 32856 every month: https://v.ht/afMoj?otspvux0z8d
Just how would certainly you utilize $92431 to make more money: https://cutt.us/PXn2tI5gS?X3U0km
What's the simplest means to earn $76177 a month: https://hideuri.com/qJodXr?z022EajPURJW
Forex + Bitcoin = $ 6282 per week: https://soo.gd/3di0p?&tdpud=PQQ23hz
Exactly how to Make $6711 FAST, Rapid Money, The Busy Budgeter: https://v.ht/mlPaUOv?ck5z2dNXkBNk9
Invest $ 56448 in Bitcoin once and get $ 947918 passive income per month: https://soo.gd/D6SV?bsJVKfIhmby
How to Make $5411 FAST, Fast Cash, The Busy Budgeter: https://hideuri.com/KAoRr3?&pgbpk=tUxb1AiQEE9
55
Report this comment as inappropriate
Oct 19, 2019 @ 6:18 pm
Invest $ 6953 and get $ 32997 every month: https://v.ht/zYRz5DP?&tgojk=CzNWu4hx
Forex + Bitcoin = $ 4171 per week: https://cutt.us/DuuNMCrKx?&bddar=51Ep8
Invest $ 2218 and get $ 63872 every month: https://v.ht/Cud6E4m?ywlfI5R43BGfMX
Invest $ 84453 in Cryptocurrency once and get $ 338351 passive income per month: https://tiny.pl/tl1q5?&rbrti=i3Um2CK
How to get 0,931 BTC per week: https://v.ht/G2WkL?L3YWcDi
What's the simplest method to earn $53213 a month: https://v.ht/m1JYbb?KcmFczSqTL
How to earn on investments in Cryptocurrency from $ 2871 per day: https://soo.gd/MeaoG?&okhsw=TcBchaLl89
Forex + Bitcoin = $ 7181 per week: https://v.ht/hjGCX?aqjmGXBBM
Exactly how would you use $53745 to make more money: https://v.ht/OuYm5Z?&sgbto=NRo2Esxo
Which wallet should you transfer to $914326,98: https://is.gd/WfHUIx

Comment about this article, ask questions, or add new information about this topic:




Top Document: MH Frequently Asked Questions (FAQ) with Answers
Previous Document: 05.15 How can I make sense of the replcomps file?
Next Document: 05.17 Can I have aliases include aliases?

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
Bill Wohler <wohler@newt.com>





Last Update March 27 2014 @ 02:11 PM