Add Paste Delay option #115

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@thechile

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
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.
e497af5
@FauxFaux FauxFaux added a commit that referenced this pull request Oct 29, 2013
SMG GH-115: Add Paste Delay option
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.
8d6fb14
@FauxFaux
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 join this conversation on GitHub. Already have an account? Sign in to comment