From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Pgirp-0006hX-8v for garchives@archives.gentoo.org; Sat, 22 Jan 2011 19:11:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA66DE0574; Sat, 22 Jan 2011 19:09:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A8C03E0574 for ; Sat, 22 Jan 2011 19:09:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 1DD791B401E for ; Sat, 22 Jan 2011 19:09:36 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: 1.191 X-Spam-Level: * X-Spam-Status: No, score=1.191 required=5.5 tests=[AWL=-0.185, BAYES_00=-2.599, RCVD_ILLEGAL_IP=1.908, RCVD_NUMERIC_HELO=2.067] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rBKnFgCWfLY4 for ; Sat, 22 Jan 2011 19:09:30 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id BE7BA1B403E for ; Sat, 22 Jan 2011 19:09:28 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pgips-0007Yw-Pd for gentoo-user@gentoo.org; Sat, 22 Jan 2011 20:09:20 +0100 Received: from 2.82.220.213 ([2.82.220.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Jan 2011 20:09:20 +0100 Received: from nunojsilva by 2.82.220.213 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Jan 2011 20:09:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: nunojsilva@ist.utl.pt (Nuno J. Silva) Subject: [gentoo-user] Re: How can I turn off xterm console restore? Date: Sat, 22 Jan 2011 19:11:03 +0000 Message-ID: <871v447nzs.fsf@ist.utl.pt> References: <20110122054527.GB30822@waltdnes.org> <201101221414.02623.michaelkintzios@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 2.82.220.213 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:n8t84rZ6BGj77k1izV15f9Q7o0Y= X-Archives-Salt: X-Archives-Hash: 2a73f968e2d70bbd43eb74eb6f99ee26 Mick writes: > On Saturday 22 January 2011 05:45:27 Walter Dnes wrote: >> As soon as some textmode applications in xterm stop, their output gets >> wiped, and the xterm screen is restored to what it looked like before I >> launched the app. Somebody thought they were being "helpful"; then >> again, so did the designers of "Clippy". I don't know how many updates >> ago the behaviour changed, but here's what happens... > > Hmm ... as far as I can recall with xterm/aterm this behaviour for some > commands is the expected/default behaviour. I've looked into it for things > like top et al when launched like so on the desktop from e.g. fluxbox's menu: > > aterm +sb -e top -d 2 > > Pressing q to quit top closes the aterm. Completely. :-( > > I have not found a solution for it. > > With xterm I would use the -hold option to stop xterm from collapsing like so: > > xterm -geometry 144x30 -bg black -fg green -hold -e 'ps auxf' > > Thereafter I use the window decoration to close xterm, because no other > keyboard inputs are accepted by it. I think the OP is talking about how some programs (ncurses-based and the like?) such as less output to a separate "layer" which is hidden when they terminate, instead of writing to the same "layer" where the shell lives (what would make the last output still visible when they end and control goes back to the shell. But I have no idea how to change it - I know it works differently in some terminals, but I never tried to figure out how and why. -- Nuno J. Silva gopher://sdf-eu.org/1/users/njsg