In any terminal operating under GNOME, if I press Ctrl+C, I only see a question mark. Same goes for Ctrl+Z. The output of stty -a | grep intr
is:
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?;
I can use the sequence under all other tty's (outside X), and can also use it for another user; only one user is affected. How can I fix this?
.bashrc
for bash)?/etc/profile
is the global file - I meant the user profile, which in that case should be$HOME/.bashrc
or$HOME/.bash_profile
.xterm
, doesCtrl+C
work there? What is displayed if you enterecho '^V^C' | hd
, where you must typeCtrl+V
thenCtrl+C
where I wrote^V^C
?hd
is the same ashexdump -C
, which is likeod -t x1 -A x
but with an extra column showing printable characters, plus it's more memorable. It's a BSD utility, which Debian and Ubuntu ship; other Linux distributions may ship onlyhexdump
or neither.