From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Casper Gripenberg Newsgroups: gmane.emacs.help Subject: Suspending emacs on character terminals and "screen switching" Date: Sat, 05 May 2007 02:25:08 +0300 Message-ID: <463BC0D4.1040408@kotiportti.fi> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1178390381 1117 80.91.229.12 (5 May 2007 18:39:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 May 2007 18:39:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 05 20:39:40 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HkPAR-00074n-JM for geh-help-gnu-emacs@m.gmane.org; Sat, 05 May 2007 20:39:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HkPHD-0006xd-Bi for geh-help-gnu-emacs@m.gmane.org; Sat, 05 May 2007 14:46:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hk7Fz-0001NL-6w for help-gnu-emacs@gnu.org; Fri, 04 May 2007 19:32:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hk7Fx-0001N8-UK for help-gnu-emacs@gnu.org; Fri, 04 May 2007 19:32:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hk7Fx-0001N5-Nn for help-gnu-emacs@gnu.org; Fri, 04 May 2007 19:32:09 -0400 Original-Received: from outbound.mailhop.org ([63.208.196.171]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hk79G-0003k0-Rv for help-gnu-emacs@gnu.org; Fri, 04 May 2007 19:25:15 -0400 Original-Received: from a91-152-72-161.elisa-laajakaista.fi ([91.152.72.161]) by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Hk79C-000HMP-A3 for help-gnu-emacs@gnu.org; Fri, 04 May 2007 19:25:10 -0400 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 91.152.72.161 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/EWg1Gza+FZzPVcXEDGzu5/MWgkLeKWcU= User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) X-detected-kernel: FreeBSD 4.6-4.9 X-Mailman-Approved-At: Sat, 05 May 2007 14:45:00 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:43749 Archived-At: Does anyone know what the terminal capability is that makes emacs switch back to the "shell screen" when you suspend emacs? I made a gif animation showing what I mean: http://zoidberg.homeip.net/schtuff/EmacsSuspendSwitch.gif I run emacs on two computers. One is OpenBSD and the other FreeBSD. Emacs works fine on both but on FreeBSD I can't get it to "switch screens" when I suspend it. No matter what terminal type I set. The screen switching is really useful when having to suspend emacs and go back to the command line to see what your program output was, or part of a manpage or whatever. Why can't I get it to work on FreeBSD? What terminal capability or setting is missing over there? I'm sure I could tweak a termcap file or something and get it going, but I can't figure out what it is emacs is looking for to activate this switching feature. Look in the video. Setting term to xterm activates the behaviour, setting it to vt100 disables it. Anyone got any ideas how to get emacs to do this on my FreeBSD box too? Casper