#
1.33 |
|
08-Oct-2019 |
kn |
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 tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.32 |
|
15-Mar-2017 |
deraadt |
annoying whitespace die die die
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.31 |
|
28-Nov-2013 |
deraadt |
unsigned char for ctype ok krw okan
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.30 |
|
01-Apr-2010 |
lum |
Allow top to accept tab characters as input in interactive mode while using the kill and renice commands. This removes a bug where process numbers that came after a tab character in the input string would not be affected by the corresponding command.
ok tedu@ otto@
|
#
1.29 |
|
23-Mar-2010 |
lum |
Fix pointer usage with the renice and kill error message structure. Pointer was used without allocating memory. ok beck@ otto@
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
|
#
1.28 |
|
29-May-2007 |
otto |
Instead of using hand-crafted redraws minimizing screen updates, use curses. Enables nice things like process highlighting without hurting the brain. ok deraadt@
|
Revision tags: OPENBSD_4_1_BASE
|
#
1.27 |
|
23-Feb-2007 |
millert |
Use sys_signame[] from libc instead of creating a top-specific signame name to number table. Also use strcasecmp() when matching signal names for consistency with /bin/kill. OK deraadt@ henning@ simon@
|
#
1.26 |
|
14-Feb-2007 |
jmc |
more refinements for the interactive commands section; ok otto
|
#
1.25 |
|
09-Feb-2007 |
jmc |
document how signalling via `k' works, after some help from theo and miod;
|
#
1.24 |
|
09-Feb-2007 |
jmc |
sync somewhat to the man page; started by a diff from Mark Lumsden
|
#
1.23 |
|
06-Feb-2007 |
otto |
Compact help screen a bit so it fits in 24 lines again. Based on a diff from Mark Lumsden.
|
#
1.22 |
|
04-Feb-2007 |
otto |
Introducing the '+' interactive command to reset all filters. From Mark Lumsden. ok millert@ deraadt@ simon@
|
#
1.21 |
|
05-Jan-2007 |
otto |
tidy & sort help display
|
#
1.20 |
|
05-Jan-2007 |
otto |
add new g command to interactive help; from Mark Lumsden
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.19 |
|
04-Dec-2005 |
tedu |
support for toggling thread viewing. ok brad, hints from jmc
|
#
1.18 |
|
07-Oct-2005 |
hshoexer |
sync help message with reality: sort acceptes keyword "pri"
ok deraadt@
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.17 |
|
17-Jun-2005 |
markus |
add a 'C' command ) that toggles the display of the full cmdline; with Jared Yanovich; ok deraadt
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.16 |
|
07-Oct-2004 |
otto |
introduce -p option and p command to only show a single process. From Patrick Latifi. ok deraadt@ millert@
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.15 |
|
27-Jun-2004 |
marc |
errno struct member -> err; ok millert@
|
#
1.14 |
|
09-May-2004 |
deraadt |
spaces
|
Revision tags: OPENBSD_3_5_BASE
|
#
1.13 |
|
19-Sep-2003 |
jmc |
commands.c: add `o' and `S' to internal help, sort options top.1: sort options and SYNOPSIS add description of `o' (from Patrick Latifi) top.c: sync usage() with SYNOPSIS
ok deraadt@
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.12 |
|
20-Jun-2003 |
deraadt |
some cleanings recommended by lint
|
#
1.11 |
|
17-Jun-2003 |
jfb |
properly typecast to uid_t the return value of proc_owner() and report ESRCH instead of EACCES if it returns -1
ok millert@
|
#
1.10 |
|
15-Jun-2003 |
millert |
use uid_t and fix some sign compare warnings; OK krw@ and deraadt@
|
#
1.9 |
|
13-Jun-2003 |
deraadt |
readable code
|
#
1.8 |
|
12-Jun-2003 |
pvalchev |
cleanup; ok deraadt
|
#
1.7 |
|
06-Apr-2003 |
tdeval |
strcat -> strlcat fix. ok tedu@, deraadt@
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.6 |
|
15-Jul-2002 |
deraadt |
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.
|
#
1.5 |
|
29-May-2002 |
deraadt |
strlcat
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.4 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
#
1.3 |
|
19-Nov-2001 |
mpech |
kill more registers
millert@ ok
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.2 |
|
22-Aug-1997 |
downsj |
First sweep. Prototype, type fixes, long fixes, mostly compiles with -Wall.
|
#
1.1 |
|
14-Aug-1997 |
downsj |
top 3.4, with a few changes. Still needs more work.
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.32 |
|
15-Mar-2017 |
deraadt |
annoying whitespace die die die
|
Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.31 |
|
28-Nov-2013 |
deraadt |
unsigned char for ctype ok krw okan
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
|
#
1.30 |
|
01-Apr-2010 |
lum |
Allow top to accept tab characters as input in interactive mode while using the kill and renice commands. This removes a bug where process numbers that came after a tab character in the input string would not be affected by the corresponding command.
ok tedu@ otto@
|
#
1.29 |
|
23-Mar-2010 |
lum |
Fix pointer usage with the renice and kill error message structure. Pointer was used without allocating memory. ok beck@ otto@
|
Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
|
#
1.28 |
|
29-May-2007 |
otto |
Instead of using hand-crafted redraws minimizing screen updates, use curses. Enables nice things like process highlighting without hurting the brain. ok deraadt@
|
Revision tags: OPENBSD_4_1_BASE
|
#
1.27 |
|
23-Feb-2007 |
millert |
Use sys_signame[] from libc instead of creating a top-specific signame name to number table. Also use strcasecmp() when matching signal names for consistency with /bin/kill. OK deraadt@ henning@ simon@
|
#
1.26 |
|
14-Feb-2007 |
jmc |
more refinements for the interactive commands section; ok otto
|
#
1.25 |
|
09-Feb-2007 |
jmc |
document how signalling via `k' works, after some help from theo and miod;
|
#
1.24 |
|
09-Feb-2007 |
jmc |
sync somewhat to the man page; started by a diff from Mark Lumsden
|
#
1.23 |
|
06-Feb-2007 |
otto |
Compact help screen a bit so it fits in 24 lines again. Based on a diff from Mark Lumsden.
|
#
1.22 |
|
04-Feb-2007 |
otto |
Introducing the '+' interactive command to reset all filters. From Mark Lumsden. ok millert@ deraadt@ simon@
|
#
1.21 |
|
05-Jan-2007 |
otto |
tidy & sort help display
|
#
1.20 |
|
05-Jan-2007 |
otto |
add new g command to interactive help; from Mark Lumsden
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE
|
#
1.19 |
|
04-Dec-2005 |
tedu |
support for toggling thread viewing. ok brad, hints from jmc
|
#
1.18 |
|
07-Oct-2005 |
hshoexer |
sync help message with reality: sort acceptes keyword "pri"
ok deraadt@
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.17 |
|
17-Jun-2005 |
markus |
add a 'C' command ) that toggles the display of the full cmdline; with Jared Yanovich; ok deraadt
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.16 |
|
07-Oct-2004 |
otto |
introduce -p option and p command to only show a single process. From Patrick Latifi. ok deraadt@ millert@
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.15 |
|
27-Jun-2004 |
marc |
errno struct member -> err; ok millert@
|
#
1.14 |
|
09-May-2004 |
deraadt |
spaces
|
Revision tags: OPENBSD_3_5_BASE
|
#
1.13 |
|
19-Sep-2003 |
jmc |
commands.c: add `o' and `S' to internal help, sort options top.1: sort options and SYNOPSIS add description of `o' (from Patrick Latifi) top.c: sync usage() with SYNOPSIS
ok deraadt@
|
Revision tags: OPENBSD_3_4_BASE
|
#
1.12 |
|
20-Jun-2003 |
deraadt |
some cleanings recommended by lint
|
#
1.11 |
|
17-Jun-2003 |
jfb |
properly typecast to uid_t the return value of proc_owner() and report ESRCH instead of EACCES if it returns -1
ok millert@
|
#
1.10 |
|
15-Jun-2003 |
millert |
use uid_t and fix some sign compare warnings; OK krw@ and deraadt@
|
#
1.9 |
|
13-Jun-2003 |
deraadt |
readable code
|
#
1.8 |
|
12-Jun-2003 |
pvalchev |
cleanup; ok deraadt
|
#
1.7 |
|
06-Apr-2003 |
tdeval |
strcat -> strlcat fix. ok tedu@, deraadt@
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.6 |
|
15-Jul-2002 |
deraadt |
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.
|
#
1.5 |
|
29-May-2002 |
deraadt |
strlcat
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.4 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
#
1.3 |
|
19-Nov-2001 |
mpech |
kill more registers
millert@ ok
|
Revision tags: OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE
|
#
1.2 |
|
22-Aug-1997 |
downsj |
First sweep. Prototype, type fixes, long fixes, mostly compiles with -Wall.
|
#
1.1 |
|
14-Aug-1997 |
downsj |
top 3.4, with a few changes. Still needs more work.
|