werase patch for src/contrib/top
Ed Schouten
ed at 80386.nl
Mon Apr 7 17:41:07 UTC 2008
* 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080407/5ad24945/attachment.pgp
More information about the freebsd-current
mailing list