~sircmpwn

Amsterdam

https://drewdevault.com

I write code.

For sourcehut support, see the wiki.

~sircmpwn/visurf-devel

Last active 39 minutes ago

~sircmpwn/email-test-drive

Last active 6 hours ago

~sircmpwn/public-inbox

Last active 7 hours ago

~sircmpwn/alpine-aports

Last active 23 hours ago

~sircmpwn/sr.ht-discuss

Last active a day ago

~sircmpwn/sr.ht-dev

Last active a day ago

~sircmpwn/sr.ht-ops

Last active a day ago

~sircmpwn/sr.ht-announce

Last active 2 days ago

~sircmpwn/alpine-devel

Last active 2 days ago

~sircmpwn/aerc

Last active 3 days ago
View more

Recent activity

Re: [PATCH] nsvi_bindings_handle: ignore modifiers 39 minutes ago

From Drew DeVault to ~sircmpwn/visurf-devel

I'm not in love with this approach, but I can't think of a better one.
Thanks!

To git@git.sr.ht:~sircmpwn/visurf
   6ea3568e3..769abf385  master -> master

Re: [PATCH] nsvi: don't use bsearch for keybinding lookup 39 minutes ago

From Drew DeVault to ~sircmpwn/visurf-devel

Thanks!

To git@git.sr.ht:~sircmpwn/visurf
   6ea3568e3..769abf385  master -> master

Re: Regarding visurf 12 hours ago

From Drew DeVault to ~sircmpwn/public-inbox

On Thu Sep 16, 2021 at 8:47 PM CEST, ash ketchum wrote:
> I'm missing out on so much, being stuck on windows and being unable
> to switch to linux ༎ຶ‿༎ຶ

No one is "stuck" on Windows. Linux is free.

Re: [PATCH] add 'exec' command 13 hours ago

From Drew DeVault to ~sircmpwn/visurf-devel

On Thu Sep 16, 2021 at 5:59 PM CEST, Leon Henrik Plickat wrote:
> Which solution do you prefer?

Choose an approach at your discretion and justify it in the commit
message, then we can pick it apart in code review.

Re: [PATCH] add 'exec' command 15 hours ago

From Drew DeVault to ~sircmpwn/visurf-devel

On Thu Sep 16, 2021 at 5:39 PM CEST, Leon Henrik Plickat wrote:
> Good ideas.
>
> Should the output of commands exec'd in foreground be dumped to stderr
> or also displayed in the UI?

Just dumped to stderr, I think. No need to add unnecessary complexity.

> BTW, there currently is a bug that causes visurf to crash when the
> exline command contains a pipe cahracter and is interpreted. I'll
> include a fix in the next version of the patch set.

Thanks!

Re: [PATCH] nsvi: display key buffer in status bar 18 hours ago

From Drew DeVault to ~sircmpwn/visurf-devel

This isn't great but I also don't have any better ideas offhand. Thanks!

To git@git.sr.ht:~sircmpwn/visurf
   9c4e66b79..3411e27dc  master -> master

Possible future enhancement: show the currently active modifiers as an
incomplete keypress, so if I press ab then control, it shows "ab<C-"

Re: [PATCH] add 'exec' command 23 hours ago

From Drew DeVault to ~sircmpwn/visurf-devel

This is a good start, but it needs to be more sophisticated so that we
can get useful errors back. Set up a pipe(2) and use it to write either
the pid of the final child process, or the errno, for the visurf process
to read back. It would also be nice to have a -f (foreground) flag which
doesn't double-fork and blocks until the process completes, then can
show an error state in the UI if the process has a nonzero exit status.

[PATCH] community/seatd: upgrade to 0.6.2 23 hours ago

From Drew DeVault to ~sircmpwn/alpine-aports

This release addresses a privilege escalation vulnerability:

https://lists.sr.ht/~kennylevinsen/seatd-announce/%3CGJ2IZQ.HCKS1J0LSI803%40kl.wtf%3E
---
 community/seatd/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/community/seatd/APKBUILD b/community/seatd/APKBUILD
index 8cb02ea31d..57304b4a0a 100644
--- a/community/seatd/APKBUILD
+++ b/community/seatd/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Michał Polański <michal@polanski.me>
[message trimmed]

Re: [PATCH] exline: bind Ctrl-K to delete from cursor to end of line a day ago

From Drew DeVault to ~sircmpwn/visurf-devel

Thanks!

To git@git.sr.ht:~sircmpwn/visurf
   3411e27dc..b9472624c  master -> master

On Wed Sep 15, 2021 at 9:23 PM CEST, Leon Henrik Plickat wrote:
> If I am not mistaken, all relevent readline-like binds are now
> supported in the exline.

It's a damn good start! If you want to keep working along this line of
thought, here are some ideas:

- Horizontal scrolling for long exlines
- Clicking the line to stick the cursor somewhere

Re: [PATCH] exline: support readline-like binds for jumping to words a day ago

From Drew DeVault to ~sircmpwn/visurf-devel

Thanks!

To git@git.sr.ht:~sircmpwn/visurf
   b9472624c..a1d249b5c  master -> master