[Konsole-devel] [Bug 184964] Konsole crash taking down ALL Konsole instances

Robert Knight robertknight at gmail.com
Tue Jun 9 20:20:09 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=184964





--- Comment #14 from Robert Knight <robertknight gmail com>  2009-06-09 22:20:01 ---
> Also, why does this help at all? With shared libraries,
> multiple processes shouldn't take up any significant RAM...

It saves a little memory - but not much given the amount used by Konsole
per-tab for things like scrollback.  More usefully, it saves application
initialization time.

> Can we get the same from Konsole?

Not properly.  In a browser, given a URL and cookies you can often get back
most of the previous state of a web page.  In the terminal you would need (1)
the output, (2) basic properties of the process such as command and current
directory and (3) the state of the terminal program.  (2) is quite easy, (1) is
do-able, although it might impose an unwanted performance hit for something not
used very often and (3) is not supported by the current terminal model.  

However - although Konsole itself is obviously limited it what it can do, it
makes a lot of sense to write scripts, aliases and setup Konsole profiles to
help you get the terminal to a particular state quickly - even if like me you
expect the terminal to be stable. 

I will mention as a tip that if you do need to start a new Konsole process for
some reason - run it from a terminal and it will automatically use a new
process. I don't mind adding a command-line argument for that as well.

The comparison with browsers is I think unfair on the browsers - they have to
cope with much more complicated content consisting of JavaScript, images,
audio, video, a complex document structure and layout and rendering system and
of course the cause of a large number of browser crashes - binary plugins like
Flash - which also have to cope with pretty complicated content themselves. 
Plus the whole environment is evolving very quickly.  Vim today is not that
much more demanding than it was 10 years ago.  Modern web applications are a
world away from

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list