kingToolbox / kingToolbox/WindTerm

Open new session in the same window triggered by an external command

Open
#1,657 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
32.3k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

When you use WindTerm as an "external ssh terminal client" (e.g. simply speaking, a replacement for `putty`) it seems impossible to maintain the same window as well as automatically log in by passing special params to the `.exe` file.

Current behaviour:
For example, when using WinSCP + putty on Windows, you usually execute the command `%PROGRAMFILES%\PuTTY\putty.exe` and pass the required ssh login params. Then clicking "Open Terminal" - opens a new terminal and automatically logs in. However, if you do the same with WindTerm it will open a new window\instance instead of a currently open one.

Desired outcome:
when calling `winterm.exe` it maintains the same window but opens a new `session` and automatically logs in to ssh with given credentials (login\pass\sshkey\etc)

Ideally:
clear guide on how to integrate with WinSCP (and etc-like tools that use putty as shell) to replace putty with WindTerm

![image](https://user-images.githubusercontent.com/109070455/236296541-f761e6d4-123f-4ff9-ae6d-fd17d09c9f7c.png)
![image](https://user-images.githubusercontent.com/109070455/236299222-90afb2cd-2edb-4bed-bd0b-7ef7f5710b54.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the winterm.exe command-line entry point and the existing Open Terminal flow, then review how WinSCP passes PuTTY-style SSH parameters. Done means an external invocation reuses the current window, opens a new session, and supports the requested SSH login details; document the WinSCP integration steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli, desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.