Difference between revisions of "Talk:Options"

From NetHackWiki
Jump to navigation Jump to search
(subkeyvalue: Console or tiled?)
m (Oh noes, it's a Debianism. Whatever shall we do?)
Line 20: Line 20:
  
 
:I just took a peek at the source code and I can't see why it wouldn't work, provided you're using the console version. I don't think it works with the tiled version. Key processing is wonky on Windows console programs and the subkeyvalue option was meant to fix that; see [[nhraykey.dll]] and [[W343-4]] for a brief description of the issues.--[[User:Ray Chason|Ray Chason]] 20:04, 31 October 2007 (UTC)
 
:I just took a peek at the source code and I can't see why it wouldn't work, provided you're using the console version. I don't think it works with the tiled version. Key processing is wonky on Windows console programs and the subkeyvalue option was meant to fix that; see [[nhraykey.dll]] and [[W343-4]] for a brief description of the issues.--[[User:Ray Chason|Ray Chason]] 20:04, 31 October 2007 (UTC)
 +
 +
== Distro-specific stuff ==
 +
Someone added this:
 +
* '''/etc/nethack/nethackrc''' for system-wide settings on [[unix]]-like OS's, and '''~/.nethackrc''' for individual users to override those settings.
 +
But that seems to be a Debian-specific thing; vanilla NetHack compiled from source definitely doesn't do this. --[[User:Paxed|paxed]] 16:51, 14 August 2008 (UTC)

Revision as of 16:51, 14 August 2008

Should the options be listed in alphabetical order, or first split into booleans and compound options? (I know they're listed with booleans first in the game, but IMO that's a misfeature :) --Paxed 16:51, 3 October 2006 (UTC)

Alphabetical order seems more useful. That's how the guidebook lists them. --Jayt 21:37, 3 October 2006 (UTC)

subkeyvalue

In the standard defaults.nh in the windows binary download, you can find an option called subkeyvalue. The numbers are ASCII codes (decimal).

# Finnish keyboards might need these modifications uncommented. 
# For  \, @, $, [, |
#OPTIONS=subkeyvalue:171/92
#OPTIONS=subkeyvalue:178/64
#OPTIONS=subkeyvalue:180/36
#OPTIONS=subkeyvalue:184/91
#OPTIONS=subkeyvalue:188/124

I wanted to substitute y with z because I've got an German keyboard layout (QERTZ). I tried

OPTIONS=subkeyvalue:121/122
OPTIONS=subkeyvalue:122/121

but it doesn't work.

Does anyone know something about that option? It isn't documented in the Guidebook. --217.80.113.242 17:47, 31 October 2007 (UTC)

I just took a peek at the source code and I can't see why it wouldn't work, provided you're using the console version. I don't think it works with the tiled version. Key processing is wonky on Windows console programs and the subkeyvalue option was meant to fix that; see nhraykey.dll and W343-4 for a brief description of the issues.--Ray Chason 20:04, 31 October 2007 (UTC)

Distro-specific stuff

Someone added this:

  • /etc/nethack/nethackrc for system-wide settings on unix-like OS's, and ~/.nethackrc for individual users to override those settings.

But that seems to be a Debian-specific thing; vanilla NetHack compiled from source definitely doesn't do this. --paxed 16:51, 14 August 2008 (UTC)