Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Randy Yates <yates@ieee.org>
Subject: MIME Converts CR/LFs in My Text File Attachments (and I don't want it to)!
Date: Sun, 01 Feb 2004 03:41:13 GMT	[thread overview]
Message-ID: <ektfsbsm.fsf@ieee.org> (raw)

Hi,

At work I run XEmacs and gnus from my unix machine (Sun Ultra10
running Solaris 8).  One of the tasks I use unix for is to
algorithmically generate source code (a C language .h file).  As
usual, unix creates the .h text file without LFs. Since I provide
these files to folks who use the PC, I convert the .h file to CRLF
format using unix2dos as part of the .h file build process. 

Well, if I send an email using gnus, and attach one of these converted
.h files, then when you open it on a PC machine (using Outlook), the
CRLFs have been converted to CRLFLFs.

This is very disconcerting. I do not want gnus to mess with the
content of my attachments. Is there a way to modify gnus' behavior so
that it will simply wrap my text files as-is into a MIME attachment?

Please do not suggest that I simply use my unix-style text file
instead.  For other reasons, I want the file to retain the PC-style
line terminations.
-- 
%  Randy Yates                  % "With time with what you've learned, 
%% Fuquay-Varina, NC            %  they'll kiss the ground you walk 
%%% 919-577-9882                %  upon."
%%%% <yates@ieee.org>           % '21st Century Man', *Time*, ELO
http://home.earthlink.net/~yatescr


                 reply	other threads:[~2004-02-01  3:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ektfsbsm.fsf@ieee.org \
    --to=yates@ieee.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).