Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Nice, I was thinking of doing something like that, but I don't know as many unix tools as the author does. :-P


I rewrote "pause" from Windows into my Ubuntu box out of habit of using it in some cases. First it was written in perl, then in Python, I also symlink clear as cls out of habit from Windows. There's small little "hacks" that you can do that are kind of fun.


Windows' cls actually erases the buffer from previous commands (so you can't scroll up past it), clear does not. I alias "cls=printf '\033c'" to get the Windows behavior.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: