Sample Header Ad - 728x90

bind -x with unicode codepoints

0 votes
1 answer
36 views
I instructed my terminal emulator to send "\u{85}" (C1 control character "NEXT LINE" (NEL)) down the pipe to be caught by bash: bind -x '"\u0085":"echo Hello"' But this doesn't trigger anything. So my **first** question is: How do I represent unicode codepoints for bind -x? Strange enough, bash picks up the octal representation: bind -x '"\205":"echo Hello"' In any case, the above creates weird artifacts in the shell: Hello $ �Hello Hello $ � I figured the control character probably has some sideffects. So my **second** question is, which unicode range can I safely repurpose for my own good?
Asked by glades (117 rep)
Mar 29, 2025, 01:59 PM
Last activity: Mar 29, 2025, 06:39 PM