* Batch mode is broken.
@ 2008-04-22 13:53 Alan Mackenzie
2008-04-23 3:19 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Alan Mackenzie @ 2008-04-22 13:53 UTC (permalink / raw)
To: emacs-devel
Hi, Emacs!
With a newly built CVS Emacs, I tried the following command:
% ~/emacs/emacs/src/emacs -Q -batch -l 000tests.el -f do-all-tests
(That's the test suite for CC Mode, by the way.)
It returned this error message:
Device 0 is not a termcap terminal device
, regardless of whether I tried the command in a Linux virtual terminal
or a terminal inside X-Windows.
The error also happened on an older CVS Emacs (maybe about 1 month old),
but I had to do "make maintainer-clean" to get the thing to build, so
I've no record of how old it was.
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Batch mode is broken.
2008-04-22 13:53 Batch mode is broken Alan Mackenzie
@ 2008-04-23 3:19 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2008-04-23 3:19 UTC (permalink / raw)
To: Alan Mackenzie; +Cc: emacs-devel
> With a newly built CVS Emacs, I tried the following command:
> % ~/emacs/emacs/src/emacs -Q -batch -l 000tests.el -f do-all-tests
> (That's the test suite for CC Mode, by the way.)
> It returned this error message:
> Device 0 is not a termcap terminal device
This comes from get_tty_terminal whose relevant callers are suspend-tty,
resume-tty, and send-string-to-terminal. No idea why one of those would
be called. Maybe send-string-to-terminal gets called because Emacs
tries to enable xterm-mouse-mode or xterm-modify-other-keys?
Emacs's batch mode is used to build Emacs, so clearly it works in
some cases. Can you try and narrow down which part of 000tests.el
and/or do-all-tests trigger the problem?
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-23 3:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-22 13:53 Batch mode is broken Alan Mackenzie
2008-04-23 3:19 ` Stefan Monnier
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.