[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `print' does not print
From: |
Ralf Fassel |
Subject: |
Re: `print' does not print |
Date: |
21 Mar 2002 21:15:31 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
* eliz@is.elta.co.il (Eli Zaretskii)
| It works for me, both in Emacs 21.1 and 21.2. Can you two try this
| in "emacs -nw"?
As I said in another message, -nw does not help.
I checked with gdb, and emacs arrives quite fine at the fwrite() in
print.c:334 ( I added the `written' var to get at the fwrite return
value):
else if (noninteractive)
{
size_t written;
=> written = fwrite (str, 1, len, stdout);
noninteractive_need_newline = 1;
}
But the return value is 0, indicating some I/O problem, errno at that
point is "Bad file number".
I inserted a fprintf right at the start of `main()', and it shows up
while dumping emacs via temacs:
% gmake
...
LC_ALL=C ./temacs -batch -l loadup dump
STDOUT hello world
STDERR hello world
Loading loadup (source)...
...
% ./temacs
STDERR hello world
STDOUT hello world
but when running the dumped emacs, nothing comes out.
% ./emacs -batch -no-site-file -f kill-emacs
%
Any idea how to go on? I do not know much of the technical details of
the dump process.
R'
- `print' does not print, Ralf Fassel, 2002/03/20
- Re: `print' does not print, D. Goel, 2002/03/20
- Re: `print' does not print, Eli Zaretskii, 2002/03/21
- Re: `print' does not print,
Ralf Fassel <=
- Re: `print' does not print, Ralf Fassel, 2002/03/21
- Re: `print' does not print, Eli Zaretskii, 2002/03/22
- Re: `print' does not print, Ralf Fassel, 2002/03/22
- Re: `print' does not print, Eli Zaretskii, 2002/03/22
- Re: `print' does not print, Ralf Fassel, 2002/03/22
- Re: `print' does not print, Eli Zaretskii, 2002/03/22
- Re: `print' does not print, Ralf Fassel, 2002/03/22
- Re: `print' does not print, Eli Zaretskii, 2002/03/22
- Re: `print' does not print, Ralf Fassel, 2002/03/22
- Re: `print' does not print, Eli Zaretskii, 2002/03/22