From nobody  Sun Nov  2 16:34:41 1997
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.7/8.8.7) id QAA20922;
          Sun, 2 Nov 1997 16:34:41 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199711030034.QAA20922@hub.freebsd.org>
Date: Sun, 2 Nov 1997 16:34:41 -0800 (PST)
From: sef@Kithrup.COM
To: freebsd-gnats-submit@freebsd.org
Subject: man & more do not work with being suspended
X-Send-Pr-Version: www-1.0

>Number:         4922
>Category:       bin
>Synopsis:       man & more do not work with being suspended
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov  2 16:40:01 PST 1997
>Closed-Date:    Wed Mar 25 21:35:15 PST 1998
>Last-Modified:  Wed Mar 25 21:38:50 PST 1998
>Originator:     Sean Eric Fagan
>Release:        2.2.5-RELEASE
>Organization:
Kithrup Enterprises, Ltd.
>Environment:
FreeBSD kithrup2.kithrup.com 2.2.5-RELEASE FreeBSD 2.2.5-RELEASE #0: Sun Nov  2 23:02:09 PST 1997 
root@kithrup2.kithrup.com:/usr/src/sys/compile/KITHRUP2  i386

>Description:
When suspending more(1) while running man(1), the tty is left in
raw (well, probably cbreak) mode.  This is more than slightly annoying.
Possibly related, I've had vi leave the screen in standout mode when
suspended.  I am not as sure how to reproduce that problem, however.

This is not present in the 2.2-GAMMA system I have on another machine.

>How-To-Repeat:
kithrup2 1% csh
kithrup2 % man man
<type Control-Z at the first screen, then try to type anything>

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: hoek 
State-Changed-When: Wed Mar 25 21:35:15 PST 1998 
State-Changed-Why:  
I vaguely remember this not working.  Regardless, it works now. 

(or at least appears to). 

The "vi leaves screen in standout mode" problem which is mentioned 
only in passing has a separate, dedicated pr: bin/4923. 

[Man I wish edit-pr responded to export EDITOR=vi...] 
>Unformatted:
Further information:  this only happens on a pty port, not the console.
Why this is the case, I have no idea.
