tex in interactive mode gets seemingly frozen when input exceeds 1024 characters as the terminal warning is issued one character too late

Justin C. Walker justin at mac.com
Fri Jul 2 20:43:39 CEST 2021

> On Jul 2, 2021, at 02:08 , jfbu <jfbu at free.fr> wrote:
> Hi,
> I encountered what I feel is a bug in the tex interactive interface. Same in etex.
> Context: input can not exceed 1024 characters.

To add a bit of information to the thread and the essentially correct responses, you can check out the manual pages for ‘stty’ and ‘sysctl’ (with the “man” command, as in “man stty”).  See the blurbs under “stty -imaxbel” and “man sysctl user.max_line”.

Keep in mind that the man pages in unix/linux systems are not always completely accurate, but they will give you an idea of what is/should be happening behind the curtains.

In short, the issue is a system one, dictated by how it handles buffers and buffering in the kernel.



Justin C. Walker, Curmudgeon at Large
Institute for the Enhancement of the Director's Income
In mathematics you don't understand
   things. You just get used to them. 
   --John von Neumann

More information about the tex-live mailing list.