emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to change the recv buffer size dynamically for networ


From: Richard Stallman
Subject: Re: Is it possible to change the recv buffer size dynamically for network process or subprocess?
Date: Sun, 29 Mar 2020 23:37:58 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > For example, when I run find or grep in a directory with plenty of files, 
the output of the subprocess may continue for 1 minute, while I can’t stop it.

In ITS I put limits on the size of output buffers in interactive remote login
so as to prevent that sort of problem.  The small buffer ensured that if you
typed C-c or C-z, you wouldn't have to wait as lots of output arrived
before the program stopped generating more output.

In Emacs, we want large buffers for the situation where a Lisp program
is running and goes for some time without allowing subprocesses output
to enter.

Perhaps if we study the cases where we need a large buffer and the
cases where we don't want a large buffer, we could find a criterion to
distinguish.

-- 
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]