Bug 77266

Summary: Undocumented Session-menu "New..."-shortcuts do not work anymore
Product: [Applications] konsole Reporter: Aapo Rista <kde-bug>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED INTENTIONAL    
Severity: wishlist    
Priority: NOR    
Version: 1.3.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Aapo Rista 2004-03-11 10:16:56 UTC
Version:           1.3.1 (using KDE 3.2.1,  (testing/unstable))
Compiler:          gcc version 3.3.3 (Debian)
OS:          Linux (i686) release 2.4.25-b

Up to KDE 3.1.[23?] (Debian testing/sid) there was a nice undocumented feature in konsole: 

When I added an '&'-sign in the Session name (Settings->Configure Konsole...->Session->Name), I was able to open that session by pressing first Ctrl+Alt+M (opens "Session menu") and then the letter after '&'-sign.

For example, in Konsole, select: Settings->Configure_Konsole...->Session->General:
[Name]: &Remote host
[Execute]: /usr/bin/ssh -X -C mylogin@remotehost.example

Now key sequence Ctrl+Alt+M and then letter 'R' opens a terminal at remotehost.example via SSH. (Or opened before this feature disappeared.)

Would you mind adding above mentioned functionality back (this time with documentation:), please?
Comment 1 Aapo Rista 2004-03-11 12:01:26 UTC
A few rows in konsole (konsole.cpp, konsole_part.cpp, konsolebookmarkmenu.cpp) source contains a command

	.replace('&',"&&")

If you remove this string from the source, the behavior of Session menu turns back what I am looking for.

The solution is not very sophisticated, but works for me. Perhaps something similar could be added in the official konsole?
Comment 2 Stephan Binner 2004-03-11 17:39:00 UTC
The replaces are there for a reason, normal Konsole usage.