Bug 131401

Summary: Wish: save and recall screen and command-line on exit
Product: [Applications] konsole Reporter: Vincent Panel <bugs.kde.org>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: adaptee
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vincent Panel 2006-07-26 17:10:31 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    Mandriva RPMs
OS:                Linux

I wish konsole saved your screen on session exit and show you exactly the same screen on session startup.

Even more interesting, the last input on the command-line should be recalled (even if not executed yet, if it has been executed, it could be recalled too).

For instance, if my session ends while I have typed 'find -nam' on the command-line, I would get the exact same command-line recalled when I reopen my session next time. if my session ends in the middle of a find command like 'find -name "whatever"\n', it could be recalled on my next session (without being executed...).
Comment 1 Kurt Hindenburg 2006-07-27 18:44:43 UTC
Just saw this the other day.... likely what would work...

http://cryopid.berlios.de/
Comment 2 Philip Rodrigues 2006-07-27 20:23:42 UTC
FWIW, You could probably do something similar with 'screen'[1], provided that konsole detached the screen session on logout, and reattached to it on login.


1. http://www.gnu.org/software/screen/
Comment 3 Robert Knight 2006-08-08 06:26:50 UTC
Good idea, I would like this as well.
Comment 4 Vincent Panel 2006-08-08 08:32:25 UTC
Cryopid is a bit too much for this feature : i don't want to suspend anything, just print the screen as I saw it last time. It's just a big "echo" of your terminal characters.

I tried a screen session, but I can't see my screen back when I log on. In the configuration of the "screen session", the only command run is "screen" : are you sure it should reattach to your previous screen session ? Should I add an option or modify my .screenrc ?
Comment 5 David Fraser 2008-06-19 13:13:17 UTC
There is a more advanced form of this request here:
http://bugs.kde.org/show_bug.cgi?id=58868

This should probably be marked a duplicate of that.

For reference, screen --help will tell you that you can reattach with screen -r. screen -ls will show you available sessions, and screen -RR -D or something like that will either create a session if none is available or grab one if there is one available
Comment 6 Jekyll Wu 2011-08-19 14:48:14 UTC

*** This bug has been marked as a duplicate of bug 58868 ***