Newsgroups: fj.editor.emacs
Path: galaxy.trc.rwcp.or.jp!jaist-news!cs.titech!wnoc-tyo-news!sh.wide!tsbgw!tiswd-gw!tis2!ssel!sel4!nori
From: nori@ssel.toshiba.co.jp (Koyama Noriaki)
Subject: Re: problem : Process shell stopped ?
Organization: TOSHIBA Systems and Software Engineering Laboratory, Japan.
Distribution: fj
Date: Wed, 29 Sep 1993 08:15:23 GMT
Message-ID: <NORI.93Sep29171523@titi.ssel.toshiba.co.jp>
In-Reply-To: minamino@sra.co.jp's message of 28 Sep 1993 12: 46:00 GMT
References: <NORI.93Sep28173040@koko.ssel.toshiba.co.jp>
	<MINAMINO.93Sep28214600@sras48.sra.co.jp>
Sender: news@ssel.toshiba.co.jp
Nntp-Posting-Host: titi
Lines: 42
Xref: galaxy.trc.rwcp.or.jp fj.editor.emacs:4069
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.editor.emacs&nb=4069&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$B>.;3(B@$BEl<G$G$9!#(B

   On 28 Sep 1993 12:46:00 GMT, 
   `|' = Hisashi MINAMINO $B$5$s$N=q$$$?J8>O$+$i!D(B:

nori> NEmacs 3.3.2 (takana $BHG(B)$B$r(B make $B$7$?$N$G$9$,!"F0:nITL@$JE@$,(B
nori> $B$G$F$7$^$C$?$N$G!"65$($F2<$5$$!#(B
|> $B%Y!<%9$H$J$k(B emacs $B$O!"%P!<%8%g%s$$$/$i$G$9$+!)(B
|> emacs-18.58 $B$J$i!"(BEMACS/src/process.c $B$K(B, setpgrp(0,0) $B$9$kIt(B
|> $BJ,$,H4$1$F$$$^$9$N$G!"(Bprocess.c $B$r(B emacs-18.59 $B$N(B process.c $B$r(B
|> $B;29M$K=$@5$9$k$HD>$k$H;W$$$^$9!#(B

$B$3$N7o$K$D$$$F!"(Bminamino$B$5$s$r$O$8$a!"?tL>$NJ}$+$i>pJs$r$$$?$@$-$^$7$?!#(B

$B$*$C$7$c$kDL$j!"(BEmacs-18.59(Mule1.0) $B$H$N(B diff $B$r$H$j0J2<$N$h$&$J(B
patch $B$r$"$F$^$7$?!#(B
$B$I$&$b$"$j$,$H$&$4$6$$$^$7$?!#(B

*** process.c.org    Wed Apr 25 16:36:27 1990
--- process.c   Sat Oct 26 16:35:44 1991
***************
*** 1071,1078 ****
--- 1623,1641 ----
      int j = open ("/dev/tty", O_RDWR, 0);
      ioctl (j, TIOCNOTTY, 0);
      close (j);
+ #ifndef USG
+     /* In order to get a controlling terminal on some versions
+        of BSD, it is necessary to put the process in pgrp 0
+        before it opens the terminal.  */
+     setpgrp (0, 0);
+ #endif
    }
  #endif /* TIOCNOTTY */

--
   ,,             +------------------------+
  ^ @                  $B3t<02q<R(B $BEl<G(B       |
 <$B!A(B )  ww               $B>.;3(B $BFA>O(B         |
  / $B%l(B^~^^~$B%X(B   o  nori@ssel.toshiba.co.jp |
$B!J(B    ,   ,  ) /|    TEL. 044-548-5480     /
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
