mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-13 10:33:51 -05:00

Previously, when we scrolled the terminal, the newly exposed line at the bottom would be immediately allocated a trust status corresponding to the current state of the terminal. So if you're in trusted mode and you print a newline, then the line scrolled on at the bottom immediately gets a trust sigil, whether you subsequently print anything on it or not. Up until now, that hasn't mattered, because we always _do_ print something on it. But if you don't - if you send \r\n\r\n to deliberately leave a blank line - then it turns out that's not what we want after all, because if the screen _doesn't_ scroll, the passed-over line remains completely blank, whereas if it does scroll the blank line gets a trust sigil, which is inconsistent. Now, terminal lines newly exposed by a scroll have untrusted status, just the same as terminal lines that were present in the initial blank screen. They only become trusted if you actually print at least one character on them (whereupon check_trust_status will re-clear them just in case). And this is now independent of whether the terminal has scrolled or not.
This is the README for PuTTY, a free Windows and Unix Telnet and SSH client. PuTTY is built using CMake <https://cmake.org/>. To compile in the simplest way (on any of Linux, Windows or Mac), run these commands in the source directory: cmake . cmake --build . Documentation (in various formats including Windows Help and Unix `man' pages) is built from the Halibut (`.but') files in the `doc' subdirectory using `doc/Makefile'. If you aren't using one of our source snapshots, you'll need to do this yourself. Halibut can be found at <https://www.chiark.greenend.org.uk/~sgtatham/halibut/>. The PuTTY home web site is https://www.chiark.greenend.org.uk/~sgtatham/putty/ If you want to send bug reports or feature requests, please read the Feedback section of the web site before doing so. Sending one-line reports saying `it doesn't work' will waste your time as much as ours. See the file LICENCE for the licence conditions.
Description
Languages
C
89.7%
Python
8%
Perl
0.9%
CMake
0.8%
Shell
0.4%
Other
0.1%