Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Add Paste Delay option #115

Closed
wants to merge 1 commit into from
Closed

Add Paste Delay option #115

wants to merge 1 commit into from

Conversation

thechile
Copy link

Add Paste Delay option under Window, the same as TeraTerm has and other
SSH clients.

When staging configuration changes in notepad or whatever to then be
bulk pasted into an SSH session for a network device.. router, switch,
firewall, load balancer etc.. they don't like having 100+ lines of
config commands sent at them in one blast which putty does by default.
This result in some of the config lines being dropped or interpreted out
of order by the device.

This patch adds a new option which just sleeps for the specified
duration after each line break in the paste buffer, before sending.

Add Paste Delay option under Window, the same as TeraTerm has and other
SSH clients.

When staging configuration changes in notepad or whatever to then be
bulk pasted into an SSH session for a network device.. router, switch,
firewall, load balancer etc.. they don't like having 100+ lines of
config commands sent at them in one blast which putty does by default.
This result in some of the config lines being dropped or interpreted out
of order by the device.

This patch adds a new option which just sleeps for the specified
duration after each line break in the paste buffer, before sending.
FauxFaux pushed a commit that referenced this pull request Oct 29, 2013
Add Paste Delay option under Window, the same as TeraTerm has and other
SSH clients.

When staging configuration changes in notepad or whatever to then be
bulk pasted into an SSH session for a network device.. router, switch,
firewall, load balancer etc.. they don't like having 100+ lines of
config commands sent at them in one blast which putty does by default.
This result in some of the config lines being dropped or interpreted out
of order by the device.

This patch adds a new option which just sleeps for the specified
duration after each line break in the paste buffer, before sending.
@FauxFaux
Copy link
Owner

Woo, that seems to work, thanks!

  • I've rejiggled the whitespace. See the end of Building with VS2010 to make PuTTY not look like poo in Visual Studio, or the committed local vimrc style for vim-like editors.
  • I moved the config option to evade having to resize the main dialog. I'm picky about that kind of thing.

Might have a look at fixing the fact that it hangs the whole window. GH-117.

@FauxFaux FauxFaux closed this Oct 29, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants