You are here

Alternative KiTTY portable

8 posts / 0 new
Last post
l.capriotti
Offline
Last seen: 5 years 5 months ago
Joined: 2011-01-05 11:10
Alternative KiTTY portable

I have packaged an alternative version of Portable KiTTY adopting the same approach used by Portable PuTTY ie using the registry instead of KiTTY's savedir.
My purpose is to avoid generating session files with special characters as they are not synced by OneDrive Shock

I modified AppInfo/Launcher/KiTTYPortable.ini (https://pastebin.com/QHi2BccC) as well as DefaultData/kitty.ini (https://pastebin.com/fhyK0XXs) and placed kitty.exe in the App/kitty directory.

Feel free to incorporate any of the above.

L

Drazick
Offline
Last seen: 1 day 8 hours ago
Joined: 2010-09-06 06:36
OneDrive

Could you tell more about what kind of files OneDrive doesn't sync?

Thank You.

depp.jones
Offline
Last seen: 5 hours 20 min ago
DeveloperTranslator
Joined: 2010-06-05 17:19
I'll have a look at that,

I'll have a look at that, when I find some time. Maybe you could leave Cyd (the dev of the base app) a note for the special charakters. Perhaps he could avoid them being created somehow.
I prefer a specific data directory over moving registry keys around as its much more robust.

l.capriotti
Offline
Last seen: 5 years 5 months ago
Joined: 2011-01-05 11:10
@Drazick: OneDrive does not

@Drazick: OneDrive does not support % (among others) and the sessions files names contain %20 when there are spaces in the session names.
@depp.jones: I agree the savedir approach would be ideal, this is a quick fix taking advantage of the backward compatibility with putty.

depp.jones
Offline
Last seen: 5 hours 20 min ago
DeveloperTranslator
Joined: 2010-06-05 17:19
Is there another character on

Is there another character on the list, that is created by KiTTY appart from % in %20? The latter could be easily avoided by not using spaces in sessions names. Maybe Cyd could add a switch for avoiding these characters. Feel free to ask on their forum.

Drazick
Offline
Last seen: 1 day 8 hours ago
Joined: 2010-09-06 06:36
OneDrive Files

IS there a list of files names it doesn't support?

Thank You.

depp.jones
Offline
Last seen: 5 hours 20 min ago
DeveloperTranslator
Joined: 2010-06-05 17:19
"list" in my previous post is

"list" in my previous post is linked to https://support.office.com/en-us/article/Invalid-characters-in-file-or-f...
The dark red is not the most obvious color for that. Wink
Does anybody remember the times when links where underlined by default?

John T. Haller
John T. Haller's picture
Online
Last seen: 32 min 13 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Only OneDrive for Business on SharePoint Server 2013

For clarification, OneDrive works fine with percent symbols in characters except for one specific circumstance. If you're using OneDrive for Business on SharePoint Server 2013, you have a big list of characters that it considers "invalid":

~ " # % & * : < > ? / \ { | }.

If running OneDrive for Business on Office 365, SharePoint Online, and SharePoint Server 2016, the list of "invalid" characters is somewhat more reasonable and basically overlaps with what Windows considers invalid in filenames:

" * : < > ? / \ |

Source: https://support.office.com/en-us/article/Invalid-characters-in-file-or-f...

If this was a widespread issue with OneDrive itself, I was going to suggest we come up with a universal solution for all apps, but as this is rather niche, I don't think this will be necessary. I may check if it's possible for the platform to determine if it's running on a OneDrive instance connected to SharePoint 2013 to warn the user since that large set of invalid characters will break quite a few apps.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments