I cannot using the command "clear" to clear the screen in emacs shell mode as I can in the linux terminal. So how can I do it?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
Shell mode is not a terminal emulator, the way that M-x term is, so "clear" does not have meaning there. |
|||||||
|
|
Read my comment to John Wiegley, unless you use term clear won't work you can however just to C-x-h which will select all text in buffer and hit delete. |
|||
|
|
|
you can use C-L, it actually does not clear the screen, but moves the whole screen to up, and that make it look like you really cleared the screen |
|||
|
|