From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: M-x term strange behaviour. Date: Wed, 10 Sep 2008 12:04:02 +0200 Message-ID: <87iqt4nwq5.fsf@tux.homenetwork> References: <38b2ab8a0809100243o4fda9cefj219b18c07466d3c2@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221042033 836 80.91.229.12 (10 Sep 2008 10:20:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2008 10:20:33 +0000 (UTC) Cc: gnu-emacs-help@gnu.org To: "Francis Moreau" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 10 12:21:28 2008 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 1KdMos-000690-1g for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Sep 2008 12:21:06 +0200 Original-Received: from localhost ([127.0.0.1]:60980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdMnr-0002IZ-O0 for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Sep 2008 06:20:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdMbf-00021I-FY for help-gnu-emacs@gnu.org; Wed, 10 Sep 2008 06:07:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdMbd-0001yy-NO for help-gnu-emacs@gnu.org; Wed, 10 Sep 2008 06:07:26 -0400 Original-Received: from [199.232.76.173] (port=33712 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdMbd-0001ye-6D for help-gnu-emacs@gnu.org; Wed, 10 Sep 2008 06:07:25 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:34346) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KdMbd-00022Y-7b for help-gnu-emacs@gnu.org; Wed, 10 Sep 2008 06:07:25 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:47359 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KdMZt-0007Kf-Tt for gnu-emacs-help@gnu.org; Wed, 10 Sep 2008 06:05:38 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KdMbZ-00021g-4M for gnu-emacs-help@gnu.org; Wed, 10 Sep 2008 06:07:24 -0400 Original-Received: from qw-out-1920.google.com ([74.125.92.144]:18216) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KdMbY-00021c-Q4 for gnu-emacs-help@gnu.org; Wed, 10 Sep 2008 06:07:20 -0400 Original-Received: by qw-out-1920.google.com with SMTP id 4so426220qwk.24 for ; Wed, 10 Sep 2008 03:07:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=ilII5MN3oz5w9x6WWNhVhYuxct5Bdw2ybaEOgJ5M8Vo=; b=jRPYIYWYJQgvcnETtMqZODIC7vlVvFQcKVNzMXcP1eCVlp+gDF91lyIz/fP0poJKX+ 01RXLG4awaLCBQN7ub3Db+0H7Q7V0asg76hPY4v3vp3odPRIXrNoPDKGFKnKXUYz5UPh DMCvDKRCCJFBdJr9oV/GsxqpfdMAzkzSGT5Lg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=dpiBmrwhk5CSZi33URpp9hpRWR7OQxz2sbb38VN95toMv3+6DcpUVIhD/FgCRGY8qi X3aXx+23Z5Y/yJ6t0muanORpPI5Kb5I6BSa2+bj0eYkqtfh4PPEPvcN6bb0JGtie96c4 VWWDDahm1LrpzKRkFB50FS973ZbKIO4Ta3/24= Original-Received: by 10.214.43.18 with SMTP id q18mr108451qaq.12.1221041238956; Wed, 10 Sep 2008 03:07:18 -0700 (PDT) Original-Received: from tux.homenetwork ( [79.85.211.90]) by mx.google.com with ESMTPS id 6sm4644325qwd.4.2008.09.10.03.07.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Sep 2008 03:07:18 -0700 (PDT) In-Reply-To: <38b2ab8a0809100243o4fda9cefj219b18c07466d3c2@mail.gmail.com> (Francis Moreau's message of "Wed, 10 Sep 2008 11:43:14 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:57381 Archived-At: "Francis Moreau" writes: > Hello, > > I'm using "M-x term" to get a shell inside emacs. > > But it seems to not working as expected: for example when starting less(1), > inspecting a file (I know I could have used emacs for that) and exiting, the > terminal window is not restored as it was before starting less(1). Instead the > content of the file visited by less(1) still appears. > > Of course this behaviour does not occur when using less(1) inside an xterm. > > Can anybody give me some advices here ? > > Should I use a different terminal (M-x terminal-emulator...) ? > > Thanks That may be an advandage, you can keep the text and copy it, yank it ...etc When you don't need it anymore, just C-l. -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France