Package Details: htop-vim-git 1:3.3.0.20.g32cb3027-1

Git Clone URL: https://aur.archlinux.org/htop-vim-git.git (read-only, click to copy)
Package Base: htop-vim-git
Description: Interactive text-mode process viewer. Patched for vim keybindings
Upstream URL: https://github.com/htop-dev/htop
Licenses: GPL
Conflicts: htop, htop-git
Provides: htop
Submitter: KoffeinFlummi
Maintainer: KoffeinFlummi
Last Packager: KoffeinFlummi
Votes: 24
Popularity: 0.002474
First Submitted: 2015-08-06 05:38 (UTC)
Last Updated: 2024-01-29 09:26 (UTC)

Dependencies (6)

Required by (4)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6

kylebaked commented on 2016-02-11 08:43 (UTC)

I had the same problem as GermainZ and fixed it by doing the following: In the vim-keybindings.patch file, line 14 should start with: @@ -401,19 +401,19 @@ Then you need to insert a line at line 25: { .key = " e: ", .info = "show process environment" }, This should be identical to line 411 in Action.c. This is the shortcut for the new feature in htop 2.0 that lets you show the env variables for a highlighted process, which is pretty cool. Finally I updated the sha256 in the PKGFILE. With the above changes I ended up with 48dc56c0d0dbcdcd6cf604cb76f7ca461ae0e55d51262b6ad37ba59918cc8430 Sorry if theres a better way to suggest these changes, these are what worked for me.

GermainZ commented on 2016-02-09 11:27 (UTC)

Build currently fails. patching file Action.c Hunk #1 succeeded at 382 (offset 4 lines). Hunk #2 FAILED at 398. Hunk #3 succeeded at 542 (offset 21 lines). Hunk #4 succeeded at 551 (offset 21 lines). Hunk #5 succeeded at 561 (offset 21 lines). 1 out of 5 hunks FAILED -- saving rejects to file Action.c.rej patching file MainPanel.c patching file Panel.c patching file Panel.h patching file README patching file ScreenManager.c Hunk #1 succeeded at 295 (offset 23 lines). Hunk #2 succeeded at 306 (offset 23 lines). ==> ERROR: A failure occurred in prepare(). Aborting...

KoffeinFlummi commented on 2015-09-04 19:28 (UTC)

Thanks for the heads up, fixed.

ttygde commented on 2015-09-02 14:58 (UTC)

patching file Action.c patching file MainPanel.c patching file Panel.c Hunk #2 succeeded at 374 (offset 3 lines). Hunk #3 succeeded at 398 (offset 3 lines). Hunk #4 succeeded at 445 (offset 3 lines). patching file Panel.h patching file README Hunk #1 FAILED at 28. 1 out of 1 hunk FAILED -- saving rejects to file README.rej patching file ScreenManager.c ==> ERROR: A failure occurred in prepare(). Aborting...

agingrasc commented on 2015-08-26 14:28 (UTC)

It works. Thank you.

KoffeinFlummi commented on 2015-08-25 19:43 (UTC)

@agingrasc Should be fixed.

agingrasc commented on 2015-08-25 19:24 (UTC)

Hi, am I missing anything? I get this output when I try to build the package: patching file Action.c Hunk #1 succeeded at 378 (offset 5 lines). Hunk #2 succeeded at 398 (offset 5 lines). Hunk #3 FAILED at 523. Hunk #4 succeeded at 539 (offset 7 lines). 1 out of 4 hunks FAILED -- saving rejects to file Action.c.rej patching file MainPanel.c patching file Panel.c Hunk #3 FAILED at 395. 1 out of 3 hunks FAILED -- saving rejects to file Panel.c.rej patching file Panel.h patching file ScreenManager.c Hunk #1 succeeded at 272 (offset 13 lines). Hunk #2 succeeded at 283 (offset 13 lines). Content of Action.c.rej --- Action.c +++ Action.c @@ -523,7 +523,7 @@ void Action_setBindings(Htop_Action* keys) { keys['q'] = actionQuit; keys['a'] = actionSetAffinity; keys[KEY_F(9)] = actionKill; - keys['k'] = actionKill; + keys['x'] = actionKill; keys['+'] = actionExpandOrCollapse; keys['='] = actionExpandOrCollapse; keys['-'] = actionExpandOrCollapse; Content of Panel.c.rej: --- Panel.c +++ Panel.c @@ -395,31 +399,43 @@ bool Panel_onKey(Panel* this, int key) { break; #endif case KEY_LEFT: - case KEY_CTRLB: + case 'h': if (this->scrollH > 0) { this->scrollH -= CRT_scrollHAmount; this->needsRedraw = true; } break; case KEY_RIGHT: - case KEY_CTRLF: + case 'l': this->scrollH += CRT_scrollHAmount; this->needsRedraw = true; break; + case KEY_CTRLU: + this->selected -= (this->h - 1) / 2; + this->needsRedraw = true; + break; + case KEY_CTRLD: + this->selected += (this->h - 1) / 2; + this->needsRedraw = true; + break; case KEY_PPAGE: + case KEY_CTRLB: this->selected -= (this->h - 1); this->scrollV -= (this->h - 1); this->needsRedraw = true; break; case KEY_NPAGE: + case KEY_CTRLF: this->selected += (this->h - 1); this->scrollV += (this->h - 1); this->needsRedraw = true; break; case KEY_HOME: + case 'g': this->selected = 0; break; case KEY_END: + case 'G': this->selected = size - 1; break; default: