From owner-freebsd-current Sat Sep 28 07:11:32 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA12382 for current-outgoing; Sat, 28 Sep 1996 07:11:32 -0700 (PDT) Received: from birk04.studby.uio.no (root@birk04.studby.uio.no [129.240.214.13]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA11113; Sat, 28 Sep 1996 07:09:21 -0700 (PDT) Received: (from aagero@localhost) by birk04.studby.uio.no (8.7.6/sendmail95) id QAA01402; Sat, 28 Sep 1996 16:09:07 +0200 (MET DST) Date: Sat, 28 Sep 1996 16:09:07 +0200 (MET DST) Message-Id: <199609281409.QAA01402@birk04.studby.uio.no> From: "Åge Røbekk" To: andreas@klemm.gtn.com CC: current@freebsd.org, ports@freebsd.org In-reply-to: (message from Andreas Klemm on Sat, 28 Sep 1996 15:08:09 +0200 (MET DST)) Subject: Re: throwing objects in nethack when playing on the console is horrible;) Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk | 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