[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.50; source of warning in *shell* buffer
From: |
Andreas Schwab |
Subject: |
Re: 23.0.50; source of warning in *shell* buffer |
Date: |
Fri, 19 Oct 2007 14:46:33 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux) |
Peter Dyballa <address@hidden> writes:
> When I invoke M-x shell the new buffer starts with:
>
> Warning: no access to tty (Bad file descriptor).
> Thus no job control in this shell.
>
> Where is the source for these messages?
They are most likely coming from the shell.
> What are the criterions for this warning?
Probably the shell could not open /dev/tty, ie. it has no controlling
terminal. That happens when the process is using pipes instead of ptys.
> Which elements are necessary for job control?
The shell needs to be able to manipulate the process group of the
controlling terminal.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."