From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: August Karlstrom Newsgroups: gmane.emacs.help Subject: Re: Display corruption with binary files Date: Sat, 25 Nov 2006 10:30:16 GMT Organization: Telia Internet Message-ID: References: <1164368979.309609.307320@45g2000cws.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1164451510 6510 80.91.229.2 (25 Nov 2006 10:45:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Nov 2006 10:45:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 25 11:45:07 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 1Gnv1v-0008Hs-Ad for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Nov 2006 11:45:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gnv1u-0007Bq-QD for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Nov 2006 05:45:06 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!news.glorb.com!newspeer2.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail User-Agent: Thunderbird 1.5.0.8 (X11/20061115) Original-Newsgroups: gnu.emacs.help In-Reply-To: <1164368979.309609.307320@45g2000cws.googlegroups.com> Original-Lines: 27 Original-NNTP-Posting-Host: 83.250.249.22 Original-X-Complaints-To: abuse@telia.com Original-X-Trace: newsb.telia.net 1164450616 83.250.249.22 (Sat, 25 Nov 2006 11:30:16 CET) Original-NNTP-Posting-Date: Sat, 25 Nov 2006 11:30:16 CET Original-Xref: shelby.stanford.edu gnu.emacs.help:143343 Original-To: help-gnu-emacs@gnu.org 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:38965 Archived-At: Robert Thorpe skrev: > August Karlstrom wrote: >> Hi, >> >> When I open any binary file with Emacs in console mode (emacs -nw) the >> display gets corrupted (the menu and parts of the mode line disappears). >> In GUI mode it works as expected. I use GNU Emacs version 21.4.1 and >> gnome-terminal 2.16.1 under Ubuntu 6.10. >> >> Any clues? > > 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. Thanks, August