Re: Unexpected behaviour of Backspace when binding ^H
Benno Schulenberg <[email protected]> Mon, 9 Mar 2020 20:05:58 +0100
| Newsgroups | gmane.editors.nano.general |
|---|---|
| Message-ID | <[email protected]> |
Hello Ciprian, [Please send answers only to the list.] Op 09-03-2020 om 17:09 schreef Ciprian Tomoiaga: > I am binding ^H to `replace all`. This has the unexpected result that pressing > Backspace(1) enters the replace menu. I know that on some terminals Backspace > generates ^H, but if I use the shortcut for `Verbatim Input` and press Backspace, > I get `^?`. Ah! Then in src/global.c you will want to search for APPLE, and then delete the four lines of that #ifdef. Does iTerm2 always produce ^? for Backspace? Or is that a setting that you chose? Or did it change recently for both iTerm2 and Terminal? > (1) Since I switched to MacOS, Backspace and Delete have gotten a bit blurry in > my mind. By Backspace I mean "kill to the left", a simple press on the > poorly-named "delete" button. > (2) as above. By Delete I mean "kill to the right", pressing `Fn+delete`. (Correct. Backspace kills toward the left, and Delete kills the character at the cursor and pulls the line in from the right.) Benno
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEv9AJBh5TUFKtDfIVDSjU0qCs6IQFAl5mk54ACgkQDSjU0qCs 6ISm7A//WrCjsSzSnP/oRAXIhTgcaLgziW78a3sqTfI7R1WlL622Tt5P4p4s1MDc Ff2Y0/ny/KFngEuoXGyu61BtdctqP9vORmHoBrFObVHNo4jZB1bSq1Hw2qq+uv8N bzpGX7Nc+jZHDPP1pAbzuIWx00swEbtrIw6NFqUSeNRvAc4AYVnjDZd+z4PzvQ2i fO3D2NUymDwr73FO0qCqYyYY+rjL1irIr2uWsZbE8AwHocu8enbYXVPf9aCwPCaW N7y2YtujrpqLjG/JSiK263YSXgEd6YB5ed8AkqXNbPBgmHnXU6sJSFTAGHzIcwnE ZwRvPvvjZ8jyb2F5OHAfTp4e9jDG/CBOanEccSd0II5jHEaVb+hthv2OYkQ1BYxS jwcAJWoTtDmhBaLpAU++fNE/200uob79FoPOSCOk8EE0nDXHptO3qOLx6r9mARVx 0cgvRJ+TKE1vM4S48XU717iqnPqV8XL/Pe8eNB8Trk/E2iLu01d1doSLi7ooRSOD nfMaLAunc8djr8u2PR2Pd5M4yEhK6gkzq+FsaJqIBdaElR8tZzeBtHwr66Ju3Dm6 zvMKZRXfgUjNXuUupwjInfQxqNvjr3hhB6Dxur44krpQT1AoHNOoLgTy2JXcDMTp xIcugJAj62itHEE+mpBBATrWDjuuRj1S9bHMHTOXYkIvtaJDRrU= =oO5E -----END PGP SIGNATURE-----