From: Dan Nicolaescu <dann@ics.uci.edu>
To: Alan Mackenzie <acm@muc.de>
Cc: csant <csant@csant.info>, emacs-devel <emacs-devel@gnu.org>
Subject: Re: Device 0 is not a termcap terminal device
Date: Fri, 3 Oct 2008 09:25:35 -0700 (PDT) [thread overview]
Message-ID: <200810031625.m93GPZKn023230@mothra.ics.uci.edu> (raw)
In-Reply-To: <20081003100758.GA1762@muc.de> (Alan Mackenzie's message of "Fri, 3 Oct 2008 10:07:58 +0000")
Alan Mackenzie <acm@muc.de> 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 <file>
> > 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 ...
next prev parent reply other threads:[~2008-10-03 16:25 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-24 17:55 Device 0 is not a termcap terminal device csant
2008-10-03 10:07 ` Alan Mackenzie
2008-10-03 16:14 ` Chong Yidong
2008-10-04 22:27 ` Alan Mackenzie
2009-02-04 22:45 ` moboyle79
2009-02-05 7:15 ` Dan Nicolaescu
2008-10-03 16:25 ` Dan Nicolaescu [this message]
2009-09-01 20:08 ` Alan Mackenzie
2009-09-01 21:31 ` Andreas Schwab
2009-09-01 22:27 ` Alan Mackenzie
2009-09-01 22:36 ` Andreas Schwab
2009-09-01 23:02 ` Alan Mackenzie
2009-09-02 9:14 ` Andreas Schwab
2009-09-02 9:57 ` Alan Mackenzie
2009-09-02 10:11 ` Andreas Schwab
2009-09-01 23:20 ` Stefan Monnier
2009-09-02 9:43 ` Alan Mackenzie
2009-09-02 17:48 ` Stefan Monnier
2009-09-11 20:36 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200810031625.m93GPZKn023230@mothra.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=acm@muc.de \
--cc=csant@csant.info \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.