From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Perry Smith Newsgroups: gmane.emacs.help Subject: Re: Display corruption with binary files Date: Sat, 25 Nov 2006 18:34:04 -0600 Message-ID: <4EEF30F4-FEE1-499D-8302-22959717A64D@easesoftware.com> References: <1164368979.309609.307320@45g2000cws.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/mixed; boundary="===============1496542079==" X-Trace: sea.gmane.org 1164501274 1412 80.91.229.2 (26 Nov 2006 00:34:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 26 Nov 2006 00:34:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 26 01:34:30 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Go7yX-0000wl-NN for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Nov 2006 01:34:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Go7yX-0007zl-89 for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Nov 2006 19:34:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Go7yJ-0007zV-PY for help-gnu-emacs@gnu.org; Sat, 25 Nov 2006 19:34:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Go7yI-0007zJ-S4 for help-gnu-emacs@gnu.org; Sat, 25 Nov 2006 19:34:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Go7yI-0007zC-Oq for help-gnu-emacs@gnu.org; Sat, 25 Nov 2006 19:34:14 -0500 Original-Received: from [64.192.143.210] (helo=easeserver.easesoftware.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Go7yF-0000s2-Go; Sat, 25 Nov 2006 19:34:11 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by easeserver.easesoftware.com (Postfix) with ESMTP id 67D0A54FFB1; Sat, 25 Nov 2006 18:34:10 -0600 (CST) Original-Received: from easeserver.easesoftware.com ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25200-05; Sat, 25 Nov 2006 18:34:05 -0600 (CST) Original-Received: from [64.192.143.210] (easeserver.easesoftware.com [64.192.143.210]) by easeserver.easesoftware.com (Postfix) with ESMTP id 6C8A954FF78; Sat, 25 Nov 2006 18:34:05 -0600 (CST) In-Reply-To: Original-To: Eli Zaretskii X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: by amavisd-new at easesoftware.net X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39000 Archived-At: --===============1496542079== Content-Type: multipart/alternative; boundary=Apple-Mail-9--637032886 --Apple-Mail-9--637032886 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Nov 25, 2006, at 3:02 PM, Eli Zaretskii wrote: >> Cc: help-gnu-emacs@gnu.org >> From: Perry Smith >> Date: Sat, 25 Nov 2006 10:38:04 -0600 >> >> 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. > > I don't think Emacs ever did that. > >> Is this not done? Didn't emacs use to do it? > > Only if you use hexl, which is why I recommended it to the OP. We must be talking about two different things or something. On my Mac system, there is a version of emacs 21.2.1 in /usr/bin/ emacs. I have a bzip tar file. I type: emacs foo.tar.bz2 from a Mac "terminal" window (not an X11 window) and it comes up just fine: inside the terminal. I can move around just like I remember. The teminal is pretending to be an xterm. In fact, you can do the same thing inside an xterm, just unset DISPLAY -- otherwise emacs will become an X11 client. I tried doing the same thing to the GUI style emacs 22.0.50 version but if I do it from the terminal, it complains that it can't find things: encoded-kb... I probably need to set my load-path on the command line somehow. Anyhow... I know it worked as of emacs 21. I can't test it on emacs 22 today. Perry Smith ( pedz@easesoftware.com ) Ease Software, Inc. ( http://www.easesoftware.com ) Low cost SATA Disk Systems for IBMs p5, pSeries, and RS/6000 AIX systems --Apple-Mail-9--637032886 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
On Nov 25, 2006, at = 3:02 PM, Eli Zaretskii wrote:

From: Perry Smith <pedz@easesoftware.com>
<= DIV style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; ">Date: Sat, 25 Nov 2006 10:38:04 -0600

emacs of = old (I thought) would 'quote' the characters.=A0 So, if the =A0
file had = a control-C, emacs would display ^C and a single forward-=A0
=A0
spaces up to the next character.
=

I don't think Emacs ever did that.

Is this not done?=A0 Didn't emacs use to do = it?

Only if you use hexl, which is why I recommended it = to the OP.

We must be talking about = two different things or something.

On my Mac system, there is = a version of emacs 21.2.1 in /usr/bin/emacs.=A0 I have a bzip tar file.=A0= I type:

emacs = foo.tar.bz2

from a Mac "terminal" = window (not an X11 window)=A0and it comes up just fine: inside the = terminal.=A0 I can move around just like I remember.

The teminal is pretending = to be an xterm.=A0 In fact, you can do the same thing inside an xterm, = just unset DISPLAY -- otherwise emacs will become an X11 = client.

I = tried doing the same thing to the GUI style emacs 22.0.50 version but if = I do it from the terminal, it complains that it can't find things: = encoded-kb... I probably need to set my load-path on the command line = somehow.

Anyhow... I know it worked = as of emacs 21.=A0 I can't test it on emacs 22 today.

Perry Smith = (=A0pedz@easesoftware.com = )
Ease Software, Inc. (=A0http://www.easesoftware.com = )

Low = cost SATA Disk Systems for IBMs p5, pSeries, and RS/6000 AIX systems

=

= --Apple-Mail-9--637032886-- --===============1496542079== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1496542079==--