Skip to content
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

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

@thechile thechile commented Oct 27, 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.

SMG
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 added 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

@FauxFaux FauxFaux commented Oct 29, 2013

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants