I'm fresh to emacs and following manual to practice Query-Replace operation. But I find it not work at all. Type
C-h l where it shows
ESC 5 seems my OS swallow some key input or emacs parse input occurred some error.
S-M-f also has the problem.
Besides, I'm use
emacs -nw to open emacs in terminal. In emacs GUI App,
Shift works well.