🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98794

Problems w/ptys on SYSVr3 VAX

#98794
From: Paul B Hart
Date: Thu, 28 Feb 1991 18:24
29 lines
1748 bytes
I am trying to install GNU emacs 18.57 on a VAX running USG5-3.
In addition we have TCP/IP extent. (i.e. sockets and ptys).
I added 
#define HAVE_PTYS
#define SYSV_PTYS
#define HAVE_SOCKETS
to the config.h file

The problem is that when create_process() is run its call to
allocate_pty() fails to find a single available pty to open.
Since setpgrp() is called the child process created will not
have a controlling tty.
The error returned from the open on the pty depends on whether you
are root or not. If you are root every open returns a 5. [EIO]
As a normal user it will return a 5 on the first attempt, and
a 13 [EACCESS] on all other ptys.  The directory name and file
name supplied to the open is correct.

This means when I type m-x shell, the shell has no controlling tty
and thus the UNIX command ps returns an erro
"can not find controlling terminal".

I think this is also causing some other problems.

Has anyone compiled or used GNU emacs on a VAX running USG5-3 or
have any explaination of a possible solution

Paul Hart
phart@photon.tamu.edu
Technical Details
Message-ID: <12818@helios.TAMU.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!sun-barr!apple!agate!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,8e59f29ff60bdc14,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-03-01 05:12:45 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!sun-barr!apple!agate!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage
From: phart@cs.tamu.edu (Paul B Hart)
Newsgroups: gnu.emacs.bug
Subject: Problems w/ptys on SYSVr3 VAX
Message-ID: <12818@helios.TAMU.EDU>
Date: 28 Feb 91 18:24:51 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: Computer Science Department, Texas A&M University
Lines: 29
Approved: bug-gnu-emacs@prep.ai.mit.edu