🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98791

Use of pty's from emacs

#98791
From: Rob McMahon
Date: Wed, 27 Feb 1991 15:14
37 lines
2320 bytes
Emacs seems to be very pty-hungry.  On all our systems pty's are a scarce
resource, compared to pipes, but only xscheme.el seems to bother to set
process-connection-type to nil.  Here is a change to server.el, but I suspect
similar changes need to be made to cmacexp.el, mh-e.el, time.el, and maybe
compile.el and makeinfo.el.  In fact maybe the default should be nil, and
interactive utilities like shell.el and terminal.el should set it explicitly
to `t' ?

Comments ?

*** /usr/local/lib/gnu/emacs/lisp/server.el	Wed Feb 27 14:52:07 1991
--- /usr/local/lib/gnu/emacs/lisp/server.el~	Wed Jan  9 22:04:12 1991
***************
*** 118,125 ****
        nil
      (if server-process
  	(server-log (message "Restarting server")))
!     (let ((process-connection-type nil))
!       (setq server-process (start-process "server" nil server-program)))
      (set-process-sentinel server-process 'server-sentinel)
      (set-process-filter server-process 'server-process-filter)
      (process-kill-without-query server-process)))
--- 118,124 ----
        nil
      (if server-process
  	(server-log (message "Restarting server")))
!     (setq server-process (start-process "server" nil server-program))
      (set-process-sentinel server-process 'server-sentinel)
      (set-process-filter server-process 'server-process-filter)
      (process-kill-without-query server-process)))


Rob
-- 
UUCP:   ...!mcsun!ukc!warwick!cudcv	PHONE:  +44 203 523037
JANET:  cudcv@uk.ac.warwick             INET:   cudcv@warwick.ac.uk
Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England
Technical Details
Message-ID: <QQ'&_?^@warwick.ac.uk>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,e5805e0b83af40c4,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-02-28 03:53:00 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!spool.mu.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: cudcv@cu.warwick.ac.uk (Rob McMahon)
Newsgroups: gnu.emacs.bug
Subject: Use of pty's from emacs
Message-ID: <QQ'&_?^@warwick.ac.uk>
Date: 27 Feb 91 15:14:22 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: Computing Services, Warwick University, UK
Lines: 37
Approved: bug-gnu-emacs@prep.ai.mit.edu