ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
While in eshell, how to implement the function such that when I type "clear" it will
behave as the "clear" in bash or tcsh? I am unable to find a good working way of doing
this by googling.
Thanks.
Actually, there is a function corresponding to Ctrl-L in emacs which does move screen in a cycle mode.
For instance, if I am at the bottom of the screen, the first time I hit C-l would move the screen half way up,
the second hit move it to the top. But as soon as I hit enter, I am at the bottom again with all the stuff
I just tried to hide/get rid of. In this case, i am not happy with the way C-l works.
Quote:
Originally Posted by jhwilliams
Parv,
I have no idea what eshell, is, but you might give a try at the alternate method of clearing a screen that works in bash -- that is, <ctrl>-L
<ctrl>-L is the ASCII character 0x0C, for "FF (NP form feed, new page)"
While in eshell, how to implement the function such that when I type "clear" it will
behave as the "clear" in bash or tcsh? I am unable to find a good working way of doing
this by googling.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.