2 # A function that works as a front end for both stty and the `bind'
3 # builtin, so the tty driver and readline see the same changes
7 # Convert between the stty ^H control character form and the readline \C-H
12 echo "$@" | cat -v | sed 's/\^/\\C-/'
16 # stty front-end. Parses the argument list and creates two command strings,
17 # one for stty, another for bind.
27 -a) cmd="$cmd everything"
32 bargs="$bargs '\"$e\": backward-delete-char'"
37 bargs="$bargs '\"$e\": unix-line-discard'"
42 bargs="$bargs '\"$e\": backward-kill-word'"
47 bargs="$bargs '\"$e\": quoted-insert'"
56 if [ -n "$bargs" ]; then