From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Device 0 is not a termcap terminal device Date: Wed, 2 Sep 2009 09:57:28 +0000 Message-ID: <20090902095728.GB2550@muc.de> References: <20081003100758.GA1762@muc.de> <200810031625.m93GPZKn023230@mothra.ics.uci.edu> <20090901200826.GA2657@muc.de> <20090901222754.GA5211@muc.de> <20090901230212.GB5211@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251885282 16014 80.91.229.12 (2 Sep 2009 09:54:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Sep 2009 09:54:42 +0000 (UTC) Cc: emacs-devel To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 02 11:54:35 2009 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 1MimXy-0003BX-NA for ged-emacs-devel@m.gmane.org; Wed, 02 Sep 2009 11:54:35 +0200 Original-Received: from localhost ([127.0.0.1]:51832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MimXx-00014w-Qp for ged-emacs-devel@m.gmane.org; Wed, 02 Sep 2009 05:54:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MimXo-000120-5s for emacs-devel@gnu.org; Wed, 02 Sep 2009 05:54:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MimXj-0000uW-9l for emacs-devel@gnu.org; Wed, 02 Sep 2009 05:54:23 -0400 Original-Received: from [199.232.76.173] (port=39786 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MimXj-0000uK-5d for emacs-devel@gnu.org; Wed, 02 Sep 2009 05:54:19 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:4257 helo=mail.muc.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MimXi-0003Eq-Ir for emacs-devel@gnu.org; Wed, 02 Sep 2009 05:54:18 -0400 Original-Received: (qmail 67441 invoked by uid 3782); 2 Sep 2009 09:54:16 -0000 Original-Received: from acm.muc.de (pD9E23BB7.dip.t-dialin.net [217.226.59.183]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Wed, 02 Sep 2009 11:54:15 +0200 Original-Received: (qmail 13502 invoked by uid 1000); 2 Sep 2009 09:57:28 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by monty-python.gnu.org: FreeBSD 4.6-4.9 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:114983 Archived-At: Hi, Andreas! On Wed, Sep 02, 2009 at 11:14:51AM +0200, Andreas Schwab wrote: > Alan Mackenzie writes: > > I don't doubt that. However, it doesn't work in the CC Mode test > > suite, > Please define "doesn't work". Sorry, bad phraseology. I meant it doesn't do what the test program needs. Basically, it's not the right function for the job. More specifically, the test program outputs lines on the screen looking like this: Testing arglist-19.c (syntax) , but displays them "on top" of eachother, so that the stuff on the screen doesn't scroll upwards, which would be unhelpful. Only when it finds errors (which of course happens only rarely ;-) does it scroll, then it carries on displaying the "testing (..)" lines as before. When I tried `princ' in place of `send-string-to-terminal', the displaying of these lines was broken. Typically, the line would look something like: arg -1 ntax) , with the cursor jumping madly over it, the actual contents being updated every 2 or 3 seconds. This is on a Linux virtual terminal. Stefan's patch has made `send-string-to-terminal' work again in batch mode. > Andreas. -- Alan Mackenzie (Nuremberg, Germany).