File: porthelp

package info (click to toggle)
glhack 1.2-8.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,744 kB
  • sloc: ansic: 208,571; cpp: 13,139; yacc: 2,005; makefile: 1,152; lex: 377; sh: 121; awk: 89; sed: 11
file content (300 lines) | stat: -rw-r--r-- 13,441 bytes parent folder | download | duplicates (22)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
        Microsoft Windows specific help file for NetHack 3.4.3
        Copyright (c) NetHack PC Development Team 1993-2002.
        NetHack may be freely distributed.  See license for details.
                   (Last Revision: October 14, 2003)

This file details specifics for NetHack built for Windows 95, 98, NT, 
Me, 2000, and XP. Users of really early 16-bit Windows versions should 
use the MSDOS NetHack. 

Please note that "NetHack for Windows - Graphical Interface" requires 
an installation of Internet Explorer 4 or an installation of 
version 4.71 of the common controls. See the following internet page: 
    http://www.nethack.org/v340/ports/download-win.html#cc
for more information. If the game runs for you, you are not affected.

New players should be sure to read GuideBook.txt which contains 
essential information about playing NetHack. It can be found in the
same directory as your NetHack executable.

The NetHack for Windows port supports some additional or enhanced 
commands as well as some defaults.nh file options specific to 
configuration choices used during the building of NetHack for 
Windows. Listed below are those commands and defaults.nh file 
options. 

Some options are applicable only to the "Graphical Interface." 
These are discussed separately in their own section. 

Contents
1. ALT Key Combinations
2. Boolean options - Option that you can toggle on or off
3. Graphical Interface - Options you can assign a value to
4. Graphical Interface - Additional/Enhanced Commands
5. Graphical Interface - Menus
6. Numeric Keypad (for number_pad mode)


1. ALT Key Combinations
----------------------------------------------
The non-graphical (tty) interface always operates in "NetHack mode",
while the "NetHack for Windows - Graphical Interface" lets you
toggle the mode.  In non-NetHack mode, all ALT-key combinations
are sent to the Windows itself, rather than to NetHack.

While playing in NetHack mode you can press the ALT key in 
combination with another key to execute an extended command
as an alternative method to pressing a # key sequence.
The available commands are:

    Alt-2    #twoweapon      - toggle two-weapon combat (unavailable
                               if number_pad mode is set)
    Alt-a    #adjust         - adjust inventory letters.
    Alt-c    #chat           - talk to someone or something.
    Alt-d    #dip            - dip an object into something.
    Alt-e    #enhance        - enhance your skill with a weapon.
    Alt-f    #force          - force a lock.
    Alt-i    #invoke         - invoke an object's powers.
    Alt-j    #jump           - jump to a location.
    Alt-l    #loot           - loot a box on the floor.
    Alt-m    #monster        - use a monster's special ability. 
    Alt-n    #name           - name an item or type of object.
    Alt-o    #offer          - offer a sacrifice to the gods.
    Alt-p    #pray           - pray to the gods for help.
    Alt-q    #quit           - quit the game. (Same as #quit)
    Alt-r    #rub            - rub a lamp.
    Alt-s    #sit            - sit down.
    Alt-t    #turn           - turn undead.
    Alt-u    #untrap         - untrap something.
    Alt-v    #version        - list compile time options for this version of
                               NetHack.
    Alt-w    #wipe           - wipe off your face.
    Alt-?    #?              - display list of extended menu commands

2. Boolean Options (Options that can be toggled on or off)
----------------------------------------------------------

Listed here are any options not discussed in the main help, options 
which may be slightly different from the main help file, and options 
which may need a slightly more explanatory note: 

    color          Use color when displaying non-tiled maps. Tiled 
                   maps (available in the graphical port) are always 
                   rendered in color. Default: [TRUE]

    hilite_pet     Using tiled graphics, displays a small heart symbol
                   next to your pet.  Using ascii graphics, the pet is
                   hilited in a white background.
                   Default: [TRUE]

    IBMgraphics    Use IBM extended characters for the dungeon 
                   Default: [TRUE] 
 
    msg_window     When ^P is pressed, it shows menu in a full window.
                   Available only in the non-graphical (tty) version.
                   Default: [FALSE] 

    toptenwin      Write top ten list to a window, as opposed to stdout.
                   Default in tty interface: [FALSE]
		   Default in graphical interface: [TRUE] (and cannot be changed)

3. Options that you assign a value to (Graphical Interface only)
----------------------------------------------------------------

"NetHack for Windows - Graphical Interface" recognizes the following 
additional options, which the non-graphical (tty) version will
silently ignore.  These are options that specify attributes of various
windows.  The windows that you can tailor include menu windows (such 
as the inventory list), text windows (such as "It is written in the 
book of ..." screens), the message window (where events of the game are
displayed), the status window (where your character name
and attributes are displayed), and the map window (where the map
is drawn).

Window Alignment options:

    align_message  Specifies at which side of the NetHack screen the 
                   message window is aligned. This option can be used 
                   to align the window to "top" or "bottom".
                   Default: [TOP] 

    align_status   Specifies at which side of the NetHack screen the 
                   status window is aligned. This option can be used
                   to align the window to "top" or "bottom".
                   Default: [BOTTOM] 

