Re: werase patch for src/contrib/top

From: Ed Schouten <ed_at_80386.nl>
Date: Mon, 7 Apr 2008 19:40:49 +0200
* Giorgos Keramidas <keramida_at_ceid.upatras.gr> wrote:
> On Mon, 07 Apr 2008 13:55:45 +0200, Jille <jille_at_quis.cx> wrote:
> > Ed Schouten schreef:
> > | * Jille Timmermans <jille_at_quis.cx> wrote:
> > |> I've patched top (in src/contrib) to accept ^W in line editing mode (eg
> > |> when killing a process (hit 'k'))
> > |>
> > |> The patch is attached, and I hope mailman won't eat it, or else:
> > |> http://junk.quis.cx/NbVJSKxn/top-werase-patch.diff
> > |> there it is :)
> > |> I took the RELENG_6 version, and editted that one.
> > |
> > | Apart from some style(9) issues, it looks great. Unfortunately the
> > | top(8) source code is not maintained by FreeBSD. Its website seems to be
> 
> Hi Ed,
> 
> The original contrib/top source doesn't really follow style(9); it has a
> style of its own, so some of the changes look `good enough'.  Can you
> describe what you didn't like, so we can fix it before it's committed?

I didn't like the missing whitespace between the operators. I just spoke
with Jille on IRC. He has an updated patch:

	http://junk.quis.cx/ctfhENEs/top-werase-patch-styled.diff

> > Hello Ed,
> > After an hour of reading style(9), I've fixed my patch, thanks for
> > pointing out.  Unixtop seems to be on SourceForge now, so I will
> > submit it to their patch-tracker.
> 
> It would be nice if we also committed something similar to our top,
> since many top sources in src/contrib/top are already *off* the vendor
> branch anyway :-)

Yes please! I would like to see Jille's stuff end up in CVS. :-)

-- 
 Ed Schouten <ed_at_80386.nl>
 WWW: http://g-rave.nl/

Received on Mon Apr 07 2008 - 15:41:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:29 UTC