Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Sep 1996 16:09:07 +0200 (MET DST)
From:      "Åge Røbekk" <aagero@aage.priv.no>
To:        andreas@klemm.gtn.com
Cc:        current@freebsd.org, ports@freebsd.org
Subject:   Re: throwing objects in nethack when playing on the console is horrible;)
Message-ID:  <199609281409.QAA01402@birk04.studby.uio.no>
In-Reply-To: <Pine.BSF.3.95.960928150333.285D-100000@klemm.gtn.com> (message from Andreas Klemm on Sat, 28 Sep 1996 15:08:09 %2B0200 (MET DST))

next in thread | previous in thread | raw e-mail | index | archive | help

| Is there a known curses problem with nethack 3.2.1 ?!
| Did somebody else try to play nethack 3.2.1 on the console ?!
| Try throwing objects, the screen is in a mess after that, 
| redrawing the screen with ^r or ^l doesn't help !

One thing you can try to fix it temporarily is to exit into a shell
with `!' and return.  What this does is some terminal driver shutdown
and restart, which somehow sets the terminal in the correct mode.  A
more permanent but not neccesarily correct fix is to change
tty_init_nhwindows() in $TOP/win/tty/wintty.c to mimic the shell
escape code.

--- nethack-3.2.1/win/tty/wintty.c      Fri Jul 19 07:20:45 1996
+++ wintty.c.ny Sat Sep 28 16:05:17 1996
@@ -260,6 +260,7 @@
 
     /* to port dependant tty setup */
     tty_startup(&wid, &hgt);
+    gettty();
     setftty();                 /* calls start_screen */
 
     /* set up tty descriptor */

I mailed nethack-bugs@linc.cis.upenn.edu about this problem, but we
never settled about the nature of this problem.

-aage



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609281409.QAA01402>