summaryrefslogtreecommitdiff
path: root/usr.bin/top
AgeCommit message (Collapse)Author
2008-04-02using getpwent() in a loop is so 1980; ok millertTheo de Raadt
2007-11-30Simplify process header display logic a bit. From Mark LumsdenOtto Moerbeek
2007-11-29fix small glitch in displaying process list header; from Mark LumsdenOtto Moerbeek
2007-11-27use symbolic constant 'Infinity' instead of -1 where appropriate; fromOtto Moerbeek
Mark Lumsden
2007-11-22Diff from Mark Lumsden: cleanup of reading strings and numbers, toOtto Moerbeek
make sure command line args and interactive reading of numbers use the same code. More concrete, interactive use of 'd' and 'n' now also interpret 'max', 'infinite' and 'all' and handle non-numbers correctly. tested by a few
2007-11-17oops - fix dodgy -width specifier too;Jason McIntyre
2007-11-17talk about "user" consistently; from Mark LumsdenJason McIntyre
2007-11-06prevent segv on wrong sort name; Mark Lumsden.Otto Moerbeek
2007-11-04Also show warning message for -U and -p in message area; noted by MarkOtto Moerbeek
Lumsden
2007-11-04Get rid of the very annoying warning message + delay when a commandOtto Moerbeek
line argument is wrong. Just display the message in the message area. ok deraadt@ sobrado@ simon@ henning@
2007-11-01make check on -s and interactive s consistent; from Tilo StritzkyOtto Moerbeek
2007-11-01bump arbitrary limit on arg length shown by -C; requested by and ok deraadt@Otto Moerbeek
2007-11-01cleanup of message handling, originally from Mark Lumsden, with aOtto Moerbeek
twist by me. ok deraadt@
2007-10-16Properly adjust headers displayed when the screen contains few lines.Otto Moerbeek
Avoid a segv also. Problem reported by Mark Lumsden; inital diff by me, further polishing by Mark. Tested by ray@ canacar@ hshoexer@
2007-10-04only init screen when in interactive mode; ok ray@Otto Moerbeek
2007-10-01typos in comment; from Pierre RiteauOtto Moerbeek
2007-09-30unused static var; from Mark LumsdenOtto Moerbeek
2007-09-27No need to use two buffers for reading data from the user. From MarkOtto Moerbeek
Lumsden; ok ray@
2007-09-26reuse available var, from Mark LumsdenOtto Moerbeek
2007-09-25remove unneeded files, from Mark LumsdenOtto Moerbeek
2007-09-18redundant asignment; from Mark LumsdenOtto Moerbeek
2007-09-17small update regarding removal of process highlighting;Jason McIntyre
spotted by Mark Lumsden
2007-09-10typo in message, from Mark Lumsden.Otto Moerbeek
2007-07-27size_t vs ssize_t error; spotted by zinovik@cs.karelia.ruTheo de Raadt
2007-07-27u_endscreen()'s argument is entirely unused; inspired by zinovik@cs.karelia.ruTheo de Raadt
2007-07-27replace a few more malloc(n*m) idioms with calloc(n,m) for safety;Theo de Raadt
inspired by zinovik@cs.karelia.ru
2007-07-16fix percentage computation of wrapping numbers; from Willem DijkstraOtto Moerbeek
via henning@ with a twist by me
2007-06-10clear to end of line at quit, needed for terms that do not restoreOtto Moerbeek
content on quiting curses mode, like screen. found and tested by ray@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29Instead of using hand-crafted redraws minimizing screen updates, use curses.Otto Moerbeek
Enables nice things like process highlighting without hurting the brain. ok deraadt@
2007-04-16don't truncate wchan, ok miod@Otto Moerbeek
2007-04-13include cleanup and fix in comment; from Mark LumsdenOtto Moerbeek
2007-04-04missing prototypes; from Mark Lumsden with a twist by me.Otto Moerbeek
2007-04-04unneeded include; -Wall -Wmissing-prototypes is happy; from Mark LumsdenOtto Moerbeek
2007-04-04garbage collect unused var ospeed; from Mark LumsdenOtto Moerbeek
2007-04-01tidy up usage(); partly from Mark LumsdenJason McIntyre
2007-03-30Remove some uneeded includes and declarations. -Wall is happy and noOtto Moerbeek
binary change. From Mark Lumsden.
2007-03-15make the description of command line options and interactiveJason McIntyre
commands more consistent; started by a diff from Mark Lumsden
2007-02-27an atoi() -> strtonum() conversion from Mark Lumsden; ok simon@ ray@Otto Moerbeek
2007-02-23Use sys_signame[] from libc instead of creating a top-specificTodd C. Miller
signame name to number table. Also use strcasecmp() when matching signal names for consistency with /bin/kill. OK deraadt@ henning@ simon@
2007-02-22an unused define and an unused decl. From Mark Lumsden.Otto Moerbeek
2007-02-14more refinements for the interactive commands section; ok ottoJason McIntyre
2007-02-13mark up `dumb' using .Em, to be consistent with an earlierJason McIntyre
mark up of `intelligent';
2007-02-13improve the description for -C;Jason McIntyre
started by a mail from Igor Sobrado; ok otto
2007-02-09document how signalling via `k' works, after some help from theo and miod;Jason McIntyre
2007-02-09sync somewhat to the man page;Jason McIntyre
started by a diff from Mark Lumsden
2007-02-09clean up the interactive commands list, mainly by showingJason McIntyre
the arguments these commands take; based on some improvements from Mark Lumsden
2007-02-06document the `+' interactive command more fully;Jason McIntyre
help/ok otto
2007-02-06Compact help screen a bit so it fits in 24 lines again. Based on aOtto Moerbeek
diff from Mark Lumsden.
2007-02-04Complain of the user specifies a negative number for the 's' command.Otto Moerbeek
From Mark Lumsden.