From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: M-x shell not working Date: Wed, 19 Oct 2005 11:00:26 +0200 Message-ID: <75f08c867c1336e7bf540f392c99da04@Web.DE> References: <13ecef2d0510172334jd0c4e65i7cec30e4fd522811@mail.gmail.com> <708ac6dccd5c5bcbc601b8ebb3760da0@Web.DE> <13ecef2d0510180456p67bb4175ld3fa440af1f5390f@mail.gmail.com> <13ecef2d0510182336u1726e9e0o8c3b052e88dfcb28@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1129724990 29573 80.91.229.2 (19 Oct 2005 12:29:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2005 12:29:50 +0000 (UTC) Cc: Kevin Rodgers , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 19 14:29:47 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESD37-0004mA-Qz for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Oct 2005 14:28:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESCcr-0005xR-1f for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Oct 2005 08:00:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESBHO-0001El-NB for help-gnu-emacs@gnu.org; Wed, 19 Oct 2005 06:34:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESAf9-0003G0-8O for help-gnu-emacs@gnu.org; Wed, 19 Oct 2005 05:56:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ES9oT-0001hd-Hx for help-gnu-emacs@gnu.org; Wed, 19 Oct 2005 05:00:47 -0400 Original-Received: from [217.72.192.226] (helo=smtp08.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1ES9oS-0006sX-K1 for help-gnu-emacs@gnu.org; Wed, 19 Oct 2005 05:00:44 -0400 Original-Received: from [84.245.189.60] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #317) id 1ES9oC-0006HX-00; Wed, 19 Oct 2005 11:00:28 +0200 In-Reply-To: <13ecef2d0510182336u1726e9e0o8c3b052e88dfcb28@mail.gmail.com> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: Sunil Yeddu X-Mailer: Apple Mail (2.623) X-Sender: Peter_Dyballa@web.de 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:30370 Archived-At: Am 19.10.2005 um 08:36 schrieb Sunil Yeddu: > And everytime we open a new shell using xterm it is not getting the=20 > TERM variable. So make it in xterm a login shell! xterm -ls ... > =A0=A0=A0 Also we have all the settings in a common cshrc file which = we=20 > 'source' from our ~/.cshrc. And setting TERM is done in that common=20 > file. Why do you want to set TERM in Emacs' shell? GNU Emacs is clever enough=20= to set it itself (to dumb). My previous hint with checking whether TERM=20= exists is valuable: only if not set source that group-wide .cshrc file!=20= The missing pieces from this file can be put into .emacs_csh to=20 initialise Emacs *shell* buffer. > Also I feel, fiddling around with TERM variable is just a workaround.=20= > The problem of tty is still there. I still get warning message when I=20= > enter shell in emacs with 'setenv TERM ..' commented out. > =A0 =A0 Since it is working in emacs-20.7, there is some change done = in=20 > emacs-21.4. If that is identified then may be we can find a solution. You should be a bit more specific in which OS this happens. And check=20 GNU Emacs' eshell too! This one is more kind of a terminal emulation.=20 *shell* is just a buffer in which a UNIX shell interpreter runs which=20 does not need much code from a shell rc file. -- Greetings Pete "I love deadlines. I love the whooshing noise they make as they go by"=20= (Douglas Adams)