Map Window options:

    map_mode       Specifies which map mode to use. 
                   The following map modes are available: 
                   tiles (display things on the map with colored tiles), 
                   ascii4x6, ascii6x8, ascii8x8, ascii16x8, ascii7x12,
                   ascii8x12, ascii16x12, ascii12x16, ascii10x18
                   (which use that size font to display things on 
                   the map), or fit_to_screen (an ascii mode which
                   forces things to fit on a single screen).
                   Default: [tiles]

    scroll_margin  Specifies the number of map cells from the edge
                   of the map window where scrolling will take place.
                   Default: [5] 

    tile_file      An alternative file containing bitmap to use for 
                   tiles. This file should be a .bmp file and should 
                   be organized as 40 rectangular tiles wide. It is 
                   beyond the scope of this document to describe the 
                   exact contents of each tile in the .bmp, which must
                   match the object lists used when building NetHack.

    tile_height    Used with tile_file to specify the height of each 
                   tile in pixels. This option may only be specified
                   in the defaults.nh config file.
                   Default: [16] 

    tile_width     Used with tile_file to specify the width of each 
                   tile in pixels. This option may only be specified
                   in the defaults.nh config file. 
                   Default: [16]

Other Window options:

    windowcolors   Specifies the colors for various windows
                   This option may only be specified in the
                   defaults.nh config file and has the following
                   format:
                       window-type foreground/background
                   Notes:
                      - Both foreground and background colors are
                        required, and a slash must separate them.
                      - "window-type" is either "message" or "status"
                        (Short forms are: "msg" or "sts").
                      - "foreground" and "background" may be specified as
                        a color name (such as "blue"), or by a six
                        digit hexadecimal RGB color value (such as
                        "#8F8F8F")
                      - The following color names are available:
                        black, red, green, brown, blue, magenta,
                        cyan, gray (or grey), orange, brightgreen,
                        yellow, brightblue, brightmagenta, brightcyan,
                        white, trueblack, purple, silver, maroon, fuchsia,
                        lime, olive, navy, teal, aqua. In addition, you 
                        can use the following names to refer to default 
                        Windows settings: activeborder, activecaption, 
                        appworkspace, background, btnface, btnshadow, btntext, 
                        captiontext, graytext, highlight, highlighttext, 
                        inactiveborder, inactivecaption, menu, menutext, 
                        scrollbar, window, windowframe, windowtext.

                        Example:
                        OPTIONS=windowcolors:sts #00FF80/blue msg menutext/menu

    font_menu      Specifies the name of the menu font.
    font_message   Specifies the name of the message font.
    font_status    Specifies the name of the status font.
    font_text      Specifies the name of the text font.

    font_size_menu Specifies the size of the menu font.

    font_size_message
                   Specifies the size of the message font.

    font_size_status
                   Specifies the size of the status font.

    font_size_text Specifies the size of the text font.

Miscellaneous options: 

    vary_msgcount  Number of lines to display in message window. 


4. NetHack for Windows - Graphical Interface, Additional/Enhanced Commands
-------------------------------------------------------------------------

The following function keys are active in
the "NetHack for Windows - Graphical Interface": 

    F4             Toggle level overview mode on/off 
                   This key will toggle the map between a view that 
                   is mapped to fit exactly to the window, and the 
                   view that shows the various symbols in their 
                   normal size. This is useful for getting an idea 
                   of where you are in a level. 

    F5             Toggle tiled display on/off. 
                   This key switches between the tiled and the 
                   traditional ASCII display. This is equivalent to 
                   using the "map_mode" option. 

    F10            Activate menu bar. 
                   This key will activate the menu bar, allowing you 
                   to select between the menus: File, Map, 
                   Window Settings, and Help. 

5. Graphical Port Menus
-----------------------

File
  Save - Allows you to save and exit the game
  Quit - Allows you to quit the game

Map - Provides for selection of map mode. Equivalent to using 
the map_mode option. 

Window Settings - Changes your logged-on user's settings for NetHack.
In 3.4.3, only one setting is available: NetHack mode, which can be
checked or unchecked. NetHack mode allows you to use the ALT key for
game key commands [see list above]. You can use F10 to access the
menu bar while in NetHack mode. You can also clear your logged-on
user's settings for NetHack. Settings in this window are saved in
your logged-on user's registry. 

Help - Provides help about various portions of NetHack.


6. Numeric Keypad (for "OPTION=number_pad" mode)
------------------------------------------------

The numeric keypad and surrounding characters act as macros for different
commands in NetHack.  The Num Lock should be toggled to "on" to make the
most of these keys:

          Key         Normal       Shift-Key
       ----------   ----------    -------------
       1, 2, 3, 4   Move In       Run In
       6, 7, 8, 9   Direction     Direction

        0 (Ins)     Inventory     Categorized
                                  Inventory

        . (Del)     Wait Turn     : - Look Here

        +           Spell List    P - Put on an
                                  accessory

        -           m - Move      Previous
                    Only          Message

    NetHack for Windows - tty Interface Specific Behavior:
    ------------------------------------------------------

      In the non-graphical (tty) interface, when you use the Ctrl key with a
      directional key (1, 2, 3, 4, 6, 7, 8, 9) it means "go in specified
      direction until you hit a wall or run into something interesting."

    NetHack for Windows - Graphical Interface Specific Behavior:
    ------------------------------------------------------------

      It is possible to scroll or pan the map in a specific direction:

        Ctrl-Shift-Left  (4)     Scroll (Pan) map left
        Ctrl-Shift-Right (6)     Scroll (Pan) map right
        Ctrl-Shift-Up    (8)     Scroll (Pan) map up
        Ctrl-Shift-Down  (2)     Scroll (Pan) map down
        Ctrl-Shift-Home  (7)     Scroll (Pan) map left to leftmost corner
        Ctrl-Shift-End   (1)     Scroll (Pan) map left to rightmost corner
        Ctrl-Shift-PgUp  (9)     Scroll (Pan) map left to uppermost corner
        Ctrl-Shift-PgDn  (3)     Scroll (Pan) map left to lowermost corner