
-----------------------------------
Tony_G.
Sat Apr 08, 2006 3:42 pm

Getting Cygwin to recognize 'clear' command
-----------------------------------
Hello :)

This is day one of my learning how to code ;). 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!

-----------------------------------
Tony_G.
Sat Apr 08, 2006 3:50 pm


-----------------------------------
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.

-----------------------------------
wtd
Sat Apr 08, 2006 5:37 pm


-----------------------------------
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"

-----------------------------------
Tony_G.
Sat Apr 08, 2006 7:14 pm


-----------------------------------
Yes, I'm pretty sure.


Garant Family@Garant ~
$ which clear
clear: Command not found.

-----------------------------------
wtd
Sat Apr 08, 2006 7:29 pm


-----------------------------------
How odd.

-----------------------------------
md
Sun Apr 09, 2006 9:44 am


-----------------------------------
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.

-----------------------------------
Tony_G.
Sun Apr 09, 2006 3:54 pm


-----------------------------------
That's the problem--I already have.

-----------------------------------
md
Sun Apr 09, 2006 4:34 pm


-----------------------------------
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.
