From owner-freebsd-bugs Sat Jul 7 16:40:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 95F2437B403 for ; Sat, 7 Jul 2001 16:40:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f67Ne3u98005; Sat, 7 Jul 2001 16:40:03 -0700 (PDT) (envelope-from gnats) Received: from giganda.komkon.org (giganda.komkon.org [209.125.17.66]) by hub.freebsd.org (Postfix) with ESMTP id 6968337B401 for ; Sat, 7 Jul 2001 16:39:52 -0700 (PDT) (envelope-from str@giganda.komkon.org) Received: (from str@localhost) by giganda.komkon.org (8.11.3/8.11.3) id f67NdpO16657; Sat, 7 Jul 2001 19:39:51 -0400 (EDT) (envelope-from str) Message-Id: <200107072339.f67NdpO16657@giganda.komkon.org> Date: Sat, 7 Jul 2001 19:39:51 -0400 (EDT) From: str@giganda.komkon.org Reply-To: str@giganda.komkon.org To: FreeBSD-gnats-submit@freebsd.org Cc: str@giganda.komkon.org X-Send-Pr-Version: 3.113 Subject: bin/28798: mail(1) with a pager (more) requires fg/Ctrl-Z/fg to restore after suspension with Ctrl-Z Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message