tex in interactive mode gets seemingly frozen when input exceeds 1024 characters as the terminal warning is issued one character too late
jfbu
jfbu at free.fr
Fri Jul 2 11:08:26 CEST 2021
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
*1234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678123456781234567812345678^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.