Re: strange session management stuff
- From: James Henstridge <james daa com au>
- To: James Aylett <dj-gnome insigma com>
- cc: gnome-list gnome org
- Subject: Re: strange session management stuff
- Date: Mon, 5 Jul 1999 23:43:35 +0800 (WST)
Saving the scrollback buffer of gnome-terminal is easy. Getting
gnome-terminal to save the current working directory of a shell is more
difficult, but could be done portably using libgtop (I think -- does it
support finding the CWD?). It would take a lot more work to get SM
support in all console applications though.
It would be nice to support the first two though.
James.
--
Email: james@daa.com.au
WWW: http://www.daa.com.au/~james/
On Mon, 5 Jul 1999, James Aylett wrote:
> On Mon, Jul 05, 1999 at 04:16:41PM +0100, Paul Warren wrote:
>
> > > > It would be nice if Miguel took a lead with session management and made
> > > > gnome-terminal session aware (saving the scrollback buffer and the pwd, for
> > > > example). I think you might also require ssh to be session aware, though?
> > >
> > > that when gnome-terminal itself saved state it could add state for the
> > > program it was running.
> >
> > I suspect that the Right Way to do it is to have gnome-terminal act as a
> > private session-manager for the program it is running (eg. bash), and to
> > make the shells session-aware. Of course this means making the shells
> > dependant on some X libraries (SMlib, ICElib), which in general would be a
> > Bad Thing, I suspect.
>
> I would think that the Right Way can't encompass a Bad Thing :)
> It should be possible without resorting to X-style session management, I'd
> have thought. I'd be very surprised if it were necessary to do that (which
> would be horrid, I agree).
>
> James
>
> --
> /--------------------------------------------------------------------------\
> James Aylett www.zap.uk.eu.org
> james@tartarus.org www.footlights.org
>
>
> --
> FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
> To unsubscribe: mail gnome-list-request@gnome.org with
> "unsubscribe" as the Subject.
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]