From: John Russell <jorussel@cisco.com>
Subject: Re: File truncated at ^Z character in windows
Date: 17 Feb 2004 14:17:42 -0500 [thread overview]
Message-ID: <m33c99qzvt.fsf@cisco.com> (raw)
In-Reply-To: o3nk0c.q5.ln@acm.acm
Alan Mackenzie<none@example.invalid> writes:
> 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. ;-)
>
True, true, but sometimes it can't be helped, and if I'm going to
have to work on Windows, at least I can have my favorite editor there
to keep me company. Also, in this case I was using VMware as a full
system prophylactic, just in case. While VMware isn't free either,
it still makes me feel better.
John
next prev parent reply other threads:[~2004-02-17 19:17 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
2004-02-17 19:17 ` John Russell [this message]
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=m33c99qzvt.fsf@cisco.com \
--to=jorussel@cisco.com \
/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.