From owner-freebsd-bugs Mon Nov 17 02:20:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA00362 for bugs-outgoing; Mon, 17 Nov 1997 02:20:50 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: from bagpuss.visint.co.uk (bagpuss.visint.co.uk [194.207.134.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA00357 for ; Mon, 17 Nov 1997 02:20:46 -0800 (PST) (envelope-from steve@visint.co.uk) Received: from dylan.visint.co.uk (dylan.visint.co.uk [194.207.134.180]) by bagpuss.visint.co.uk (8.7.5/8.7.3) with SMTP id KAA21942; Mon, 17 Nov 1997 10:20:37 GMT Date: Mon, 17 Nov 1997 10:20:37 +0000 (GMT) From: Stephen Roome To: Thomas Gellekum cc: freebsd-bugs@hub.freebsd.org Subject: Re: gnu/5039: libdialog fails to resore terminal In-Reply-To: <87wwi8m059.fsf@ghpc6.ihf.rwth-aachen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On 17 Nov 1997, Thomas Gellekum wrote: > Stephen Roome writes: > > > Ok, usually I do the following: > > > > 1) start a clean xterm or rxvt > > [There's no problem with syscons, not tried console vt220] > > > > 2) rlogin [same problem locally though] > > 3) Run dialog or sysinstall or something like that. > > 4) press cursor up to get my last command (zsh thing) > > 5) Find that my terminal is printing 'A' instead of giving me my > > previous command. > > 6) type reset and then re-reverse my xterm colours. > > That means that zsh (and pdksh, btw) sets the cursor keys to the > `application keypad' mode and leaving the dialog (and any other > ncurses-based) application resets to `cursor keypad' mode. This is > really annoying, just as bad as resetting the console to white on > black when you had changed the colors to black on white. So it's still a case of the application failing to restore the values that had been set by it's parent shell? (I thought ncurses would handle this by resetting to the values that it started with, not exitting to what it thinks is best.) Steve. -- Steve Roome - Vision Interactive Ltd. Tel:+44(0)117 9730597 Home:+44(0)976 241342 WWW: http://dylan.visint.co.uk/