* Sample "clear" program
@ 1999-09-06 9:16 Jason Meade
1999-09-30 23:42 ` Jason Meade
0 siblings, 1 reply; 2+ messages in thread
From: Jason Meade @ 1999-09-06 9:16 UTC (permalink / raw)
To: cygwin
Here's a sample "clear" command written in c++ for Cygnus. Paste this into a
text file called "clear.cpp". Type "c++ clear.cpp -o clear.exe" at the
BASH-EXE.2.02$ prompt. After compiling put clear.exe in the
/cygnus/cygwin-b20/H-i586-cygwin32/bin directory. Now when you type "clear"
the screen will clear and return your prompt for you automatically.
Unfortunately the prompt will return towards the bottom of the BASH window.
O well, haven't solved that one yet.
-Jason Meade
--------------------------------------------------------------
#include <iostream.h>
int main()
{
int counter = 0;
while ( counter <=24 ) {
cout << " " << endl;
counter++;
}
return 0;
}
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Sample "clear" program
1999-09-06 9:16 Sample "clear" program Jason Meade
@ 1999-09-30 23:42 ` Jason Meade
0 siblings, 0 replies; 2+ messages in thread
From: Jason Meade @ 1999-09-30 23:42 UTC (permalink / raw)
To: cygwin
Here's a sample "clear" command written in c++ for Cygnus. Paste this into a
text file called "clear.cpp". Type "c++ clear.cpp -o clear.exe" at the
BASH-EXE.2.02$ prompt. After compiling put clear.exe in the
/cygnus/cygwin-b20/H-i586-cygwin32/bin directory. Now when you type "clear"
the screen will clear and return your prompt for you automatically.
Unfortunately the prompt will return towards the bottom of the BASH window.
O well, haven't solved that one yet.
-Jason Meade
--------------------------------------------------------------
#include <iostream.h>
int main()
{
int counter = 0;
while ( counter <=24 ) {
cout << " " << endl;
counter++;
}
return 0;
}
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-09-30 23:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-06 9:16 Sample "clear" program Jason Meade
1999-09-30 23:42 ` Jason Meade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).