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

David Carlisle d.p.carlisle at gmail.com
Fri Jul 2 11:22:38 CEST 2021


what terminal are you using? I just entered 2500 characters on a line
in cygwin xterm with no issues (the resulting line was a little
overfull:-)

On Fri, 2 Jul 2021 at 10:09, 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.
>
> If one tries to go beyond the terminal « beeps » (at my locale it is a kind of blinking). But one must understand that to escape one **must** delete and enter <return> itself as the 1024th character, not the 1025th one.
>
> I suggest the « beep » should happen not at the 1025th character but at the 1024th which should be ignored and not echoed (as anyhow there is no way to get it through) except if it is the EOL character, i.e. <return> normally.
>
> It took me a while to understand.
>
> Also my panicked CTRL-C seemed without effect but it had to be CTRL-C <return>
>
> Best,
>
> Jean-François
>
> $ tex
> This is TeX, Version 3.141592653 (TeX Live 2021) (preloaded format=tex)
> **\relax
>
> *1234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234!
>  567812345678123456781234567812345678^C^C^C^C
>
> The ^C^C^C^C near the end were my attempt to kill the job.
>
> As explained above I should have simply hit the « delete » key to reduce to 1023 characters, then hit <return>.
>
> Or CTRL-C <return>
>
>
>
>
>



More information about the tex-live mailing list.