running

Several squares at once. The terminal shows every seventh step or so.

The terminal shows this in words, not as a letter.
Terminal
A run slides the hero along its whole line in one continuous move instead of jumping ahead.
Codex: from a builder's report

Builtneeds review2 changes builtSeen all the timeLast touched November 27, 2026: a change of its own was written or changed. Commit 8d2cfe0c6.

In the terminal

The hero moves until something stops the run, and what stops it depends on the mode. Every mode, Shift included, stops for a monster it can see in front, and before water or lava in front unless the hero is flying, levitating or knows they walk on it. g and G also stop for a hostile monster beside the hero, for a closed door straight beside it, and for stairs, a fountain, an altar, a throne, or an open or empty doorway beside or ahead of the path; Shift takes all of those as more corridor. A trap the hero has seen stops g and G only in front; a trap beside the path stops no mode. Objects beside the path stop no mode. Every mode stops after stepping onto objects, or onto a door or a feature. Only g stops where a corridor widens; Shift and G follow a corridor's turns. While blind, nothing beside the path stops a run. The tty's runmode option sets how it is shown: "run" (default) redraws the map every 7 steps, "walk" every step, "crawl" every step with extra delays, "teleport" only at the end. Stops are silent unless mention_walls says why ("You stop in front of the door.").

Quotes from NetHack

