New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WinScp connection type #59
Comments
2 problems we facing:
|
ConEmu does this - it can embed any GUI into its frame. |
Here is how it looks like in ConEmu as a split. This is also unmodified kitty, in a tab: It wouldn't work immediately by just calling kitty as it will open settings editor and console will not catch it. I also tried with a saved session and used command I see in your kitty_PRM commit that you had to find last hwnd, which can probably be avoided by starting it, waiting for the class and obtaining its hwnd, then changing its parent using Windows API.
Thats why it is in Limbo milestone, at this point I just recorded it as idea and to have historic reference in case somebody else is interested. Not sure why you think its not OK ? Why is this ANY different then embedding kitty ? Are you concerned about the size of the final product ? I |
yes I wanna keep the tool tiny and simple, in my early design PRM was just a launcher, it will work with rdprunner.exe/putty.exe/sftp.exe/e.t. And putty was never been modified at that time. But I finally find it difficuly to handle RDP toggle between fullscreen and window, PuTTY always meeting UX problems in this mode.Then RDP become a Native component of PRM and KiTTY was rebased. Now I still hope to be able to keep this mode of integrating external apps.The more apps we integration, the less code for us to maintain, only if we can fix UX problems. BTW you can run KiTTY without opening editor with
|
We could also offer 2 versions - one with tools, other without them. Not sure if its worth it the hessle.
That is similar to
Not only that, but security will be better (as you can keep tools up to date no matter what is in PRM), and that way it allows for potential cross platform (you can't really pack binaries for each system...). |
Today I managed combine PRM with original latest kitty_portable.exe, I create a new thread to watch KiTTY, when KiTTY gets focus I make Tab window to top by
|
Great work :) |
https://github.com/VShawn/PRemoteM/issues/59#issuecomment-760766929 Signed-off-by: Shawn <singlex@foxmail.com>
cant get the handle of winscp.
|
Have you seen this page ? Maybe you could try with |
isn't |
OK. Will check it out |
Awesome mate. |
Do you have any plans on bundling it or using the system one ? |
Not now, I‘d like to bundle it after we port to .Net5 (or after a refactoring). |
You talk about winscp right ? Not .net itself ? If so, how do you find winscp ? On PATH or via config or ... ? |
sorry I misunderstood
using the path |
FYI, that path wont work on x32 bit windows, and wont work if user customized folders. I would use the following approach instead:
The above approach will make it work always. |
With a permanent timerThere are still many things.You know Winscp first opens the launcher and then the main interface. So I using a timer to detect the main form ( Without a permanent timerAfter that, I changed my mind and detect the main window only within 5s after WinSCP opening. Everything works great with my LAN ftp, but this must ensure:
We cannot guarantee these. And if user gives a wrong password, WinSCP return a password dialog, main interface of winscp will come after this dialog: But without a permanent timer we can never get the handle of winscp main interface 5 seconds later after process start. The above experiences are quite unsatisfactory. This does not consider other APPs. If an app keeps updating its main window, we will be unable to do anything about it. |
https://github.com/VShawn/PRemoteM/issues/59#issuecomment-760766929 Signed-off-by: Shawn <singlex@foxmail.com>
We could have WinScp type of connection, the same way we use kitty.
WinScp is stable, automatable and awesome, and it has some unique features, such as real time copy of changed local files to remote.
/cc @VShawn
The text was updated successfully, but these errors were encountered: