GNU bug report logs -
#7078
24.0.50; process-send-string doesn't work with long lines on Solaris
Previous Next
Reported by: Knut Anders Hatlen <kahatlen <at> gmail.com>
Date: Mon, 20 Sep 2010 22:17:01 UTC
Severity: normal
Merged with 6800
Found in versions 23.1, 24.0.50, 24.0.90
Done: David Fox <ddssff <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7078 in the body.
You can then email your comments to 7078 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7078
; Package
emacs
.
(Mon, 20 Sep 2010 22:17:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Knut Anders Hatlen <kahatlen <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 20 Sep 2010 22:17:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
With Emacs 24 on Solaris, the code below will insert ^G into the current
buffer. With Emacs 23.2, and with Emacs 24 on Linux, it will insert 257
a's into the current buffer, which is the expected behaviour. The
problem is only seen if the string passed to process-send-string
contains lines that exceed 256 characters.
(let ((process (start-process "cat" (current-buffer) "cat")))
(process-send-string process (format "%s\n" (make-string 257 ?a))))
The bug was introduced with this change:
revno: 99890
committer: Stefan Monnier <monnier <at> iro.umontreal.ca>
branch nick: trunk
timestamp: Mon 2010-04-12 22:07:48 -0400
message:
Try to solve the problem of spurious EOF chars in long lines of text
sent to interactive subprocesses.
* sysdep.c (child_setup_tty): Do not enable ICANON any more.
(system_process_attributes): Remove unused var `ttotal'.
* process.c (send_process): Don't bother breaking long line with EOF
chars when talking to ttys any more.
(wait_reading_process_output): Output a warning when called in such
a way that it could block without being interruptible.
--
Knut Anders
bug Marked as found in versions 24.0.90.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 09 Nov 2011 00:27:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#7078
; Package
emacs
.
(Fri, 14 Sep 2012 09:16:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 7078 <at> debbugs.gnu.org (full text, mbox):
Hi,
with emacs 24.2 257 characters work, but probably only because
some buffer has been increased to 4K. Trying with 6000
characters, will only insert the first 4K characters.
However, with process-connection-type set to nil everything works
as expected.
Bye,
Hendrik Tews
Merged 6800 7078.
Request was from
Alan Third <alan <at> idiocy.org>
to
control <at> debbugs.gnu.org
.
(Fri, 12 Aug 2016 18:46:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 10 Sep 2016 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 286 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.