~rockorager

St. Paul, MN

https://timculverhouse.com/

~rockorager/go-jmap-devel

Last active a month ago

~rockorager/vaxis

Last active 2 months ago

~rockorager/vaxis-announce

Last active 6 months ago

~rockorager/tcell-term

Last active 6 months ago

~rockorager/mjmap-dev

Last active 6 months ago

~rockorager/shtc

Last active 8 months ago

~rockorager/hutui

Last active 11 months ago

~rockorager/spunky-dev

Last active 11 months ago

~rockorager/offmap

Last active 1 year, 1 month ago

~rockorager/go-jmap-announce

Last active 1 year, 8 months ago
View more

Recent activity

Re: [PATCH aerc] vaxis: fix panic trace print on stderr 2 days ago

From Tim Culverhouse to ~rjarry/aerc-devel

On Fri Apr 12, 2024 at 5:47 PM CDT, Robin Jarry wrote:
> By default, vaxis tries to open stderr, stdout and stdin in that order
> and uses the first one as its TTY file descriptor.
>
> Upon exit, vaxis.Close() closes that file descriptor. When aerc panics,
> our panic handler calls UICleanup() which is an alias for vaxis.Close().
> This effectively makes os.Stderr unusable and all error messages are
> written to a closed file descriptor. This also break the regular go
> runtime panic() handler which prints on stderr as well.
>
> Use an explicit /dev/tty path instead of stderr to keep it open.
>
> Fixes: 6eff242090dc ("ui: so long tcell")
> Signed-off-by: Robin Jarry <robin@jarry.cc>

Re: problem with pasting in alacritty 5 days ago

From Tim Culverhouse to ~rjarry/aerc-devel

On Wed Apr 10, 2024 at 9:21 AM CDT, Vitaly Ovchinnikov wrote:
> I just tried that and interestingly I cannot reproduce the problem with
> the log level set to trace. Basically if I run the line above and paste
> - it is pasted well. If I run `aerc 2>vaxis.log` ans paste - I get a
> messed text.
>
> Anything else I can try?

Could you try launching alacritty with `alacritty --ref-test`? This will produce
a few files in your current directory. Send me `alacritty.recording`

-- 
Tim

Re: problem with pasting in alacritty 5 days ago

From Tim Culverhouse to ~rjarry/aerc-devel

On Sun Apr 7, 2024 at 7:31 AM CDT, Vitaly Ovchinnikov wrote:
> Hi Tim, this one might be related to Vaxis, so I'm sending you a copy.
>
> I recently installed the latest Alacritty on mac and since then I'm
> having issues with pasting in aerc. Here's how to reproduce:
>
> 1. On Mac (not sure if it matters) install Alacritty 0.13.2 (bb8ea18)
> 2. Run your favorite text editor and type 'a' like 30 times or so to get
>    a long 'aaa..aa' line.
> 3. Copy that line and paste it about 50 times to get a 30x50 block of
>    'a's. Any long text works, but this way it is easier to see the
>    problem.
> 4. Copy the whole text block to the clipboard
> 5. Run the latest aerc (from master) and start composing a new message

Re: [PATCH aerc v2 6/6] ircbot: implement table unflipping 12 days ago

From Tim Culverhouse to ~rjarry/aerc-devel

On Wed Apr 3, 2024 at 2:39 PM CDT, Robin Jarry wrote:
> Some IRC users have a tendency to flip tables when they are upset.
> Improve our bot to put furniture back where it belongs.
>
> Signed-off-by: Robin Jarry <robin@jarry.cc>
> ---

I'm not sure about this. If a user flips furniture with a different face, eg:

  (╯°o°)╯︵┻━┻

It will remain unflipped. I don't think we want this kind of rabble-rousing in
#aerc.

[PATCH aerc] ui: update vaxis to v0.8.5 13 days ago

From Tim Culverhouse to ~rjarry/aerc-devel

