* HP-UX : problems with multiple calls to process-send-region
@ 2003-02-14 17:20 andrew.maguire
0 siblings, 0 replies; 3+ messages in thread
From: andrew.maguire @ 2003-02-14 17:20 UTC (permalink / raw)
I have a subprocess to which I am sending data using process-send-region.
I have found that with HP-UX 11 the subprocess is apparently not receiving
(a middle) part of the data.
As an experiment, I advised process-send-region to call sit-for with a small
amount of time before each call. If the time is set to > 0.01 seconds
all the data is successfully passed. With delays < 0.01 an increasing amount
of data
is being lost.
I am using Emacs 21.2 but I have checked that the problem existed in a
patched
version of 20.3 too also.
Any suggestions/solutions?
TIA
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: HP-UX : problems with multiple calls to process-send-region
[not found] <mailman.1982.1045243419.21513.help-gnu-emacs@gnu.org>
@ 2003-02-14 20:31 ` Kai Großjohann
0 siblings, 0 replies; 3+ messages in thread
From: Kai Großjohann @ 2003-02-14 20:31 UTC (permalink / raw)
andrew.maguire@ps.ge.com writes:
> I have a subprocess to which I am sending data using process-send-region.
> I have found that with HP-UX 11 the subprocess is apparently not receiving
> (a middle) part of the data.
> As an experiment, I advised process-send-region to call sit-for with a small
> amount of time before each call. If the time is set to > 0.01 seconds
> all the data is successfully passed. With delays < 0.01 an increasing amount
> of data
> is being lost.
>
> I am using Emacs 21.2 but I have checked that the problem existed in a
> patched
> version of 20.3 too also.
>
> Any suggestions/solutions?
Interesting. A Tramp co-developer (producing more code than me) also
found this problem recently. It exists in the CVS version of Emacs,
too. It's not clear to me what can be done about it. Tramp includes
a workaround (involving sleep-for I think), but of course it would be
better to fix the C code.
Do you know something about HP-UX development and could you have a
look at the Emacs code to see what's wrong? I know little C and less
HP-UX, so it's difficult for me...
--
A turnip curses Elvis
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: HP-UX : problems with multiple calls to process-send-region
@ 2003-02-21 15:34 andrew.maguire
0 siblings, 0 replies; 3+ messages in thread
From: andrew.maguire @ 2003-02-21 15:34 UTC (permalink / raw)
Cc: help-gnu-emacs
I do little C too. But I will try to find some time to investigate this
further.
I also found that if I built Emacs on HPUX 11.00 then the cursor would
only flash when Emacs received mouse or keyboard input.
I found that if I built Emacs on an HPUX 10.20 box the cursor flashed as
it should do.
Andrew
> -----Original Message-----
> From: kai.grossjohann@uni-duisburg.de
> Interesting. A Tramp co-developer (producing more code than me) also
> found this problem recently. It exists in the CVS version of Emacs,
> too. It's not clear to me what can be done about it. Tramp includes
> a workaround (involving sleep-for I think), but of course it would be
> better to fix the C code.
>
> Do you know something about HP-UX development and could you have a
> look at the Emacs code to see what's wrong? I know little C and less
> HP-UX, so it's difficult for me...
> andrew.maguire@ps.ge.com writes:
>
> > I have a subprocess to which I am sending data using
> process-send-region.
> > I have found that with HP-UX 11 the subprocess is
> apparently not receiving
> > (a middle) part of the data.
> > As an experiment, I advised process-send-region to call
> sit-for with a small
> > amount of time before each call. If the time is set to >
> 0.01 seconds
> > all the data is successfully passed. With delays < 0.01 an
> increasing amount
> > of data
> > is being lost.
> >
> > I am using Emacs 21.2 but I have checked that the problem
> existed in a
> > patched
> > version of 20.3 too also.
> >
> > Any suggestions/solutions?
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-21 15:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-21 15:34 HP-UX : problems with multiple calls to process-send-region andrew.maguire
[not found] <mailman.1982.1045243419.21513.help-gnu-emacs@gnu.org>
2003-02-14 20:31 ` Kai Großjohann
-- strict thread matches above, loose matches on Subject: below --
2003-02-14 17:20 andrew.maguire
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).