WIZKIT environment variable on Linux

G

Guest

Guest
Archived from groups: rec.games.roguelike.nethack (More info?)

I've been trying to use the WIZKIT environment variable as described in
this lovely document:
http://www.spod-central.org/~psmith/nh/wizmode.txt

It's not working for me. Has anyone else gotten this to work with
3.4.3 on Linux?

I created a file called .nethackwizkit in my home directory, with the
following contents:

blessed fireproof +5 T-shirt
blessed +5 silver dragon scale mail
blessed fireproof +5 cloak of magic resistance
blessed fireproof +5 speed boots
blessed fireproof +5 gauntlets of dexterity
blessed rustproof +5 helm of brilliance
stethoscope
key
pickaxe
10 blessed potions of gain ability
magic whistle

I then added this line to my .bashrc:

WIZKIT=~/.nethackwizkit

After opening a new shell, I can verify that the variable exists:

$ set |grep WIZ
WIZKIT=/home/micromoog/.nethackwizkit

which is indeed the location of the file. But when I start Nethack
with nethack -D, I don't have any extra stuff in my inventory, though I
can use ^W to my heart's content. It's definitely going into debug
mode and not explore mode, because I edited config.h to make micromoog
the authorized user, but it's just not loading my wizkit file for some
reason. I've tried both starting new characters and loading saved
games. Any ideas?
 
G

Guest

Guest
Archived from groups: rec.games.roguelike.nethack (More info?)

On 7 Mar 2005 09:55:31 -0800,
"micromoog" <micromoog@cox.net> wrote:

> I've been trying to use the WIZKIT environment variable as described in
> this lovely document:
> http://www.spod-central.org/~psmith/nh/wizmode.txt

> It's not working for me. Has anyone else gotten this to work with
> 3.4.3 on Linux?

It works for me on Mac OS X.

> I then added this line to my .bashrc:

> WIZKIT=~/.nethackwizkit

Add this, too:

export WIZKIT

> After opening a new shell, I can verify that the variable exists:

> $ set |grep WIZ
> WIZKIT=/home/micromoog/.nethackwizkit

And test it this way:

$ env | grep WIZ

Without the export statement, WIZKIT exists only in the shell, but not
in processes started by the shell. Read bash's man page for more info.

HTH,
Dan

--
Dan Sommers
<http://www.tombstonezero.net/dan/>
μâ‚€ × εâ‚€ × c² = 1
 
G

Guest

Guest
Archived from groups: rec.games.roguelike.nethack (More info?)

Dan Sommers wrote:
> Add this, too:
>
> export WIZKIT
>

Wonderful, that worked perfectly. Thanks!
 
G

Guest

Guest
Archived from groups: rec.games.roguelike.nethack (More info?)

"micromoog" <micromoog@cox.net> wrote in
news:1110293262.278841.112460@o13g2000cwo.googlegroups.com:

> Dan Sommers wrote:
>> Add this, too:
>>
>> export WIZKIT
>>
>
> Wonderful, that worked perfectly. Thanks!
>
>

if you like or if you care you can do it on one line such as:
export WIZKIT=<foo>