Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Getting Cygwin to recognize 'clear' command
Index -> General Programming
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Tony_G.




PostPosted: 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!
Sponsor
Sponsor
Sponsor
sponsor
Tony_G.




PostPosted: Sat Apr 08, 2006 3:50 pm   Post subject: (No 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.
wtd




PostPosted: Sat Apr 08, 2006 5:37 pm   Post subject: (No 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"
Tony_G.




PostPosted: Sat Apr 08, 2006 7:14 pm   Post subject: (No subject)

Yes, I'm pretty sure.


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




PostPosted: Sat Apr 08, 2006 7:29 pm   Post subject: (No subject)

How odd.
md




PostPosted: Sun Apr 09, 2006 9:44 am   Post subject: (No 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.
Tony_G.




PostPosted: Sun Apr 09, 2006 3:54 pm   Post subject: (No subject)

That's the problem--I already have.
md




PostPosted: Sun Apr 09, 2006 4:34 pm   Post subject: (No 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.
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> General Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 8 Posts ]
Jump to:   


Style:  
Search: