Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[hypermail] tab character in hypermail

1 view
Skip to first unread message

Mair, Wolfgang

unread,
Jan 23, 2004, 4:34:54 AM1/23/04
to
Hello all,

i just configured hypermail on my solaris 9 box. It works fine exept one
thing. The tab character.

So, how can I make hypermail to take over the tab characters from the mail
messages into the html files?

Thank you for help and comments on this.

Wolfgang

Daniel Stenberg

unread,
Jan 23, 2004, 4:38:57 AM1/23/04
to
On Fri, 23 Jan 2004, Mair, Wolfgang wrote:

> So, how can I make hypermail to take over the tab characters from the mail
> messages into the html files?

HTML has no concept of TAB characters. Hypermail tries to translate them into
a number of  s. Can you be more specific on what input you have, what
output you get, what you wanted to get and what options you use?

Ah, and what hypermail version you run...

--
-=- Daniel Stenberg -=- http://daniel.haxx.se -=-
ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol

Mair, Wolfgang

unread,
Jan 23, 2004, 4:56:04 AM1/23/04
to
Sorry, you are right.

I'm using hypermail ver 2.1.4. I have to deal with different input mails in
plain text, richt text and html format. These mails contain tab characters
(f.e. for a table). I would like to have these tabs preserved and taken into
the html files. (As good as possible) At the moment, hypermail converts the
tabs into one simple space (blank) character.

here is the command I use. I have no additional options set so far.

hypermail -d .../mailarchive -m /var/mail/archive

Hope this was more specific.

Wolfgang

Peter C. McCluskey

unread,
Jan 23, 2004, 12:42:45 PM1/23/04
to
Wolfga...@fci.com (Mair, Wolfgang) writes:
>I'm using hypermail ver 2.1.4. I have to deal with different input mails in
>plain text, richt text and html format. These mails contain tab characters
>(f.e. for a table). I would like to have these tabs preserved and taken into
>the html files. (As good as possible) At the moment, hypermail converts the
>tabs into one simple space (blank) character.

As far as I can tell, hypermail does not do that.
Browsers convert tabs to a single space unless the text is enclosed in
<pre> ... </pre>.
What you probably want is to create a config file (normally ~/.hmrc) with
one of the following two lines (try each to see which one you prefer) and
either rebuild the archive from scratch or use the -x command line option
to have all the messages rewritten:

showhtml = 2
showhtml = 0

--
------------------------------------------------------------------------------
Peter McCluskey | "To announce that there must be no criticism of
http://www.rahul.net/pcm | the President, or that we are to stand by the
| President right or wrong, is not only unpatriotic
| and servile, but morally treasonable to the
| American public." - Theodore Roosevelt

0 new messages