tex in interactive mode gets seemingly frozen when input exceeds 1024 characters as the terminal warning is issued one character too late
Paulo Roberto Massa Cereda
cereda.paulo at gmail.com
Fri Jul 2 11:20:03 CEST 2021
Hi Jean-François,
I am not sure, but I believe the input length is capped by the tty
internal size limit, not exactly by tex in particular. IIRC 1024 is max
in OSX, and perhaps (1024 x 4) in Unix. Just my 2 cents. :)
Cheerio,
Paulo
Em 02/07/2021 06:08, jfbu escreveu:
> 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.