X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=subdir_files%2F.local%2Fshare%2Fkonsole%2FREADME.ian;h=7ef7188baef0c4019f60554cfc9753ea900634e8;hp=622cb121e1986bb22a199887770a0225fa41d793;hb=768363d8771edb9d9ed82425fa772d77b90139c0;hpb=62c4ef27d7ce99c442339d4868aa75b2edadfb8f diff --git a/subdir_files/.local/share/konsole/README.ian b/subdir_files/.local/share/konsole/README.ian index 622cb12..7ef7188 100644 --- a/subdir_files/.local/share/konsole/README.ian +++ b/subdir_files/.local/share/konsole/README.ian @@ -1,11 +1,29 @@ -I added several things, do a diff with default.orig. -I saved that in case konsole updates the defaults. -key Backspace+Ctrl : "\x17" -it makes ctrl-backspace delete the prev word by making it input C-w. -Note: keybindings name is specified in profile file, filename.keytab, and at the top of that file. +Note: non-keybind konsole profile changes should be manually duplicated +to the profanity profile, which exists to have a color scheme that is +more compatible with profanity: it will show historical PM messages in a +light color instead of an unreadable black. + +To see what changes I made in ian.keytab, do a diff with +default.keytab.orig. (I also sorted the file). Konsole ignores files not +named *.keytab. I changed the name of the in the default keybind profile +file to include trisquel11-iank just to avoid any confusion. The \E[4d etc were found without exaplanation in a random stackoverflow comment. It seems to just be an unused and useful pattern, where d could be any letter. I set them with +AppScreen, but they don't necessarily need to be, its just thats the only place I use them, and maybe more -useful to have the duplicates working outside of emacs. +useful to have the duplicates working outside of emacs. AppScreen +modifier means that the keybind only works within a program like emacs +which takes over scroll back, per +https://docs.kde.org/trunk5/en/konsole/konsole/key-bindings.html. + + +Historical note about change no longer in ian.keytab: +I saved that in case konsole updates the defaults, which +happened. Originally saved in 2019, to fix control-backspace not working +because it wasn't bound to anything, it just emited backspace. I fixed +it by setting it to ^W, because bash binds ^W to unix-word-rubout. But in 2023 I ran profanity which uses +readline, and control-backspace didn't work. Poking around, I figured +out that konsole defaults had been updated to make control-backspace emit ^H, and sakura worked the same, detected by running +running "stty -icanon; cat" per +http://www.linusakesson.net/programming/tty/index.php . So, it seems better to set ^H to unix-word-rubout in .inputrc than change the key in konsole.