From archie@whistle.com  Thu Dec  4 18:11:43 1997
Received: from whistle.com (s205m131.whistle.com [207.76.205.131])
          by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA27573
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 4 Dec 1997 18:11:42 -0800 (PST)
          (envelope-from archie@whistle.com)
Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id SAA27625 for <FreeBSD-gnats-submit@freebsd.org>; Thu, 4 Dec 1997 18:11:10 -0800 (PST)
Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3)
	id sma027621; Thu Dec  4 18:10:57 1997
Received: (from archie@localhost) by bubba.whistle.com (8.8.5/8.6.12) id SAA16597; Thu, 4 Dec 1997 18:10:56 -0800 (PST)
Message-Id: <199712050210.SAA16597@bubba.whistle.com>
Date: Thu, 4 Dec 1997 18:10:56 -0800 (PST)
From: archie@whistle.com
Reply-To: archie@whistle.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: vi leaves screen inverted after error message
X-Send-Pr-Version: 3.2

>Number:         5225
>Category:       bin
>Synopsis:       in vi, after failed search, then ctrl-z, text is inverted
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec  4 18:20:00 PST 1997
>Closed-Date:    Thu Dec 25 20:05:24 PST 1997
>Last-Modified:  Thu Dec 25 20:07:37 PST 1997
>Originator:     Archie Cobbs
>Release:        FreeBSD 2.2-STABLE i386
>Organization:
Whistle Communications, Inc.
>Environment:

	Stock FreeBSD 2.2.5 system
	xterm

>Description:

	If you press control-z immediately after getting a vi error
	message (displayed inverted on the bottom line), you get
	a shell prompt, and all from there on all text is displayed
	inverted.

>How-To-Repeat:

	Start up an xterm
	Type "vi" <return>
	Type "/nonexistant-string" <return>
	You get an error message
	Type CTRL-Z
	Type anything -- notice it's inverted now

>Fix:

	Don't do that.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: hoek 
State-Changed-When: Thu Dec 25 20:05:24 PST 1997 
State-Changed-Why:  
Dup of bin/4923 "vi leaves the screen in standout mode", which 
also has a follow-up. 
>Unformatted:
