My Cygwin installation does nothing when I type "clear", it say it does not know this command or something. It is quite basic operation to be unavailable. Oh well, that's just life, nothing that a little googling couldn't help.
This blog's post clears up things for me : I need to install ncurses package. It is fixed now but I still think it should be available by default though.
It's included in the ncurses package.
ReplyDeleteOr, if you're using bash, you can press ctrl+L.
thanks for the ctrl+l that had bugged me for ages :)
ReplyDeleteThanks from me as well. Ctrl-L does the trick!!
ReplyDeleteThanks from me too for C-l
ReplyDeleteThanks from me too for C-l
ReplyDeletectrl+l worked for me
ReplyDeletealias cls='echo -e -n "\E[2J" also works native.
ReplyDeleteCtrl-L works, thanks!
ReplyDeleteThank you, Ctrl + l is so good!
ReplyDeleteCTRL+L only works if you use the emacs command line editor (not vi).
ReplyDeleteabove alias only works for vt* term types
for any term type use:
alias cls='tput clear ; tput cup 0 0'
utils->ncurses supplies the official clear program
ctrl l works great
ReplyDeletectrl+L works
ReplyDeletethanks for CTRL-L!!!!!!!!!!!!!!
ReplyDeleteluv from japan
awesome...c+l
ReplyDeleteGOOD thx
ReplyDeleteHaha wow I was just thinking about how to do the Ctrl+L since at school we are learning on terminal, and thats Macs, Thanks
ReplyDeletethx for the Ctrl-L
ReplyDeletethanks for ctrl + l
ReplyDeleteHi,
ReplyDeleteThanks for the CTRL+L buddy :-)
Thanks to the Anonymous poster for the tip on where to find clear as well as for the keyboard shortcut.
ReplyDeleteThanks for Ctrl+L. It helps me a lot!
ReplyDeletei made a little program to emulate clear.. just compile it
ReplyDeletehttp://code.google.com/p/clear-for-cygwin/
really thanks for Ctrl+L !!
ReplyDeleteThanks a lot. Ctrl +L works for me
ReplyDeleteThank you, saved me a lot of time!
ReplyDeleteInstall ncurses...
ReplyDelete