bug-ncurses
[Top][All Lists]
Advanced

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

Re: PATCH: unnecessary(?) sleep in reset program


From: Jesse Luehrs
Subject: Re: PATCH: unnecessary(?) sleep in reset program
Date: Sun, 12 Feb 2017 09:26:49 -0500
User-agent: Mutt/1.7.2 (2016-11-26)

On Sun, Feb 12, 2017 at 06:58:26AM -0500, Thomas Dickey wrote:
> On Sat, Feb 11, 2017 at 11:13:03AM -0500, Jesse Luehrs wrote:
> > The reset command includes a 1 second sleep that I don't really
> > understand the purpose of. The only explanation is a comment saying
> 
> thanks, but I already decided to not do this last year.

Out of curiosity, why did you make this decision? Shouldn't we be fairly
sure that a terminal type of xterm or screen or things like that will
never involve a hardware reset?

> You can do what you intend using
> 
>       tput reset
> 
> You might find the (up-to-date) manual pages helpful:
> 
>       http://invisible-island.net/ncurses/man/tput.1.html
>       http://invisible-island.net/ncurses/man/tset.1.html

Thanks. Would it maybe be reasonable for the ncurses build process to
install reset as a symlink to tput instead of tset?

-doy



reply via email to

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