telnet: handler in konqueror

Thiago Macieira thiago at kde.org
Wed Mar 15 14:51:24 GMT 2006


Kevin Krammer wrote:
>On Wednesday 15 March 2006 12:00, Thiago Macieira wrote:
>> Aamer Akhter wrote:
>> >(please copy me directly, as I am not subscribed to the alias)
>> >
>> >Hello,
>> >
>> >I'm using konqueror and trying to use the telnet: URL handler to
>> >launch telnte via xterm but konqueror is using Konsole. Is there a
>> > way to make xterm the default handler?
>>
>> No.
>>
>> ktelnetservice hardcodes "konsole". It should be modified to use the
>> default KDE terminal emulator component.
>
>As a workaround, wouldn't it be possible to write a script like this?
>
>#!/bin/sh
>cd $1
>xterm
>
>and use it in a telnet.protocol file like this
>
>
>[Protocol]
>exec=xtermservice %f

I would not try to experiment what KIO does when it sees an %f for a 
telnet:// URL. In theory, it should *download* the URL and pass the 
filename to the service.

Which doesn't make sense.

No, the proper solution is to fix ktelnetservice. As a workaround, you can 
write your own ktelnetservice replacement, but you need to use %u.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

5. Swa he géanhwearf tó timbran, and hwonne he cóm, lá! Unix cwæð "Hello, 
World". Ǽfre ǽghwilc wæs glæd and seo woruld wæs fréo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20060315/ac55a82d/attachment.sig>


More information about the kfm-devel mailing list