Git Product home page Git Product logo

Comments (6)

realh avatar realh commented on July 28, 2024

Some related info:

Bug 402365 – Save terminal scrollback with session
https://bugzilla.gnome.org/show_bug.cgi?id=402365

Bug 402367 – Crash (or power failure) recovery
https://bugzilla.gnome.org/show_bug.cgi?id=402367

And on the related topic of 'screen' integration:
Bug 332148 – Support for GNU screen
https://bugzilla.gnome.org/show_bug.cgi?id=332148

equivalent KDE bug
http://bugs.kde.org/show_bug.cgi?id=58868

http://live.gnome.org/GnomeTerminal/ScreenIntegration

http://monia.wordpress.com/2006/08/31/integrating-gnome-terminal-and-screen/
(Includes (outdated) patches for gnome-terminal to implement this.)

Original comment by: tmetro

from roxterm.

realh avatar realh commented on July 28, 2024

OK, I've finally got around to making it support X session management as a client. It was even harder than I thought! And I'm not sure that the window manager (at least xfwm4) is able to identify the windows correctly to get them on the correct workspace etc, but documentation on that is very sparse.

I haven't got it to save the scrollback buffer, I think that's going too far. Restoring the contents would probably clash with the new output from rerunning the command, and there could be confusion with what appears to be the last few commands not being consistent with the shell's history buffer.

Original comment by: realh

from roxterm.

realh avatar realh commented on July 28, 2024

OK, I've finally got around to making it support X session management as a client. It was even harder than I thought! And I'm not sure that the window manager (at least xfwm4) is able to identify the windows correctly to get them on the correct workspace etc, but documentation on that is very sparse.

I haven't got it to save the scrollback buffer, I think that's going too far. Restoring the contents would probably clash with the new output from rerunning the command, and there could be confusion with what appears to be the last few commands not being consistent with the shell's history buffer.

Original comment by: realh

from roxterm.

realh avatar realh commented on July 28, 2024

That completely failed to work because I misunderstood the crappy SMlib documentation. As of r710 it uses correct property names so the sessions are restored (and pruned). There still seems to be a problem getting windows on the right workspace though.

Original comment by: realh

from roxterm.

realh avatar realh commented on July 28, 2024

OK, I've finally got around to making it support X session management...

Fantastic!

It was even harder than I thought!

I'm glad you stuck with it.

And I'm not sure that the window manager (at least xfwm4)
is able to identify the windows correctly...

Have you tested it with GNOME?

Can you write up a simple test case showing the steps to enable session management and what I should expect to see, and I'll give it a spin under GNOME and report back.

I haven't got it to save the scrollback buffer, I think that's going too
far.

I can see a case for that argument, especially seeing as you are investigating screen integration as well, so I wouldn't worry about it. Besides, take baby steps. What you've described so far is plenty for now.

Original comment by: tmetro

from roxterm.

realh avatar realh commented on July 28, 2024

I use GNOME but with xfwm4 instead of metacity. I think it was roxterm's fault, not the session manager or wm, because gnome-terminal was getting the right workspace. But it's OK now, the first change I thought of to try today seems to have fixed it :-).

Original comment by: realh

from roxterm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.