Go in that direction until you hit a wall or run into something.
doc/Guidebook.mn:682, [YUHJKLBN]: Shift with a direction, bound to do_run_<dir> (src/cmd.c:3463-3464), which sets context.run 1
9 more quotes
Prefix: similar to \(oqg\(cq, but forking of corridors is not considered interesting.
doc/Guidebook.mn:717-719, G[yuhjklbn] or <Control>+[yuhjklbn]: #run (G) sets context.run 3 (src/cmd.c:1615), and Control with a direction is do_rush_<dir> (src/cmd.c:3465), set_move_cmd(dir, 3) (src/cmd.c:1463): one mode; #rush (g) sets 2 (src/cmd.c:1599), the only mode that stops at a fork (src/hack.c:4025)
if ((svc.context.run != 1 && !is_safemon(mtmp)) || (infront && !svc.context.travel)) {
src/hack.c:3933-3934, lookaround: every mode stops for a visible monster in front; g and G (run 2, 3) also for a hostile one beside the hero
if (svc.context.run != 1 && !svc.context.travel) { ... You("stop in front of the door.");
src/hack.c:3967-3970, a closed door straight beside the hero stops g and G; for Shift it is more corridor (goto bcorr); a door on a diagonal is ignored
} else { /* e.g. objects or trap or stairs */ if (svc.context.run == 1) goto bcorr;
src/hack.c:4009-4011, NetHack's comment names objects and traps, but this branch reads only terrain: stairs, a fountain, an altar, a throne, an open or empty doorway beside or ahead stop g and G; Shift takes them as corridor (goto bcorr). Objects are never read by lookaround; a seen trap stops g and G only in front (hack.c:3950-3955); water or lava in front stops every mode unless it is safe (hack.c:4005-4007, avoid_moving_on_liquid at hack.c:2463)
if ((svc.context.run == 1 || svc.context.run == 3 || svc.context.run == 8) && !noturn && !m0 && i0
src/hack.c:4030-4031, Shift and G (and travel) follow a corridor's single turn; g instead stops where the corridor widens (hack.c:4025); while blind lookaround returns at once (hack.c:3913)
/* if there's anything here, stop running */
src/pickup.c:734-737, every mode but travel stops after stepping onto objects; and onto a door or a feature: if (IS_DOOR(tmpr->typ) || IS_OBSTRUCTED(tmpr->typ) || IS_FURNITURE(tmpr->typ)) nomul(0); (src/hack.c:2937-2940)
for normal (leap) mode, update display every 7th step
src/hack.c:3001
"teleport", "run", "walk", "crawl"
src/options.c:218, runmode values; "run" is the default (src/options.c:7176)
You stop in front of the door.
src/hack.c:3970

Decisions

Runs glide along their line instead of jumping.

Codex draws it
Full text

Runs glide. Under the default runmode the core flushes the display every seventh step, so a run arrives as a multi-square jump. The hero glides along the run's straight line from the old square to the new; the direction is known from the run key, so nothing is inferred.

Backlog decisions: D-26

Every straight part of a run glides. A turn in the run cuts.

Codex draws it
Full text

PROVISIONAL. While a run is in progress, every straight move glides along its own line, the run key's or a corridor's next leg after a corner; a move that is not a straight line (the run turned between two looks) cuts. Rejected: gliding only along the key's direction (every leg after a corner would cut); an L-shaped glide (infers the path).

Backlog decisions: D-41

In Codex

A run slides the hero along its whole line in one continuous move instead of jumping ahead.

BuiltTransition

A run slides the hero along its whole line in one continuous move instead of jumping ahead.
Details

Runs glide (D-26): under the default runmode the core shows a run every seventh or so step, so it arrives as a jump; after a run key (Shift or Ctrl with a direction, or a G or g prefix), each straight move glides along its own line at run_seconds_per_square, the run key's line or a corridor's next leg after a corner (D-41), continuing from wherever the last part reached, so a run looks like one continuous move. A move off a straight line cuts; travel and teleports cut.

Id
codex.run_glide
Exact state
Built
Playtests
journey-game
Settings
camera.glide_runs, camera.run_seconds_per_square
Code
crates/nh-moments/src/command.rs, crates/nh-plays/src/hero/motion.rs
N-27Done5 | Runs glide (D-26); 07-run playtest on a seeded corridor:
T-20Done5 | 07-run's glide check is independent of screenshot timing and frame rate (it failed twice on CI's slow software renderer):

A running hero glides to each square the game shows, then stands while the game pauses.

Builtneeds reviewTransition

Details

N-655. NetHack paces multi-turn movement by its runmode option (Guidebook, "runmode": teleport "update the map after movement has finished", run "after every seven or so steps", walk "after each step", crawl "like walk, but pause briefly after each step.", doc/Guidebook.mn:4756-4764): runmode_delay_output (hack.c:2996) flushes the map and pauses (delay_output, 50 ms on the tty, win/tty/termcap.c:801) before each move (allmain.c:517) and after it (hack.c:2990), at every seventh turn under run, every move under walk, with four more pauses under crawl, never under teleport. The port sends each pause as DelayOutput and the client holds the game for it (pace.game_pause_ms, shortened while keys wait by pace.pause_when_keys_waiting). Codex never reads the option: a look that moved the hero and ended at a pause becomes a steady glide from where the letter is drawn to the square the game shows, never quicker than the run's steady pace (camera.run_seconds_per_square, codex.run_glide), so nothing jumps however many squares one redraw shows; what is left of the game's pauses the hero stands still. A single square is never crossed quicker than ground newly shown comes out of the dark (animations.run_rests_step_seconds, 0.35, as fog_of_war.comes_out_of_the_dark_seconds): crossed in two frames, the first-person eye arrived beside walls still dark and the hallway darkened at every square (the review's third look). So under crawl the letter crosses a square over seven of the game's ten pauses and stands for the last three (replay runmode-crawl); under walk, whose redraws come a square every tenth of a second, it glides on at the game's pace a little behind it and never stands mid-run (runmode-walk); under run, the default, whose redraws come about five squares then one apart, the run stays the steady glide it was (runmode-run; the corner a cut as before, T-3100), the review of 2026-11-27 having ruled that five squares in a twentieth of a second is a pop; under teleport nothing pauses and the run is one move, as before (runmode-teleport). A strength above 1 stretches a crossing over that many pauses. The lantern is the hero's own light and travels with the letter. From above the same. Nothing rests where the pause is not the run's: a look that ended anywhere but a pause (a run stopped by a monster coming into view, flushed at the next command with no pause; a --More--; a request), a pause with no move of the hero (a counted search, resting, a helpless turn), a pause with a thrown thing or a beam's or explosion's symbol in it (the hero's step keeps its spring there). Only the hero's pace changes: no square, letter, color or light is added.

Id
codex.run_rests
Exact state
Built, not reviewed
Settings
animations.run_rests_strength, animations.run_rests_step_seconds
Code
crates/nh-plays/src/hero/rests.rs, crates/nh-plays/src/underway/eye.rs, crates/codex-client/src/game.rs, crates/nh-knobs/src/animations/run_rests.rs, crates/codex-client/src/replays.rs
N-655Built, not reviewedThe run rests where NetHack pauses
Applies to everything on the map (1)
  • Up steps forward, down steps back, and left and right turn in place without using a game turn.

Accepted pictures and playtests

Playtests: journey-game

Planned and proposed

Idea Running leaves faint streaks on the letters you pass and widens the view slightly.

Details for builders

Id: run. Lexicon subjects: moment.run.

Design notes from NetHack

With the default runmode the map is redrawn every 7 steps ('walk': every step; 'teleport': only at the end); stops are silent.

Backlog rows

N-27Done5 | Runs glide (D-26); 07-run playtest on a seeded corridor:
T-20Done5 | 07-run's glide check is independent of screenshot timing and frame rate (it failed twice on CI's slow software renderer):
N-655Built, not reviewedThe run rests where NetHack pauses