From xemacs-m  Wed Feb 12 21:12:02 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 VAA21855
	for <xemacs-beta@xemacs.org>; Wed, 12 Feb 1997 21:12:01 -0600 (CST)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id EAA08601; Thu, 13 Feb 1997 04:11:59 +0100 (MET)
Sender: hniksic@public.srce.hr
To: xemacs-beta@xemacs.org
Subject: Re: fixing gnuattach
References: <yvt7mkdef0r.fsf@corona.pixar.com> <kigbu9pfrin.fsf@jagor.srce.hr> <yvt67zxe828.fsf@corona.pixar.com>
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Attribution: Hrv
X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nAEL1M(".[qvI#a2E
 6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/XvhAu7qeES0\|MF%$;sI#yn1+y"
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 13 Feb 1997 04:11:57 +0100
In-Reply-To: Hunter Kelly's message of 12 Feb 1997 18:47:11 -0800
Message-ID: <kigu3nhe6wy.fsf@jagor.srce.hr>
Lines: 40
X-Mailer: Gnus v5.4.12/XEmacs 19.14

Hunter Kelly <retnuh@corona.pixar.com> writes:

> > `suspend-or-iconify-emacs', which should check whether to call
> > `iconify-emacs' (if the current frame is on a window system),
> > `suspend-emacs' (if the current frame is a tty frame controled by an
> > Emacs process), or `suspend-controling-process' (if the current frame
> > is a tty frame controlled by an external process).
> Okay.  I am going to start implementing this, and send in a big ol'
> patch soon.

Great!

> > in frame-tty.c, and the resulting behaviour was astonishinglyu close
> > to what we want to have.  E.g. the multiple-frame stuff practically
> > worked, only you had to press C-l after `C-x 5 o', etc.
> 
> So the concept of multiple frames on a tty is that frames are
> essentially containers for different window configurations?  Hmmm, I
> think that I like that.  I'll have a go at that, too...

Currently, yes.  On an advanced tty, one could envision other things
changing, like font size or visual bell, but it is of lesser
importance.  Furthermore, if you use shell or term buffers, `C-x 5 o'
can replace screen(1).  Emacs is in your shoes, too((C)jwz).

Here's the way GNU Emacs 19.34 implements this (only Emacs is lame --
it doesn't have devices. bah!).  You are in one frame.  You press
`C-x 5 2', and the second frame is created, and automatically selected
(this makes sense only on tty-s, not in X).  Pressing `C-x 5 o' does
what you'd expect, as well as `C-x 5 0'.

As an additional nicety, the `Emacs' string in mode-line is changed to
`Emacs-2' in the second frame, `Emacs-3' in the third frame, etc...

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
WWW:          World-Wide-Waste.  Waste management corporation, which
              handles the billions of tons of garbage generated by just
              about everybody these days.

