Computer Science Canada

Getting Cygwin to recognize 'clear' command

Author:  Tony_G. [ Sat Apr 08, 2006 3:42 pm ]
Post subject:  Getting Cygwin to recognize 'clear' command

Hello Smile

This is day one of my learning how to code Wink. I've run into a little problem.

The book I'm reading (C Programming for the Absolute Beginner by Michael Vine), is just starting off with some simple Cygwin commands, and one of them is the $ clear command. Whenever I type in 'clear', it says command not found.

I downloaded Cygwin twice from the official site, and it says that there's nothing new to install, so I know I'm not missing a file or anything. I also went into the System Path and put in ;C:\cygwin\bin like the book said to, but that didn't fix it either.

My computer is running on Windows XP.

Thanks!

Author:  Tony_G. [ Sat Apr 08, 2006 3:50 pm ]
Post subject: 

Oop--snag number two:

when I type in 'man' to get to the manual it says:

Warning: cannot open configuration file /usr/share/misc/man.conf.

Author:  wtd [ Sat Apr 08, 2006 5:37 pm ]
Post subject: 

Are you certain you ran the setup fully? I did the same just a week or so ago and I have clear.

At the prompt try: "which clear"

Author:  Tony_G. [ Sat Apr 08, 2006 7:14 pm ]
Post subject: 

Yes, I'm pretty sure.


code:
Garant Family@Garant ~
$ which clear
clear: Command not found.

Author:  wtd [ Sat Apr 08, 2006 7:29 pm ]
Post subject: 

How odd.

Author:  md [ Sun Apr 09, 2006 9:44 am ]
Post subject: 

If you don't mind downloading lots and lots of stuff you'll almost certainly never use you can always run cygwin setup and install everything. That *should* fix your problem.

Author:  Tony_G. [ Sun Apr 09, 2006 3:54 pm ]
Post subject: 

That's the problem--I already have.

Author:  md [ Sun Apr 09, 2006 4:34 pm ]
Post subject: 

sounds like an install problem then. Uinstall everything; then delete the cygwin folder and install again. So long as everything that was downloaded is still cached your good.


: