Subject: Re: bug#49822: master e32c7d2: Change Python eval to send directly instead of using temporary files

From: Andreas Schwab <[email-masked]>
Date: Mon, 06 Sep 2021 10:40:57 +0200

On Sep 06 2021, Michael Albinus wrote:

> Augusto Stoffel <[email-masked]> writes:
>
>> Okay, so is the TTY line length limit of the OS available in Lisp
>> somewhere?  Otherwise, can we at least trust that 1024 is the universal
>> lower bound?
>
> On systems with a POSIX shell:
>
> (let ((default-directory "/"))
>   (read (shell-command-to-string "getconf LINE_MAX")))

LINE_MAX has nothing to do with the tty line discipline.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."