|
|
|
|
|
by owl57
972 days ago
|
|
> Same could be true for emacs, someone who knows it better could pipe in. I believe Emacs differs in two relevant ways, both not technically inherent: command prefixes are by default non-printable, and it's relatively uncommon to run Emacs without GUI. Just tried `echo -en '\x18\x03' | xclip`. Emacs in the default GUI mode works as expected, just pastes ^X^C (that's two control characters, they are just rendered this way) into the buffer. xfterm4 or gnome-terminal pastes Unicode Control Pictures [1] (TIL there's such a thing) ␘␃, the same in bash, cat or `emacs -nw`. Finally, bash in xterm echoes the control characters raw, but Emacs once again manages to get ^X^C in the buffer. [1] https://en.wikipedia.org/wiki/Control_Pictures |
|