You are not logged in.
Pages: 1
Something is not right with terminfo parsing in the game.
Every time I'm trying to start it I get this error
Error opening terminal: xterm-kitty.
Just exporting the TERM value manually and starting the game like this:
TERM=xterm ./arcane_fortune
solves the issue and the game runs normally after that.
Looks like the TERM variables are hardcoded...
Offline
Thanks for the bug report. Your suspicion is right the TERMs it supports are hard-coded.
The game is statically linked (because of issues about GLIBC version mismatches across systems when dynamically linking), so in the version of ncurses compiled into the game I configured it to support TERM settings of xterm-256color, xterm, linux. I don't recall if there was any good reason to limit to those only--those may've been the only three I was aware of at the time and it worked on everything I had tested.
The reason I chose to hardcode any at all (ncurses `--with-fallbacks` configre option) is because I wanted to, ironically, support as many configurations as possible, and for people doing things like running the game in a chroot jail, or with some unusual system configurations where I think you could have issue with ncurses not finding the terminfo or termcap files(?)
Anyway, I put this on my todo list to test out adding more entries to my `--with-fallbacks` config, which probably makes most sense for me right before the next game release when I'm testing it out on different computers/setups. I'll make a note to include xterm-kitty. Thanks again.
Offline
This can be worked around by specifying TERM in the command-lne:
foo@bar:~/games/arcane_fortune$ TERM=xterm-256color ,/arcane_fortune
Pages: 1