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: Tue, 18 Oct 2005 11:27:25 +0200 Message-ID: <708ac6dccd5c5bcbc601b8ebb3760da0@Web.DE> References: <13ecef2d0510172334jd0c4e65i7cec30e4fd522811@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1129629725 6726 80.91.229.2 (18 Oct 2005 10:02:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2005 10:02:05 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 18 12:02:00 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ERoHH-0002CU-Sa for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Oct 2005 12:01:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERoHH-0007hH-AB for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Oct 2005 06:01:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ERnkp-0002h0-9u for help-gnu-emacs@gnu.org; Tue, 18 Oct 2005 05:27:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ERnkn-0002ev-9t for help-gnu-emacs@gnu.org; Tue, 18 Oct 2005 05:27:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERnkn-0002eb-1q for help-gnu-emacs@gnu.org; Tue, 18 Oct 2005 05:27:29 -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 1ERnkn-0005LP-1j for help-gnu-emacs@gnu.org; Tue, 18 Oct 2005 05:27:29 -0400 Original-Received: from [84.245.189.102] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #317) id 1ERnkk-0001ml-00; Tue, 18 Oct 2005 11:27:26 +0200 In-Reply-To: <13ecef2d0510172334jd0c4e65i7cec30e4fd522811@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:30316 Archived-At: Am 18.10.2005 um 08:34 schrieb Sunil Yeddu: > Warning: no access to tty (Bad file descriptor). > Thus no job control in this shell. > stty: standard input: Invalid argument <<<<<<<<<<< > exit > > Process shell finished This is very familiar for me on Mac OS X. Here it's found that using=20 ttys is not reliable. (setq process-connection-type t) in .emacs=20 'corrects' this. Your problem is that some shell rc file writes something into /dev/tty=20= or such without first checking whether it's allowed or useful. So check=20= the code in your shell's rc file(s), for example make the shell=20 verbosely list what it's doing during its initialisation while working=20= on the rc file(s)! -- Greetings Pete =93One cannot live by television, video games, top ten CDs, and dumb=20 movies alone=94 (Amiri Baraka 1999)