all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie<none@example.invalid>
Subject: Re: File truncated at ^Z character in windows
Date: Sat, 14 Feb 2004 08:43:36 +0000	[thread overview]
Message-ID: <o3nk0c.q5.ln@acm.acm> (raw)
In-Reply-To: m3smhe66bb.fsf@cisco.com

John Russell <jorussel@cisco.com> wrote on 13 Feb 2004 16:03:04 -0500:
> I just moved my all my emacs customization stuff to windows.
> Everything seems to work ok except for one thing.

> One of the files stops when it sees a ^Z character.

[ .... ]

> And that's it.  That's the end of the file.  Does anyone know what is
> special about the ^Z character that makes the file end like that?

I seem to remember from my long lost dark ages (~1986) that MS-DOS text
files were expected to end in an End-Of-File character.  Yes, you've
guessed it, ASCII 26, EOF, ^Z.  It was a pain in the posterior even then.

> Thanks for the help.

Two suggestions: (i) write the ^Z as an octal escape sequence, or
something like that;  (ii) move your customization stuff back to a free
system again.  ;-)

> John

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

  reply	other threads:[~2004-02-14  8:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-13 21:03 File truncated at ^Z character in windows John Russell
2004-02-14  8:43 ` Alan Mackenzie [this message]
2004-02-17 19:17   ` John Russell
2004-02-14 11:52 ` Eli Zaretskii
     [not found] ` <mailman.2383.1076759638.928.help-gnu-emacs@gnu.org>
2004-02-17 19:15   ` John Russell
2004-02-17 20:13     ` Eli Zaretskii
2004-02-18  8:26       ` Ehud Karni
2004-02-18 10:51         ` Eli Zaretskii
     [not found]     ` <mailman.2587.1077048825.928.help-gnu-emacs@gnu.org>
2004-02-18 10:14       ` Michael M Mason
2004-02-18 10:36         ` Eli Zaretskii

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=o3nk0c.q5.ln@acm.acm \
    --to=none@example.invalid \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.