Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[slashem extended] 2.70 curses interfaces

139 views
Skip to first unread message

nathan....@gmail.com

unread,
Mar 15, 2021, 2:54:53 PM3/15/21
to
Hello, does someone know how to set options for curses interfaces well?


I have been logging into hardfought.net and I saw that there was a new release of slashem extended. Though I had configured my settings for curses interface and I received an error message. Does anyone know how to set the options to curses interface? I'm looking for ways for it to be an easier interface in someways. Here is what is in my settings file.

OPTIONS=showexp,showscore,time,color,!autopickup,nonumpadmessage
OPTIONS=autodig,fruit:papaya,boulder:0

# curses interface
OPTIONS=windowtype:curses
OPTIONS=cursesgraphics
OPTIONS=symset:curses
OPTIONS=align_message:bottom
OPTIONS=popup_dialog
OPTIONS=windowborders:2
OPTIONS=splash_screen
OPTIONS=guicolor
OPTIONS=mouse_support

# Set terminal window for same dimensions

OPTIONS=term_cols:110
OPTIONS=term_rows:32

Pat Rankin

unread,
Mar 18, 2021, 7:36:58 PM3/18/21
to
On Monday, March 15, 2021 at 11:54:53 AM UTC-7, nathan....@gmail.com wrote:
> Hello, does someone know how to set options for curses interfaces well?

The SLEX developer/maintainer hangs out at
https://reddit.com/r/nethack
and posts fairly regularly. The hardfought admin does too.

> [...] and I received an error message. Does anyone know [...]

You've decided to keep the text of that error message secret?

> OPTIONS=cursesgraphics
> OPTIONS=symset:curses

'cursesgraphics' is a deprecated way to specify 'symset:curses'.
You don't need to have both. (I'd be astonished if that was the
problem you're encountering, just thought I'd try to speed the
demise of 'cursesgraphics'.)

nathan....@gmail.com

unread,
Mar 21, 2021, 10:08:32 AM3/21/21
to


> > [...] and I received an error message. Does anyone know [...]
>
> You've decided to keep the text of that error message secret?

The error says

Bad Syntax in OPTIONS in /dgldir/userdata/q/quark/quark.slexrc: windowtype:curses

and

Bad Syntax in OPTIONS in /dgldir/userdata/q/quark/quark.slexrc: symset:curses



> > OPTIONS=cursesgraphics
> > OPTIONS=symset:curses
>
> 'cursesgraphics' is a deprecated way to specify 'symset:curses'.
> You don't need to have both. (I'd be astonished if that was the
> problem you're encountering, just thought I'd try to speed the
> demise of 'cursesgraphics'.)

This possibly will fix the error message. I will see, thanks.

Pat Rankin

unread,
Mar 21, 2021, 7:39:44 PM3/21/21
to
On Sunday, March 21, 2021 at 7:08:32 AM UTC-7, nathan....@gmail.com wrote:
> Bad Syntax in OPTIONS in /dgldir/userdata/q/quark/quark.slexrc: windowtype:curses

This means that the copy of the program you're running does not
have any support for nethack's curses interface. (Also that SLEX's
config file error reporting is from nethack 3.4.3 rather than 3.6.x.)

The output from the #version command (that's the command
name for it in nethack; I'm not sure what SLEX uses) lists which
interfaces are included in that copy of the program. 'curses' is
not going to be there for you....

SLEX is based on slash'em which was based on nethack 3.4.3.
NetHack 3.4.3 didn't support curses (that was added in 3.6.2),
so variants derived from it would need to put in a lot of effort
toward incorporating 3.6.x features.

Or, there is a patch to 3.4.3 and adds an older version of the
curses interface. The current one started with with an update
of that for use with 3.6.x, then has had with many fixes and
enhancements since. It is conceivable that SLEX has that
patch but that hardfought didn't enable curses when building
the program.

>> 'cursesgraphics' is a deprecated way to specify 'symset:curses'.
>> You don't need to have both. [...]
>
> This possibly will fix the error message. I will see, thanks.

Zero chance of that. Failure to accept windowtype:curses is the
problem.

nathan....@gmail.com

unread,
Mar 31, 2021, 10:00:36 PM3/31/21
to


When I typed #version,

its says

Supported windowing systems

traditional tty-based graphics, curses, with a default of tty

Are you sure that there isn't curses interface integrated?

Pat Rankin

unread,
Apr 1, 2021, 8:49:13 PM4/1/21
to
According to that, curses is present. But your earlier
post shows that SLEX is explicitly complaining about the
'windowtype' option, not about other stuff. Looking at
the options processing for nethack 3.4.3 for comparison,
it is behaving as if it doesn't recognize that option rather
than that curses is not a valid choice.

(It is probably using that old patch for 3.4.3 I mentioned
previously so needs 'cursesgraphics' instead of the
newer 'symset:curses', but that won't matter until the
windowtype:curses part starts working.)

Your config file settings appear correct and the error
message also shows what looks like a valid value. I don't
what the problem is. I suggest contacting hardfought
about it.

RecRanger

unread,
Apr 2, 2021, 12:14:50 AM4/2/21
to
Not that I _want_ to move traffic away from here, but if you post
this on the NetHack Reddit, the programmer of this variant always
responds and is eager to help fans of their variant!

--

0 new messages