bug-ncurses
[Top][All Lists]
Advanced

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

PATCH: unnecessary(?) sleep in reset program


From: Jesse Luehrs
Subject: PATCH: unnecessary(?) sleep in reset program
Date: Sat, 11 Feb 2017 11:13:03 -0500
User-agent: Mutt/1.7.2 (2016-11-26)

The reset command includes a 1 second sleep that I don't really
understand the purpose of. The only explanation is a comment saying
"Settle the terminal", and doing some archaeology, it seems to have been
introduced between 2BSD and 2.9BSD (so sometime between 1979 and 1983),
and just carried along into every version since. I can't really imagine
what this would do on a terminal emulator - maybe it was only meaningful
for hardware terminals?

In any case, I've tested out the attached patch locally (Linux), and it
seems to work fine. Does anyone have any more detailed knowledge of what
the purpose of this was supposed to be? Could it be either removed or
replaced with some kind of check for when it's actually necessary? It's
kind of annoying that reset always has a 1 second delay for no apparent
reason.

-doy

Attachment: ncurses.patch
Description: Text Data


reply via email to

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