unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs: Warning: no access to tty (Bad file descriptor).
@ 2003-09-18 17:04 Kin Cho
  2003-09-18 19:50 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Kin Cho @ 2003-09-18 17:04 UTC (permalink / raw)


Hi,

On this version of NetBSD:
NetBSD foobar 1.6_BETA2 NetBSD 1.6_BETA2 (GENERIC) #0: Thu Jun 13 22:44:18 UTC 2002     autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC i386

I'm running this version of Emacs (with -q):

GNU Emacs 21.2.1 (i386-unknown-netbsdelf1.6., X toolkit) of 2002-08-30 on foobar

Doing M-x shell gives this:

Warning: no access to tty (Bad file descriptor).
Thus no job control in this shell.
% 

>From this shell, if I do:
ssh root@foobar

I get:
Pseudo-terminal will not be allocated because stdin is not a terminal.

and there is no prompt from the ssh process (although ssh does
work ok).

Any idea how to fix the Bad file descriptor problem?

Thanks.

-kin

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs: Warning: no access to tty (Bad file descriptor).
  2003-09-18 17:04 emacs: Warning: no access to tty (Bad file descriptor) Kin Cho
@ 2003-09-18 19:50 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2003-09-18 19:50 UTC (permalink / raw)


> Warning: no access to tty (Bad file descriptor).
> Thus no job control in this shell.

Looks like your process-connection-type is set to nil for some reason,
or that Emacs somehow fails to get a tty and reverts to using
a pipe instead.  As for how...


        Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-18 19:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-18 17:04 emacs: Warning: no access to tty (Bad file descriptor) Kin Cho
2003-09-18 19:50 ` Stefan Monnier

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).