jimradford / superputty

The SuperPuTTY Window Manager for putty sessions
https://www.facebook.com/superputty
MIT License
1.91k stars 320 forks source link

Optionally, slow down the opening of PuTTY sessions due to PuTTY file Logging #841

Open dvhsfan opened 2 years ago

dvhsfan commented 2 years ago

Is your feature request related to a problem? Please describe. I turned on PuTTY logging. I am using their special characters &Y &M &D and &T to create the log file name. My SuperPutty session opens several windows on the same Linux box. Oftentimes, I get the PuTTY warning box about the use of the same log file i.e. file name collision.

Describe the solution you'd like Two solutions come to mind: 1) Detect opening of multiple PuTTY sessions on the same host. Have option to slow down openings of multiple sessions on same host. 2) Don't allow multiple sessions to be saved to re-open later. I don't like this idea at all. Option 1 is much better.

Describe alternatives you've considered

Additional context Have submitted a request to the PuTTY team to add a &R special character to the file name feature. The &R would add a random number to the file name to prevent file name collisons.

jimradford commented 2 years ago

A configurable delay seems like a reasonable approach.