GNU bug report logs -
#64554
27.1; comint-mode cuts input after 4095 characters
Previous Next
To reply to this bug, email your comments to 64554 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64554
; Package
emacs
.
(Mon, 10 Jul 2023 13:07:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jens Thiele <karme <at> karme.de>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 10 Jul 2023 13:07:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi!
I see an annoying bug with comint-mode where lines are cut off after
4095 characters.
How to reproduce:
start comint-mode with cat:
M-: (switch-to-buffer (make-comint "cat" "cat"))
insert 10000 u's
C-u 10000 u RET
and get only 4095 u's back in return (where of course 10000 should be returned)
greetings
Jens
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64554
; Package
emacs
.
(Mon, 10 Jul 2023 13:25:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 64554 <at> debbugs.gnu.org (full text, mbox):
> From: Jens Thiele <karme <at> karme.de>
> Date: Mon, 10 Jul 2023 11:37:38 +0200
>
> I see an annoying bug with comint-mode where lines are cut off after
> 4095 characters.
>
> How to reproduce:
> start comint-mode with cat:
> M-: (switch-to-buffer (make-comint "cat" "cat"))
> insert 10000 u's
> C-u 10000 u RET
> and get only 4095 u's back in return (where of course 10000 should be returned)
Set process-connection-type to nil if you want to send more than 4KB
to a process. AFAIR, this is a fundamental limitation of PTYs, which
are used by default for communicating with async subprocesses.
Setting process-connection-type to nil uses pipes instead.
See
https://unix.stackexchange.com/questions/643777/is-there-any-limit-on-line-length-when-pasting-to-a-terminal-in-linux
This bug report was last modified 1 year and 176 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.