Bug 77266 - Undocumented Session-menu "New..."-shortcuts do not work anymore
Summary: Undocumented Session-menu "New..."-shortcuts do not work anymore
Status: RESOLVED INTENTIONAL
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.3.1
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-11 10:16 UTC by Aapo Rista
Modified: 2004-03-11 17:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.