Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 195008 Details for
Bug 274526
[kde3, PATCH] Terminal Sessions applet does not handle SSH ports
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Extract port from SSH URL and add to arguments
konsole_ssh_bookmark.patch (text/plain), 900 bytes, created by
Chris Bandy
on 2009-06-17 15:53:24 UTC
(
hide
)
Description:
Extract port from SSH URL and add to arguments
Filename:
MIME Type:
Creator:
Chris Bandy
Created:
2009-06-17 15:53:24 UTC
Size:
900 bytes
patch
obsolete
>--- kdebase-3.5.7/kicker/menuext/konsole/konsole_mnu.cpp.orig 2006-03-17 04:17:31.000000000 -0600 >+++ kdebase-3.5.7/kicker/menuext/konsole/konsole_mnu.cpp 2007-11-30 18:15:36.000000000 -0600 >@@ -299,12 +299,19 @@ void KonsoleMenu::newSession(const QStri > { > QString protocol = url.protocol(); > QString host = url.host(); >+ bool isSSH = (protocol == "ssh"); > args << "-T" << title; > args << "-e" << protocol.latin1(); /* argv[0] == command to run. */ >+ if (url.port() && isSSH) { >+ args << "-p" << QCString().setNum(url.port()); >+ } > if (url.hasUser()) { > args << "-l" << url.user().latin1(); > } > args << host.latin1(); >+ if (url.port() && !isSSH) { >+ args << QCString().setNum(url.port()); >+ } > KApplication::kdeinitExec("konsole", args); > return; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 274526
: 195008