On Tue, Nov 26, 2024 at 11:24 AM Jacob Nevins <jacobn+deb...@chiark.greenend.org.uk> wrote:
> I can't reproduce anything that sounds like this, albeit on a setup > rather different from yours (my own PuTTY 0.81 build, with default > settings; bullseye=oldstable, and hence a rather old nano, > 5.4-2+deb11u3; it looks like nano have been doing things with their > keybindings rather recently, which may be relevant). > > What is the terminal type within the PuTTY session? (echo $TERM) > > Have you changed any PuTTY settings from the defaults? > One that might be particularly worth looking at is 'The Function keys > and keypad' on the Keyboard panel. The settings 'VT400' and 'SCO' cause > non-default sequences to be sent for PgUp/PgDn (although on my system, > with TERM=xterm, nano accepts all the sequences PuTTY can send). > What exactly happens when you press PgUp or PgDn when using PuTTY? Does > anything get inserted into the file you're editing with nano? > > Is this nano-specific? Do PgUp/PgDn work in other programs, such as > 'less'? I don't have a lot of background here - I'm submitting this bug because I can duplicate the issue and the person who reported it on forums.debian.net refused to file a report. I haven't changed any putty defaults, just plugged in an IP address and hit the "open" button. Opening the same file (/var/lib/dpkg/status) nano and less exhibit the same behavior - PgUp and PgDn don't do anything at all and the cursor doesn't move. Hope this helps -