OpenBSD CVS

CVS log for src/usr.bin/top/screen.c


[BACK] Up to [local] / src / usr.bin / top

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22 / (download) - annotate - [select for diffs], Tue Oct 8 07:26:59 2019 UTC (4 years, 7 months ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, HEAD
Changes since 1.21: +12 -12 lines
Diff to previous 1.21 (colored)

Replace "boolean.h" with <stdbool.h>

Be consistent with other programs in base and unify variable usage as
follows to improve readability:

bool = (bool == No) ? Yes : No  ->  bool = !bool
if (bool == Yes)                ->  if (bool)
if (bool == No)                 ->  if (!bool)
bool = Maybe                    ->  bool = -1

OK millert

Revision 1.21 / (download) - annotate - [select for diffs], Wed Mar 15 04:24:14 2017 UTC (7 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.20: +6 -6 lines
Diff to previous 1.20 (colored)

annoying whitespace die die die

Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 5 10:21:10 2010 UTC (14 years, 3 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored)

Header_lines always has the same value as y_procs; so zap the former;
from Mark Lumsden.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Sep 24 18:53:55 2008 UTC (15 years, 7 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.18: +1 -13 lines
Diff to previous 1.18 (colored)

remove unused function

from tobias@

ok otto@ tobias@

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 10 19:10:06 2007 UTC (16 years, 11 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.17: +6 -2 lines
Diff to previous 1.17 (colored)

clear to end of line at quit, needed for terms that do not restore
content on quiting curses mode, like screen. found and tested by ray@

Revision 1.17 / (download) - annotate - [select for diffs], Tue May 29 00:56:56 2007 UTC (16 years, 11 months ago) by otto
Branch: MAIN
Changes since 1.16: +25 -95 lines
Diff to previous 1.16 (colored)

Instead of using hand-crafted redraws minimizing screen updates, use curses.
Enables nice things like process highlighting without hurting the brain.
ok deraadt@

Revision 1.16 / (download) - annotate - [select for diffs], Wed Apr 4 19:12:15 2007 UTC (17 years, 1 month ago) by otto
Branch: MAIN
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored)

garbage collect unused var ospeed; from Mark Lumsden

Revision 1.15 / (download) - annotate - [select for diffs], Fri Mar 30 19:21:19 2007 UTC (17 years, 1 month ago) by otto
Branch: MAIN
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored)

Remove some uneeded includes and declarations. -Wall is happy and no
binary change. From Mark Lumsden.

Revision 1.14 / (download) - annotate - [select for diffs], Sun May 9 22:14:15 2004 UTC (20 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored)

spaces

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 16 17:24:44 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Add missing #include <err.h>

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jun 16 01:09:02 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.11: +12 -28 lines
Diff to previous 1.11 (colored)

use warnx(); millert ok

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jun 13 21:52:25 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

readable code

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jun 12 23:09:30 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.9: +208 -259 lines
Diff to previous 1.9 (colored)

knf

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jun 12 22:30:23 2003 UTC (20 years, 11 months ago) by pvalchev
Branch: MAIN
Changes since 1.8: +19 -28 lines
Diff to previous 1.8 (colored)

cleanup; ok deraadt

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 15 17:20:36 2002 UTC (21 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.7: +22 -5 lines
Diff to previous 1.7 (colored)

license change from William LeFebvre <wnl@groupsys.com>; top is now BSD
licensed.  this same license will show up on his next release as well.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jul 27 17:13:42 2001 UTC (22 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.6: +13 -5 lines
Diff to previous 1.6 (colored)

abort if stdout use ever produces EOF.  before, top was one of those nasty
processes that could spin if it's output tty went away in some cases.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 26 01:34:04 1999 UTC (25 years, 1 month ago) by downsj
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

s/STDIN_FILENO/STDOUT_FILENO/ to match top distribution code, rohee@essi.fr.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Dec 2 17:56:30 1997 UTC (26 years, 5 months ago) by bitblt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.4: +6 -3 lines
Diff to previous 1.4 (colored)

watch those overflows

Revision 1.4 / (download) - annotate - [select for diffs], Tue Sep 16 19:25:00 1997 UTC (26 years, 8 months ago) by weingart
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

small terminals are dumb

Revision 1.3 / (download) - annotate - [select for diffs], Sun Aug 24 18:37:47 1997 UTC (26 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Fix compiler warnings.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Aug 22 07:16:29 1997 UTC (26 years, 9 months ago) by downsj
Branch: MAIN
Changes since 1.1: +33 -187 lines
Diff to previous 1.1 (colored)

First sweep.  Prototype, type fixes, long fixes, mostly compiles with
-Wall.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Aug 14 14:00:24 1997 UTC (26 years, 9 months ago) by downsj
Branch: MAIN

top 3.4, with a few changes.  Still needs more work.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.