From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: [dalias@aerifal.cx: ansi-term \e[J causes spurious newline [revised report]] Date: Thu, 22 Mar 2007 10:27:00 +0100 Message-ID: References: <87zm66o80a.fsf@stupidchicken.com> <200703211840.l2LIem6A013375@oogie-boogie.ics.uci.edu> <87ps724dbd.fsf@stupidchicken.com> <200703212016.l2LKGo67015610@oogie-boogie.ics.uci.edu> <200703220322.l2M3M8Ed022513@oogie-boogie.ics.uci.edu> <200703220508.l2M58fte023654@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174555653 4392 80.91.229.12 (22 Mar 2007 09:27:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Mar 2007 09:27:33 +0000 (UTC) Cc: Miles Bader , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 22 10:27:25 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HUJZq-00048i-4u for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2007 10:27:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUJbb-0001Es-OT for ged-emacs-devel@m.gmane.org; Thu, 22 Mar 2007 04:29:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HUJbY-0001Em-9c for emacs-devel@gnu.org; Thu, 22 Mar 2007 05:29:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HUJbX-0001Ea-68 for emacs-devel@gnu.org; Thu, 22 Mar 2007 05:29:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HUJbW-0001EX-WA for emacs-devel@gnu.org; Thu, 22 Mar 2007 04:29:07 -0500 Original-Received: from pfepa.post.tele.dk ([195.41.46.235]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HUJZk-0005uq-Cb for emacs-devel@gnu.org; Thu, 22 Mar 2007 05:27:16 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepa.post.tele.dk (Postfix) with SMTP id 66BDEFAC040; Thu, 22 Mar 2007 10:27:05 +0100 (CET) In-Reply-To: <200703220508.l2M58fte023654@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Wed\, 21 Mar 2007 22\:08\:41 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68284 Archived-At: Dan Nicolaescu writes: > Well, that's a rat hole that I don't think we want to get into. Not at > this point in the release cycle. If users show that some features are > required by real applications to run correctly, then we can consider > it. The reporter specifically mentioned busybox command line editing. We cannot expect embedded systems to rely on termcap/terminfo. Rather they will issue hardcoded VT100 escape sequences - like ESC [ J, and expect the terminal emulator to DTRT... I've tested the 'echo' example with both xterm and minicom (which I use with embedded systems). Both behave identically - for ESC [ J and for ESC [ 1 J -- and in accordance with the reporter's expectations for a "true" VT100 terminal. So you may claim that the behaviour is "undefined" - but practical tests shows "consistent" behaviour, different from what Emacs term does. IMO, we should fix term to behave like other VT100 emulators. The current behaviour is clearly broken -- besides, fixing this doesn't change the semantics of the only case where it was defined before. -- Kim F. Storm http://www.cua.dk