Bug 12946

Summary: top(1) gives incorrect delay default
Product: Base System Reporter: fullermd
Component: binAssignee: Alexey Zelkin <phantom>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description fullermd 1999-08-03 23:20:01 UTC
	top(1) says under the -s option:

       -stime Set the delay between screen updates to  time  sec-
              onds.   The default delay between updates is 5 sec-
              onds.

	However, empirical evidence (read: running top) shows that the
	default delay is 2 seconds.

How-To-Repeat: 
	man top
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-17 18:45:44 UTC
Responsible Changed
From-To: freebsd-bugs->phantom

Alexey, could you have a look and see why %delay% isn't bei 
ng expanded as expected?
Comment 2 Sheldon Hearn 2000-07-20 14:13:46 UTC
On Thu, 20 Jul 2000 15:43:55 +0300, Alexey Zelkin wrote:

> Anyway -- we need to fix it and we have two points how to do it:
> 
> 1. fix manpage to reflect 2 sec. timeout.
> 2. fix top.local.h to reflect documented 5 sec. timeout.

Well, it'd be nice for the probelm to be fixed in 4.1-RELEASE (a few
hours from freeze now).  So I'd suggest that we just fix the
documentation, rather than upsetting people by changing the way it seems
to have been in FreeBSD for as long as CVS can remember. :-)

Will you commit and merge?  The manual page is already off the vendor
branch.

Ciao,
Sheldon.
Comment 3 Alexey Zelkin freebsd_committer freebsd_triage 2000-08-22 15:13:48 UTC
State Changed
From-To: open->closed

manpage is corrected. Thanks!