From: "Robert Thorpe" <rthorpe@realworldtech.com>
Subject: Re: Display corruption with binary files
Date: 26 Nov 2006 05:30:33 -0800 [thread overview]
Message-ID: <1164547833.440075.133030@14g2000cws.googlegroups.com> (raw)
In-Reply-To: <mailman.1101.1164472694.2155.help-gnu-emacs@gnu.org>
Perry Smith wrote:
> On Nov 25, 2006, at 5:04 AM, Eli Zaretskii wrote:
>
> >> From: August Karlstrom <fusionfive@comhem.se>
> >> Date: Sat, 25 Nov 2006 10:30:16 GMT
> >>>
> >>> Bits of the binary file being interpreted at terminal control
> >>> characters is a likely culprit.
> >>
> >> OK, but isn't a binary file as well as a text file really just a
> >> sequence of arbitrary bytes?
> >>
> >>> If that is the problem then Emacs should not send such characters to
> >>> the terminal. It may be a terminal problem though. I'd report
> >>> it as
> >>> an Emacs bug with that caveat.
> >>
> >> Eli Zaretskii's answer seems to indicate that this is a known
> >> problem.
> >
> > Yes, it's a known problem that the Unix terminal interprets certain
> > sequences of characters as commands. I'm not sure Emacs can do
> > anything to solve this, but suggestions are welcome.
>
> I have not been closely watching this but I'm confused.
>
> emacs of old (I thought) would 'quote' the characters. So, if the
> file had a control-C, emacs would display ^C and a single forward-
> character while the cursor is sitting on the ^ would move two screeen
> spaces up to the next character. So, while emacs would send escape
> sequences itself to control the terminal, the data of the file would
> be sent properly. (I'm not sure I'm saying clearly what I mean.)
>
> Is this not done? Didn't emacs use to do it?
It may have been a terminal setup that did this. I think I've seen
this behaviour in the past before too.
next prev parent reply other threads:[~2006-11-26 13:30 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-23 22:05 Display corruption with binary files August Karlstrom
2006-11-24 11:49 ` Robert Thorpe
2006-11-25 10:30 ` August Karlstrom
2006-11-25 11:04 ` Eli Zaretskii
2006-11-25 16:38 ` Perry Smith
2006-11-25 21:02 ` Eli Zaretskii
2006-11-26 0:34 ` Perry Smith
2006-11-26 4:09 ` Eli Zaretskii
2006-11-26 4:55 ` Perry Smith
2006-11-26 9:19 ` Arjen Wiersma
2006-11-26 20:23 ` Eli Zaretskii
[not found] ` <mailman.1101.1164472694.2155.help-gnu-emacs@gnu.org>
2006-11-26 13:30 ` Robert Thorpe [this message]
2006-11-25 12:42 ` Peter Dyballa
[not found] ` <mailman.1089.1164458537.2155.help-gnu-emacs@gnu.org>
2006-11-25 13:16 ` August Karlstrom
[not found] ` <mailman.1086.1164452697.2155.help-gnu-emacs@gnu.org>
2006-11-27 20:50 ` Stefan Monnier
2006-11-24 18:37 ` Eli Zaretskii
[not found] ` <mailman.1054.1164416983.2155.help-gnu-emacs@gnu.org>
2006-11-25 10:30 ` August Karlstrom
2006-11-25 10:42 ` August Karlstrom
2006-11-25 13:15 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1164547833.440075.133030@14g2000cws.googlegroups.com \
--to=rthorpe@realworldtech.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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).