Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2001 19:39:51 -0400 (EDT)
From:      str@giganda.komkon.org
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        str@giganda.komkon.org
Subject:   bin/28798: mail(1) with a pager (more) requires fg/Ctrl-Z/fg to restore after suspension with Ctrl-Z
Message-ID:  <200107072339.f67NdpO16657@giganda.komkon.org>

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

>Number:         28798
>Category:       bin
>Synopsis:       mail(1) with a pager (more) requires fg/Ctrl-Z/fg to restore after suspension with Ctrl-Z
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 07 16:40:03 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Igor Roshchin
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
Komkon 
>Environment:
System: FreeBSD HOST 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:
54:49 GMT 2001     jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC  i386


	
>Description:
This happens on a vanila 4.3-RELEASE system.
/usr/bin/mail is used to view
a message that is longer then one screen and the pager (more) is used
If you suspend mail (via Ctrl-Z) in the middle of the paged message,
when you bring it to the foreground (fg) - the screen does not
get  restored, and  the program does not accept any commands.
The only way to bring mail back, is to repeat Ctrl-Z and fg. 
I haven't seen this behavior before (4.0 and prior).
Is this somehow related to the new "more"  ?
	
>How-To-Repeat:
Use mail(1) to read a message that is longer than the screen length,
so the pager is used. Suspend the programs with Ctrl-Z.
Try "fg" to restore it.

	
>Fix:
None available.
Workaround:
Ctrl-Z again and fg again restores the program.

	

>Release-Note:
>Audit-Trail:
>Unformatted:
 <synopsis of the problem (one line)>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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