From xemacs-m  Wed Jun  4 22:23:29 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id WAA19270
	for <xemacs-beta@xemacs.org>; Wed, 4 Jun 1997 22:23:28 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id FAA22459; Thu, 5 Jun 1997 05:23:28 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: gnuserv bug?
References: <bcivi3toqk8.fsf@corp.Sun.COM> <kigsoyxric7.fsf@jagor.srce.hr>
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 05 Jun 1997 05:23:27 +0200
In-Reply-To: Hrvoje Niksic's message of 05 Jun 1997 02:42:16 +0200
Message-ID: <kign2p5ravk.fsf@jagor.srce.hr>
Lines: 25
X-Mailer: Gnus v5.4.52/XEmacs 20.3(beta3)

Hrvoje Niksic <hniksic@srce.hr> writes:

> So, the "xterm" argument is ignored.  I'll try to trace this.

I have traced it to a problem with interaction of devices and
consoles.

The problem is that when you try create a TTY device, a console is
also created.  However, when the creation of device fails for some
reason, the console is not deleted.

Now we are left with a device-less console -- and a problematic one,
at that.  Now every time we try to create a device at that TTY,
XEmacs cleverly tries to reuse the same console -- and fails, for the
same reason.

I believe the correct thing would be for `make-device' to remember
whether it created the console, and to make sure that if there is an
error, to remove the console.  The task of coding this exceeds my
knowledge of the XEmacs internals.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Speak softly and carry a +6 two-handed sword.

