Index: unnethack-3.5.3/sys/unix/nethack.sh
===================================================================
--- unnethack-3.5.3.orig/sys/unix/nethack.sh	2010-09-09 13:24:40.059130101 +0400
+++ unnethack-3.5.3/sys/unix/nethack.sh	2010-09-09 16:03:49.435126950 +0400
@@ -1,6 +1,18 @@
 #!/bin/sh
 #	SCCS Id: @(#)nethack.sh	3.4	1990/02/26
 
+if [ "x$1" == "x--xterm" ]; then
+  shift
+  exec /usr/bin/osso-xterm "$0 --refresh"
+fi
+
+# This is black, black magic! This is needed to force the terminal to refresh 
+# its width/height properly when run from the application menu.
+if [ "x$1" == "x--refresh" ]; then
+  shift
+  read -t1 FOO
+fi
+
 HACKDIR=/usr/games/lib/nethackdir
 export HACKDIR
 HACK=$HACKDIR/nethack
