View previous topic :: View next topic |
Author |
Message |
brundage Apprentice
Joined: 02 Dec 2004 Posts: 151
|
Posted: Fri Feb 16, 2018 6:46 pm Post subject: Nethack curses interface |
|
|
I have nethack-3.6.0-r3 installed, but the curses interface is not available. How do I enable it?
Thanks.
Code: | 1 fatty:0.0 /home/brundage % nethack
Window type curses not recognized. Choices are:
tty
X11
|
Code: | 0 fatty:0.0 /root # equery u nethack
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for games-roguelike/nethack-3.6.0-r3:
U I
+ + X : Add support for X11
+ + experimental : Enable experimental features (showscore and status_hilite) |
|
|
Back to top |
|
|
The Main Man Veteran
Joined: 27 Nov 2014 Posts: 1171 Location: /run/user/1000
|
Posted: Fri Feb 16, 2018 10:18 pm Post subject: |
|
|
Works fine here, I don't have use flag experimental enabled though, maybe that matters maybe not.
Maybe the shell matters, interesting prompt you have there, which shell is that ? |
|
Back to top |
|
|
The Main Man Veteran
Joined: 27 Nov 2014 Posts: 1171 Location: /run/user/1000
|
Posted: Fri Feb 16, 2018 11:22 pm Post subject: |
|
|
Anyway.... try this... make file ~/.nethackrc and put this inside :
OPTIONS=windowtype:tty |
|
Back to top |
|
|
brundage Apprentice
Joined: 02 Dec 2004 Posts: 151
|
Posted: Sat Feb 17, 2018 4:13 pm Post subject: |
|
|
Thanks for the suggestions kajzer. I can use the tty interface just fine, but not the curses one. I enabled the experimental USE flag to see if that got me the curses interface.
Nethack is linked against curses too.
Code: | 0 fatty:0.0 /root # ldd /usr/lib64/nethack/nethack
linux-vdso.so.1 (0x00007ffd8456a000)
libncurses.so.6 => /lib64/libncurses.so.6 (0x00007f27c3abd000)
|
I'm using zsh with this PS1
Code: | export PS1="%? %{^[[1;32m%}%m${DISPLAY}%{^[[0m%} %2C %% " |
Same result in bash and bourne shell. |
|
Back to top |
|
|
brundage Apprentice
Joined: 02 Dec 2004 Posts: 151
|
Posted: Sat Feb 17, 2018 4:22 pm Post subject: |
|
|
Ah. It's an add-on for nethack 3.4.3, not part of the official distribution. Derp |
|
Back to top |
|
|
The Main Man Veteran
Joined: 27 Nov 2014 Posts: 1171 Location: /run/user/1000
|
Posted: Sat Feb 17, 2018 5:12 pm Post subject: |
|
|
I'm sorry, I misunderstood, wasn't aware of Curses interface for this game so I confused curses with tty.
Curses interface is not working in my case either, with same error message.
Addon seems to be a patch, but for 3.4.3 version only, at least from that Wiki page it seems to be like that. |
|
Back to top |
|
|
brundage Apprentice
Joined: 02 Dec 2004 Posts: 151
|
Posted: Mon Mar 04, 2024 8:35 pm Post subject: |
|
|
brundage wrote: | Ah. It's an add-on for nethack 3.4.3, not part of the official distribution. Derp |
Hey past-me: did you ever get this working? How? I'm back playing nethack and the boring ASCII interface is boring. _________________ Unscrambler of Eggs
he/him |
|
Back to top |
|
|
flexibeast Guru
Joined: 04 Apr 2022 Posts: 432 Location: Naarm/Melbourne, Australia
|
Posted: Tue Mar 05, 2024 11:39 am Post subject: |
|
|
i'm not past-you , but i'm wondering whether you might try modifying the ebuild to point to 3.6.7, since the page you linked to suggests that version has the curses interface enabled as an alternative? |
|
Back to top |
|
|
brundage Apprentice
Joined: 02 Dec 2004 Posts: 151
|
Posted: Wed Mar 06, 2024 9:37 pm Post subject: |
|
|
flexibeast wrote: | i'm not past-you , but i'm wondering whether you might try modifying the ebuild to point to 3.6.7, since the page you linked to suggests that version has the curses interface enabled as an alternative? |
(-:
I'll give that a shot, thanks for the suggestion. _________________ Unscrambler of Eggs
he/him |
|
Back to top |
|
|
|