On Fri, Dec 29, 2023 at 08:14:37PM -0600, Mike McClain wrote: > As it turns out every line in /mc/bin/xterm_bindings that > was not a comment was problematic.From man readline or info readline > I saw this: bind '"\C-x\C-r": re-read-init-file' and that is the syntax > I used in xterm_bindings, as '"\e[1;5H": backward-kill-line'.
Yeah, that's incorrect syntax. You're dealing with two separate kinds of things: bind commands issued by a shell, and readline key bindings read from a file. When you put a readline key binding into a file like ~/.inputrc or like your /mc/bin/xterm_bindings file, it looks like this: "keys": action But when you do the same thing with bash's bind command, you need to wrap a *second* layer of quotes around it, like this: bind '"keys": action' The outer layer of quotes is removed by the shell, leaving the readline binding (which includes literal double-quotes) as a single argument. You've mixed up the two syntaxes. That's the source of the problem. > You wondered what /mc/implied, my name is McClain so /mc is where my > stuff goes to separate it from system stuff making it easier to move > my stuff from distribution to distribution. That's what your home directory is for, though. It seems odd to keep personal settings in two separate locations like this.