From xemacs-m  Tue Mar 11 18:21:08 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id SAA27248
	for <xemacs-beta@xemacs.org>; Tue, 11 Mar 1997 18:21:04 -0600 (CST)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id QAA10747;
	Tue, 11 Mar 1997 16:33:05 -0800
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: gnuattach          (was: Re: b98 solution to failure)
References: <199703112111.QAA02546@verve.canada.sun.com> 	<kigk9nektoc.fsf@jagor.srce.hr> <QQcglr00653.199703112150@crystal.WonderWorks.COM>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Kyle Jones's message of Tue, 11 Mar 1997 16:50:45 -0500 (EST)
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
Date: 11 Mar 1997 16:33:03 -0800
Message-ID: <m2zpwakkzk.fsf@altair.xemacs.org>
Lines: 43
X-Mailer: Gnus v5.4.25/XEmacs 20.1

Kyle Jones writes:

> Speaking of gnuattach, I have a bad expreience with it the last
> itme I used it.  From an xterm I attached to a running XEmacs, I
> used the editor for a time and then typed C-z.

I observed something similar when I just tried it.  The effect isn't
so drastic when starting XEmacs from an olvwm menu, but it still
stopped the shell/xterm the gnuattach was started from.

> XEmacs really needs to do something about process groups so that
> this bad thing doesn't happen.

Yup.

More gnuattach problems that I noticed:
C-x # only works in the first buffer presented to gnuattach.  Any
other buffer, including those newly created in the tty frame beep an
error message when I tried to kill them.

Typing gnuattach with no files puts up the *scratch* buffer.  Typing
C-x # from the X frame of the running XEmacs in the *scratch* buffer
terminates the XEmacs process without terminating the gnuserv process.

I don't think restoring the tty modes works yet.

Not sure this is a bug:
$ xemacs -q
$ M-x gnuserv-start
 ...
$ gnuattach
C-x C-f .emacs
C-x b *scratch*
C-x #

The .emacs buffer replaces *scratch* in the X frame.

I'm willing to concede much of the oddness in gnuattach relates to the
fact that the simultaneous X11/tty code in XEmacs isn't particularly
robust yet.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

