Closed coneybeare closed 12 years ago
Forgot to attach the screenshot:
Released in the latest version (1.4.0). Thanks so much!
Can I get a little credit on this page? http://chetansurpur.com/projects/sidestep/
Of course! Sorry I forgot to update it earlier. It's up now: http://chetansurpur.com/projects/sidestep/
Well, can everyone get credit ;) ?
= Diogo Gomes http://about.me/dgomes
On 21/11/2012, at 05:17, Chetan Surpur notifications@github.com wrote:
Of course! Sorry I forgot to update it earlier. It's up now: http://chetansurpur.com/projects/sidestep/
— Reply to this email directly or view it on GitHub.
There, just added everyone I could think of: http://chetansurpur.com/projects/sidestep/
Thanks :)
= Diogo Gomes http://about.me/dgomes
On 22/11/2012, at 01:22, Chetan Surpur notifications@github.com wrote:
There, just added everyone I could think of: http://chetansurpur.com/projects/sidestep/
— Reply to this email directly or view it on GitHub.
As discussed in #52, I have added an "Advanced" tab to the preference panel. Currently, the advanced tab has two features:
Additional SSH Arguments The Additional SSH Arguments field is simply a string that gets split by whitespace and appended to the
NSTask
s arguments. The field is hooks up theAppController
as a delegate, so realtime edits are instantly reflected in the SSH Command Preview field, discussed further below. The string has checks for length, and the resulting component array has a check for count to protect it. Obviously, anything entered here has the ability to run on the system, so perhaps in the future, certain protective measures could be added such as removing anything after a semi-colon. I am not sure why anybody would want to hack their own system, but it would be a good idea to protect it anyway.SSH Command Preview I pulled out the
NSTask
creation from the SSHConnector into a helper method. The SSH Command Preview box uses this method to generate an NSTask identical to what would be called on "Connect", then outputs it's launch path and args to create this string. All Textfield in preferences and also the compression checkbox are hooked up to regenerate this preview string when done editing, and the Additional SSH Arguments field live updates it because it lives on the same view. It is selectable for power users who may want to copy/paste the command themselves into terminal.