unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: M-x shell not working
Date: Tue, 18 Oct 2005 11:27:25 +0200	[thread overview]
Message-ID: <708ac6dccd5c5bcbc601b8ebb3760da0@Web.DE> (raw)
In-Reply-To: <13ecef2d0510172334jd0c4e65i7cec30e4fd522811@mail.gmail.com>


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 
ttys is not reliable. (setq process-connection-type t) in .emacs 
'corrects' this.

Your problem is that some shell rc file writes something into /dev/tty 
or such without first checking whether it's allowed or useful. So check 
the code in your shell's rc file(s), for example make the shell 
verbosely list what it's doing during its initialisation while working 
on the rc file(s)!

--
Greetings

   Pete

“One cannot live by television, video games, top ten CDs, and dumb 
movies alone”
       (Amiri Baraka 1999)

  reply	other threads:[~2005-10-18  9:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-18  6:34 M-x shell not working Sunil Yeddu
2005-10-18  9:27 ` Peter Dyballa [this message]
2005-10-18 11:56   ` Sunil Yeddu
2005-10-18 18:28     ` Kevin Rodgers
2005-10-19  6:36       ` Sunil Yeddu
2005-10-19  9:00         ` Peter Dyballa
2005-10-19 10:43           ` Sunil Yeddu
2005-10-20  9:02           ` Peter Dyballa
     [not found]             ` <13ecef2d0510200309v19be5860g8d85c8ebcfd70585@mail.gmail.com>
2005-10-20 12:02               ` Fwd: " Sunil Yeddu
     [not found]               ` <6172b6c2efe01b4025c9d58fe9624236@Web.DE>
2005-10-20 12:03                 ` Sunil Yeddu
2005-10-20 13:45                   ` Eli Zaretskii
2005-10-21 12:52                     ` Sunil Yeddu
2005-10-25  6:19                       ` Sunil Yeddu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=708ac6dccd5c5bcbc601b8ebb3760da0@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).