Home
|
FAQ
|
Feedback
|
Licence
|
Updates
|
Mirrors
|
Keys
|
Links
|
Team
Download:
Stable
·
Snapshot
|
Docs
|
Changes
|
Wishlist
Lots of people used to ask whether PuTTY would be able to act as a front end for Windows command interpreters (Command Prompt, bash, etc), in place of the not-very-pleasant standard console window.
Some advantages of this (and probably not all of them):
This wishlist item was raised at Mayhem difficulty, because at the
time it was originally suggested, there was essentially no way to do
it reliably. I (SGT) did some experimental work, which involved
instantiating a Windows console as a hidden window, and using the same
console API used by applications running in the console to read out
its screen buffer and transfer that into the PuTTY window. This was
unreliable in corner cases (in particular, I never got keypresses like
Ctrl-C to cause the right things to happen in the hidden console), and
it involved some extremely intrusive refactoring of PuTTY itself (you
basically needed two totally different shapes of backend, one emitting
an escape-sequence stream fed to terminal.c and the other
directly providing updates to a rectangular character grid.
But in 2018, Windows itself helped out, by introducing the new ConPTY interface, which means now the Windows API itself does the hard part, and all you have to do is to interpret the escape-sequence stream you get back.
As of 2021-05-08, we're now building an experimental
pterm.exe for Windows. It's not part of the installer or
putty.zip yet, and we might even delay linking to it from
the Download page until it's had a bit more developer testing, but you
can download a snapshot of it by hand using a URL analogous to the
other links for direct download of development-snapshot
.exe files. However, at this stage, if it breaks, you get
to keep all the pieces!