Update vaxis library to v0.8.5 which includes several terminal widget
fixes:

- Tab stop positions were off by 1
- Now reponds to secondary DA queries
- Fix encoding of function keys higher than F12

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
---
 go.mod | 2 +-
 go.sum | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/go.mod b/go.mod
[message trimmed]

Re: images preview in Alacritty 14 days ago

From Tim Culverhouse to ~rjarry/aerc-devel

On Mon Apr 1, 2024 at 12:50 AM CDT, Vitaly Ovchinnikov wrote:
> I'm using the suggested catimg filter line:
>
> 	image/*=catimg -w $(tput cols) -
>
> Compared to using VAXIS_GRAPHICS I noticed that catimg's images are
> smaller and this ended up with `tput cols` returning 80 when running
> from aerc. Running it directly from the terminal gives 200-something
> which is what I have here.
>
> I tried looking for $COLUMNS environment variable, tried using `stty
> size` - none worked from within aerc.

This is happening because the filter is not run in a TTY, so $COLUMNS isn't set,

Re: images preview in Alacritty 15 days ago

From Tim Culverhouse to ~rjarry/aerc-devel

On Sun Mar 31, 2024 at 8:15 AM CDT, Vitaly Ovchinnikov wrote:
> This might be related to Vaxis, so cc-ing Tim.
>
> I use Alacritty and it doesn't support sixel or any other image-preview
> protocol. Recently aerc was updated to display images in text mode in
> low-res which was nice. I never configured that and never had anything
> image-related in [filters] config section, it just worked.
>
> Yesterday I updated Alacritty to 0.13.2 and tmux to 3.4 and since then I
> started getting "SIXEL IMAGE NxM" and a number of "plus" signs instead
> of image previews.
>
> I managed to fix that by installing catimg and configuring an image
> filter in the config file to get my low-res preview back, but as it

Re: [PATCH aerc] config: make popover dialogs configurable 18 days ago

From Tim Culverhouse to ~rjarry/aerc-devel

On Wed Mar 27, 2024 at 10:23 AM CDT, Johannes Thyssen Tishman wrote:
> It does indeed. Should I mention this in the commit message? I also
> bluntly overwrote the LargeDialog used for some :patch functions as I
> thought it'd be nice to have a consistent dialog size for all dialogs.
> Since I don't use the :patch command yet though, I couldn't test if the
> new default size was good enough.

I don't think you need to mention it since it can be configured now.

-- 
Tim

Re: [PATCH aerc] config: make popover dialogs configurable 19 days ago

From Tim Culverhouse to ~rjarry/aerc-devel

On Tue Mar 26, 2024 at 5:01 PM CDT, Johannes Thyssen Tishman wrote:
> Add the [ui].dialog-{position,width,height} options in aerc.conf to set
> the position, width and height of popover dialogs such as the one from
> :menu, :envelope or :attach -m relative to the main window.
>
> Changelog-added: Add `[ui].dialog-{position,width,height}` to set the
>  position, width and height of popover dialogs.
> Signed-off-by: Johannes Thyssen Tishman <johannes@thyssentishman.com>
> ---

Hey Johannes -

Thanks for the path! Technically this changes the default dialog size but I
think that's fine (it was quite large to begin with). Works great!

Re: MIME-Version Header case 25 days ago

From Tim Culverhouse to ~rjarry/aerc-discuss

On Thu Mar 21, 2024 at 7:13 AM CDT, Anton Mosich wrote:
> Hi everyone,
> I just setup a my own mailserver, which is running rspamd, and noticed
> a possible problem with aerc: the MIME-Version header is set as
> "Mime-Version", although in the corresponding specifications the mime is
> all caps. rspamd
> counts that as the mail being a bit more likely to be spam.
> Is there a reason this header is not capitalized accordingly?
> Best,
> Anton

Hi Anton -

The casing of "Mime-Version" comes from the library we use to write messages.