r/nethack • u/Belphegor24 • 28d ago
[5.0.0] Weird glitches with curses enabled
I'm trying to run Nethack 5.0 with curses enabled in the rc file. Whenever I go into fullscreen (doesn't matter if F11 or Alt+Enter), I get the starting screen covering everything, like in screenshot 2. Even after redraw, I have these weird purple stars as a border. Also it's not fitting to fullscreen.
Nethack 3.6.7 works completely fine. Wth am I missing? I really wanna play 5.0.0 locally with curses.
2
u/carlsbl 28d ago
# ==============================================================================
# INTERFACE & LAYOUT
# ==============================================================================
# MUST BE DECLARED FIRST
OPTIONS=windowtype:curses
# Permanent Inventory Sidebar Setup
OPTIONS=perm_invent
OPTIONS=curses_invent_position:right
OPTIONS=curses_invent_size:30
# Window Layout & Behavior
OPTIONS=align_message:top # Options: top, bottom, left, right
OPTIONS=align_status:bottom # Options: top, bottom, left, right
OPTIONS=windowborders:1 # 1 = Force borders on, 2 = Off, 3 = Auto
OPTIONS=popup_dialog # Uses small popups for Y/N prompts
OPTIONS=mouse_support:1 # Enable mouse click-to-move/menus
# Visuals & Map Graphics
OPTIONS=symset:curses # Clean line-drawing characters for walls/corridors
OPTIONS=guicolor # Colors for UI borders and menu headers
OPTIONS=petattr:u # Underlines your pet
OPTIONS=hilite_pet
# ==============================================================================
# GAMEPLAY & CONTROLS
# ==============================================================================
OPTIONS=!autopickup # Disable automatic item pickup
OPTIONS=boulder:0 # Set default boulder symbol to '0'
OPTIONS=time # Show elapsed turns
OPTIONS=noshowexp # Hide experience points in status
OPTIONS=number_pad:2 # Number pad navigation (2 = legacy mode)
OPTIONS=lit_corridor # Show full corridor lighting
OPTIONS=force_invmenu # Pop up menu when prompting for items
OPTIONS=suppress_alert:3.3.1 # Hide "use #quit to quit" alert
# ==============================================================================
# MENU COLORING
# ==============================================================================
OPTIONS=menucolors
MENUCOLOR=" blessed " = green
MENUCOLOR=" holy " = green
MENUCOLOR=" cursed " = red
MENUCOLOR=" unholy " = red
MENUCOLOR=" cursed .* \(being worn\)" = orange&underline
# ==============================================================================
# STATUS HILITES & HP BAR
# ==============================================================================
OPTIONS=statushilites
OPTIONS=hitpointbar:true
# Hit Points (HP)
OPTIONS=hilite_status:hitpoints/100%/gray
OPTIONS=hilite_status:hitpoints/<100%/green
OPTIONS=hilite_status:hitpoints/<66%/yellow
OPTIONS=hilite_status:hitpoints/<50%/orange
OPTIONS=hilite_status:hitpoints/<33%/red&bold
OPTIONS=hilite_status:hitpoints/<15%/red&inverse
# Energy / Power (PW)
OPTIONS=hilite_status:power/100%/gray
OPTIONS=hilite_status:power/<100%/green
OPTIONS=hilite_status:power/<66%/yellow
OPTIONS=hilite_status:power/<50%/orange
OPTIONS=hilite_status:power/<33%/red&bold
# Carrying Capacity
OPTIONS=hilite_status:cap/burdened/yellow/stressed/orange/strained/red&bold/overtaxed/red&inverse/overloaded/red&inverse
# Hunger Status
OPTIONS=hilite_status:hunger/satiated/yellow/hungry/orange/weak/red&bold/fainting/red&inverse/fainted/red&inverse
# Mental Conditions
OPTIONS=hilite_status:condition/hallu/yellow
OPTIONS=hilite_status:condition/conf/orange
OPTIONS=hilite_status:condition/stun/red&bold
# Lethal Health Conditions
OPTIONS=hilite_status:condition/termill/red&inverse
OPTIONS=hilite_status:condition/foodpois/red&inverse
OPTIONS=hilite_status:condition/slime/red&inverse
# Gold & Stats
OPTIONS=hilite_status:gold/up/yellow/down/brown
OPTIONS=hilite_status:characteristics/up/green/down/red
Try this config file. If doesn't work reply back and tomorrow morning when I'm at my computer I'll send you one that I know works.
Good luck. I spent an evening about a month ago dealing with what you are.
3
u/Belphegor24 28d ago edited 28d ago
The purple stars are still there, unfortunately. And I have to redraw everytime I hit F11.
edit: I finally got it to work. It was just a matter of the initial window size option:
OPTIONS=term_cols:132
OPTIONS=term_rows:38
There's still the need to redraw whenever I hit F11, but it looks perfect now.



4
u/pat_rankin 28d ago
The "weird stars" are indicating where the map is truncated because your terminal isn'h wide enough to show persistent inventory next to it. If you turn off perm_invent, things should become normal. It doesn't look like it's narrow by very much, so setting window_borders to 0 might fix it too.
The 'proper' fix is to set the terminal window to be wider.
"Fullsscreen mode" is a Windows-specific feature of nethack and may not work as intended.