Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* emacs 19 problem on alpha
@ 1994-09-08 20:33 Doug Rand
  1994-09-12 22:13 ` Doug Rand
  0 siblings, 1 reply; 2+ messages in thread
From: Doug Rand @ 1994-09-08 20:33 UTC (permalink / raw)


I'm having a strange problem.  I just upgraded from OSF/1 V2 to V3
on alpha and I can no longer do dired.  Tracking down the problem
I found that no data was coming back over the pipe emacs sets up
for the subprocess.  Anyone know how to fix this?  Better,  does
anyone have a prebuilt copy of either lemacs or emacs-19 for alpha
with a fix?

-- 
Doug Rand <drand@x.org>           		X Consortium
Disclaimer: We set the standards for disclaimers



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs 19 problem on alpha
  1994-09-08 20:33 emacs 19 problem on alpha Doug Rand
@ 1994-09-12 22:13 ` Doug Rand
  0 siblings, 0 replies; 2+ messages in thread
From: Doug Rand @ 1994-09-12 22:13 UTC (permalink / raw)


Doug Rand (drand@omega.x.org) wrote:
: I'm having a strange problem.  I just upgraded from OSF/1 V2 to V3
: on alpha and I can no longer do dired.  Tracking down the problem
: I found that no data was coming back over the pipe emacs sets up
: for the subprocess.  Anyone know how to fix this?  Better,  does
: anyone have a prebuilt copy of either lemacs or emacs-19 for alpha
: with a fix?

First,  I want to thank the person from DEC for sending me a new
version of callproc.c with the problem fixed.  Good and fast
work.  I'll also note that the fix is in the patch to 19.26 on
gatekeeper.dec.com for anyone else suffering the same malady.

The same fix can be made to lucid emacs,  just change
the line calling read in callproc to != 0 instead of > 0 
and add a clause so that the body of the loop isn't executed
if nread is < 0.  Everything seems to work fine.

The root cause,  from what he's told me and a little reading
of a POSIX book,  is that if you set the FD to non-blocking,  you
can get an error code if there isn't any data waiting,  and this
isn't a fatal error.  So one should continue to try to read the 
pipe.

--
Doug Rand <drand@x.org>           		X Consortium
Disclaimer: We set the standards for disclaimers



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-09-12 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-09-08 20:33 emacs 19 problem on alpha Doug Rand
1994-09-12 22:13 ` Doug Rand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox