Hacker News new | ask | show | jobs
by 0vermorrow 2571 days ago
Love the idea, and I really will give this a go as a daily driver.

Just a small feedback: I had trouble with one of the requirements -> scdoc, didn't know what exactly that is (Googling didn't help), so might be worth to provide a direct link in the README.md to https://git.sr.ht/~sircmpwn/scdoc/

2 comments

scdoc is probably available in your Linux distro's package manager, and aerc is designed to be packager-friendly - so eventually the idea is that most users will apt install aerc, rather than build it themselves.
Yeah, the problem is I am on OSX, and I actually had to compile scdoc myself without the -static flag (missing libraries).

Also, I had to run it as:

  TERM=xterm-256color aerc

On OSX, otherwise got:

  panic: terminal entry not found
To get this to install on osx

1. git clone https://git.sr.ht/~sircmpwn/scdoc

2. Edit Makefile and remove -static flag from ldflags

3. make install

4. git clone https://git.sr.ht/~sircmpwn/aerc

5. make install

You will need Go 1.12

This issue comes from tcell, which has a baked-in terminfo database. I'm also not sure about the state of the terminfo database in general on OSX... in any case, I plan on improving terminfo support in tcell at some point.
It's probably because i use xterm-kitty.

Awesome work on aerc, looking forward for continued development.

Can confirm, am running Kitty too and ran into exact same error messages, exporting different TERM environment variable did fix this though!
I'm on Ubuntu 18.04 at work and I don't have scdoc available.

    (base) eximius@eximius-nuc:~/go/src/aerc-0.1.0$ apt-cache search scdoc
    (base) eximius@eximius-nuc:~/go/src/aerc-0.1.0$
I'm also getting Go compilation errors. I tried `go get` but then I get this:

    package git.sr.ht/~sircmpwn/aerc/commands: unrecognized import path "git.sr.ht/~sircmpwn/aerc/commands" (parse https://git.sr.ht/~sircmpwn/aerc/commands?go-get=1: no go-import meta tags ())
Guess my go is rustier than I thought.
Thank you, I had the same problem. Apt couldn't find it in my Ubuntu 18.04.2 LTS install, and when I googled it I'm pretty sure "South Carolina Department of Corrections" wasn't what I was looking for. ;) So, thank you for the link.