From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sunil Yeddu Newsgroups: gmane.emacs.help Subject: Re: M-x shell not working Date: Tue, 18 Oct 2005 23:36:23 -0700 Message-ID: <13ecef2d0510182336u1726e9e0o8c3b052e88dfcb28@mail.gmail.com> References: <13ecef2d0510172334jd0c4e65i7cec30e4fd522811@mail.gmail.com> <708ac6dccd5c5bcbc601b8ebb3760da0@Web.DE> <13ecef2d0510180456p67bb4175ld3fa440af1f5390f@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0847712568==" X-Trace: sea.gmane.org 1129705361 3211 80.91.229.2 (19 Oct 2005 07:02:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2005 07:02:41 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 19 09:02:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ES7wq-0005VO-HA for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Oct 2005 09:01:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ES7uA-0004yA-6X for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Oct 2005 02:58:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ES7Z2-0001ab-2d for help-gnu-emacs@gnu.org; Wed, 19 Oct 2005 02:36:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ES7Yv-0001a6-Gu for help-gnu-emacs@gnu.org; Wed, 19 Oct 2005 02:36:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ES7Yr-0001Zs-Qv for help-gnu-emacs@gnu.org; Wed, 19 Oct 2005 02:36:30 -0400 Original-Received: from [64.233.184.194] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ES7Yr-0005gR-Cu for help-gnu-emacs@gnu.org; Wed, 19 Oct 2005 02:36:29 -0400 Original-Received: by wproxy.gmail.com with SMTP id 36so110910wra for ; Tue, 18 Oct 2005 23:36:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=WxVdlPTKpCjZkrLCd+z7P07voFA8luTiz7LOYG8s5/8IH8m8ybkujmYcacQRZJUUndvwHIZBVkBG1aMh86lNbMjbFFXslRKiX7svxygKCTA2ruY7YzsW/TztjFu3qyI6AWc7zg8qIn1xiiBrbcHsyHZanxoSYTgMH2ysXmvRWS8= Original-Received: by 10.54.94.12 with SMTP id r12mr118871wrb; Tue, 18 Oct 2005 23:34:38 -0700 (PDT) Original-Received: by 10.54.124.6 with HTTP; Tue, 18 Oct 2005 23:36:23 -0700 (PDT) Original-To: Kevin Rodgers In-Reply-To: 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:30367 Archived-At: --===============0847712568== Content-Type: multipart/alternative; boundary="----=_Part_10265_10321811.1129703783521" ------=_Part_10265_10321811.1129703783521 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > > > > So there is no solution to the original problem yet, as removing > > the line which sets TERM env cannot be a permanent solution. > > But moving it to your .login file where it belongs is a solution. Kevin, as you suggested I tried moving 'setenv TERM vt100' to .login file. But .login file is read only once. And everytime we open a new shell using xterm it is not getting the TERM variable. Also we have all the settings in a common cshrc file which we 'source' from our ~/.cshrc. And setting TERM is done in that common file. Making changes to that file will not be a good solution to get emacs shell working as it will have wider implications. Also I feel, fiddling around with TERM variable is just a workaround. The problem of tty is still there. I still get warning message when I enter shell in emacs with 'setenv TERM ..' commented out. Since it is working in emacs-20.7, there is some change done in emacs-21.4. If that is identified then may be we can find a solution. Sunil ------=_Part_10265_10321811.1129703783521 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

>&nb= sp;      So there is no solution to the original p= roblem yet, as removing
> the line which sets TERM env cannot be a p= ermanent solution.

But moving it to your .login file where it belongs is a solution.

   Kevin, as you suggested I tried moving 'setenv TERM vt100' to = .login file. But .login file is read only once. And everytime we open a new shell using xterm it is not getti= ng the TERM variable.
    Also we have all the settings in a common cshrc file whi= ch we 'source' from our ~/.cshrc. And setting TERM is done in that common file. Making changes to that file will not be a good solution to get emacs shell working as it will have wider implications. Also I feel, fiddling around with TERM variable is just a workaround. The problem of tty is still there. I still get warning message when I enter shell in emacs with 'setenv TERM ..' commented out.
    Since it is working in emacs-20.7, there is some change done = in emacs-21.4. If that is identified then may be we can find a solution.

Sunil
------=_Part_10265_10321811.1129703783521-- --===============0847712568== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============0847712568==--