From owner-ports-jp@jp.freebsd.org  Thu Oct  8 21:00:17 1998
Received: (from daemon@localhost)
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) id VAA03388;
	Thu, 8 Oct 1998 21:00:17 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from ns11.rim.or.jp (root@ns11.rim.or.jp [202.247.130.230])
	by jaz.jp.freebsd.org (8.9.1+3.1W/8.7.3) with ESMTP id VAA03381
	for <ports-jp@jp.freebsd.org>; Thu, 8 Oct 1998 21:00:15 +0900 (JST)
	(envelope-from motoyuki@snipe.rim.or.jp)
Received: from rayearth.rim.or.jp (rayearth.rim.or.jp [202.247.130.242]) by ns11.rim.or.jp (8.8.5/3.5Wpl2-ns11/RIMNET-2) with ESMTP
	id VAA07123 for <ports-jp@jp.freebsd.org>; Thu, 8 Oct 1998 21:00:15 +0900 (JST)
Received: (from uucp@localhost) by rayearth.rim.or.jp (8.8.5/3.5Wpl2-uucp1/RIMNET) with UUCP
	id VAA11361 for ports-jp@jp.freebsd.org; Thu, 8 Oct 1998 21:00:14 +0900 (JST)
Received: from eddie.snipe.rim.or.jp (eddie.snipe.rim.or.jp [192.168.11.1]) by mserver.snipe.rim.or.jp (8.8.8/3.6W) with ESMTP
	id UAA04435 for <ports-jp@jp.freebsd.org>; Thu, 8 Oct 1998 20:59:11 +0900 (JST)
Received: from eddie.snipe.rim.or.jp (localhost.snipe.rim.or.jp [127.0.0.1]) by eddie.snipe.rim.or.jp (8.8.8/3.6W) with ESMTP
	id UAA17852 for <ports-jp@jp.freebsd.org>; Thu, 8 Oct 1998 20:59:11 +0900 (JST)
Message-Id: <199810081159.UAA17852@eddie.snipe.rim.or.jp>
To: ports-jp@jp.freebsd.org
X-Mailer: mh-e on Mule 2.3 / Emacs 19.34.1
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
References: <199810071923.EAA27411@mserver.snipe.rim.or.jp> 
	<19981008101502R.taoka@infonets.hiroshima-u.ac.jp> 
In-reply-to: Message from taoka@infonets.hiroshima-u.ac.jp of
	<19981008101502R.taoka@infonets.hiroshima-u.ac.jp> 
Date: Thu, 08 Oct 1998 20:59:10 +0900
From: Motoyuki Konno <motoyuki@snipe.rim.or.jp>
Reply-To: ports-jp@jp.freebsd.org
Precedence: bulk
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+980914
X-Sequence: ports-jp 4734
Subject: [ports-jp 4734] emacsclient bug? (Re: mule-wnn6 (a.out) package for 3.0-current)
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org

  $B:#Ln$G$9!#(B

TAOKA Satoshi <taoka@infonets.hiroshima-u.ac.jp> wrote:
> % emacsclient ~/hoge
> emacsclient: can't find socket; have you started the server?
> 
> $B$H$$$$$^$9!#EvA3!"(Bmule$B$G(Bserver-start$B$O$7$F$$$^$9!#$G!"(B/tmp$B$r8+$k$H!"(B
> 
> esrv3302-hoge.infonets.hiroshima-u.ac.jp?????????
> 
> $B$,$G$-$F$^$7$?!#K\Mh$O(B
> 
> esrv3302-hoge.infonets.hiroshima-u.ac.jp
> 
> $B$G!":G8e$N!V(B?????????$B!W$,M>7W$G$9!#(B

  $B860x$,$o$+$C$?$h$&$J5$$,$7$^$9!#(B

  emacs-19.34/lib-src/emacsclient.c, emacsserver.c $B$G0J2<$N$h$&(B
$B$J%3!<%I$,$"$j$^$9!#(B

----------------------------------------
  char system_name[32];

  ($BCfN,(B)

    gethostname (system_name, sizeof (system_name));
    sprintf (server.sun_path, "/tmp/esrv%d-%s", geteuid (), system_name);
----------------------------------------

  $BDL>o(B gethostname $B$O%[%9%HL>$rJV$7$^$9!#$H$3$m$,(B

gethostname(3) $B$h$j(B
> The returned name is null-terminated unless in-
> sufficient space is provided.

$B$J$N$G(B hostname $B$NJ8;zNs$,D9$$>l9g!"(B gethostname $B$O(B null-
terminated $B$JJ8;zNs$rJV$7$^$;$s!#$7$?$,$C$F!"$=$N;~$N%a%b%j$N>u(B
$BBV$K$h$C$F$I$&$$$&J8;zNs$,La$C$F$/$k$+ITDj$K$J$j$^$9!#(B

$B!t(B  $B$=$l$G(B esrv3302-hoge.infonets.hiroshima-u.ac.jp????????? $B$H(B
$B!t$$$&%U%!%$%kL>$K$J$k$N$G$7$g$&!#(B


  $B$3$NItJ,$N%3!<%I$O!"(B Emacs 19.28, Emacs 19.34, Emacs 20.3 $B$GJQ(B
$B$o$C$F$$$J$$$h$&$G$9!#(B XEmacs 20.3 $B$G$O(B emacsclient.c $B$H(B
emacsserver.c $B$O;H$o$l$F$$$J$$$h$&$G$9!#LdBj$O$$$^$^$G$N(B mule $B$G(B
$B$J$<J?5$$@$C$?$+$J$s$G$9$,!)(B  

  $B$3$NItJ,$r=$@5$9$k%Q%C%A$r:n@.$7$F:#Lk$K$G$b%P%$%J%j$r:n@.$7$?(B
$B$$$H;W$$$^$9!#(B XEmacs $B$r=|$/(B emacs $B%U%!%_%j$KB?J,6&DL$7$F5/$3$k(B
$B$H;W$&$N$G!"$=$l$>$l$K$D$$$F%Q%C%A$r:n@.$7$F(B send-pr $B$+$J$!!#(B

---
------------------------------------------------------------------------
$B:#Ln(B  $B85G7!w;3M|0e2JBg3X(B      mkonno@res.yamanashi-med.ac.jp    (Univ)
                              motoyuki@snipe.rim.or.jp          (Home)
                              http://www.freebsd.org/~motoyuki/ (Web)
