From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: Device 0 is not a termcap terminal device Date: Fri, 3 Oct 2008 09:25:35 -0700 (PDT) Message-ID: <200810031625.m93GPZKn023230@mothra.ics.uci.edu> References: <20081003100758.GA1762@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223051189 17015 80.91.229.12 (3 Oct 2008 16:26:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Oct 2008 16:26:29 +0000 (UTC) Cc: csant , emacs-devel To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 03 18:27:26 2008 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 1KlnUq-0000jZ-He for ged-emacs-devel@m.gmane.org; Fri, 03 Oct 2008 18:27:16 +0200 Original-Received: from localhost ([127.0.0.1]:39977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlnTn-0002FI-BQ for ged-emacs-devel@m.gmane.org; Fri, 03 Oct 2008 12:26:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlnTV-000293-3i for emacs-devel@gnu.org; Fri, 03 Oct 2008 12:25:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlnTU-00028Z-1v for emacs-devel@gnu.org; Fri, 03 Oct 2008 12:25:52 -0400 Original-Received: from [199.232.76.173] (port=39804 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlnTT-00028R-Tw for emacs-devel@gnu.org; Fri, 03 Oct 2008 12:25:51 -0400 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:40160) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KlnTS-0002jw-A8 for emacs-devel@gnu.org; Fri, 03 Oct 2008 12:25:50 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m93GPbL8009153; Fri, 3 Oct 2008 09:25:42 -0700 (PDT) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m93GPZKn023230; Fri, 3 Oct 2008 09:25:35 -0700 (PDT) In-Reply-To: <20081003100758.GA1762@muc.de> (Alan Mackenzie's message of "Fri, 3 Oct 2008 10:07:58 +0000") Original-Lines: 43 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m93GPbL8009153 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:104329 Archived-At: Alan Mackenzie writes: > Hi, > > On Wed, Sep 24, 2008 at 07:55:13PM +0200, csant wrote: > > Hi, > > > I am very glad we recently got the --daemon option. I am having a little > > trouble with it, though. When starting > > $ emacs --daemon > > and then attaching an emacsclient with > > $ emacsclient -t > > I get the following message: > > > > An error has occurred while loading `/home/csant/.emacs': > > > error: Device 0 is not a termcap terminal device I fixed this a few days ago, someone reported it on bug-gnu-emacs. > No suggestions, but a "me too". I've just updated and rebuilt Emacs-23, > and with this command: > > $ ~/emacs/emacs/src/emacs -batch -l 000tests.el -f do-all-tests > > (i.e., run the CC Mode test suite), I get the same error message, > namely: > > Device 0 is not a termcap terminal device > > . This is distressing. It also suggests the error is nothing to do with > --daemon, but perhaps more to do with ttys. The error happens both on a > Linux tty and an X-Windows term. This is very strange, the code that prints the message in question is in init_display. init_display gets called like this: if (!noninteractive) init_display (); /* Determine terminal type. Calls -batch means !noninteractive is false ...