Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

libclear

Name: Anonymous 2007-07-12 2:51 ID:cZxqU9rw

This library is a must for every unix C programmer.
seriously.

libclear.c->

#include <stdlib.h>

clear(void)
{
      (void)system("clear");
}

clear_version(void)
{
      (void)clear();
      (void)system("echo Libclear version 1.00 by Michael Freeman\n");
      (void)system("echo Press Control-D to continue\n");
      (void)system("cat");
      (void)clear();
}


get it->
http://www.ibiblio.org/pub/Linux/libs/libclear-1.00.tgz

lastly, don't forget to donate!

Description:    libclear lets you clear the screen in ANY unix/linux application!  Developed especially for linux though! Libclear is NOT freeware!! You are encouraged to send $5 to the author!

srsly.(?)

Name: Anonymous 2007-10-17 17:54

>>12
I got all excited for a bit, then realised I'd posted this nonsense three months ago, thus trolling my future self.

Name: Anonymous 2007-10-17 21:43

>>81
c99 isn't supported properly anywhere, why would anyone care about c09?

Name: GM 2007-10-18 2:05

[JWow, I just saved $5 by punching in 3 characters.

Name: Anonymous 2007-10-18 2:17

>>83
You are an arrogant thief, using such a dirty hacks to oppose innovations and undermine the Intellectual Property Market!

Name: Anonymous 2007-10-18 5:45


#!/usr/bin/php
<?php exec("clear"); ?>

#!/usr/bin/perl
system("clear");

#!/usr/bin/python
import os
os.system("clear")

#!/usr/bin/ruby
system "clear"

#!/usr/bin/lua
os.execute("clear")

Name: Anonymous 2007-10-18 7:10

>>82
It doesn't even exist

Name: Anonymous 2007-10-18 7:19

I BET YOU CAN'T EVEN CLEAR THE SCREEN IN LISP. THAT'S JUST TOO LOW LEVEL.

YOU'LL JUST HAVE TO PRINT ALL YOUR PRECIOUS FACTORIALS ON THE DIRTY SCREEN.

Name: Anonymous 2007-10-18 7:26

Name: Anonymous 2007-10-18 7:38

>>87
Lisp doesn't have a concept of "screen", so no you cannot "clear" "the" "screen" in lisp.

Name: Anonymous 2007-10-18 7:46


(defpackage :lisb-clear
 (:use :cffi))
(inpackage :lisb-clear)

(load-foreign-library "libclear")

(defun clear () (foreign-funcall "clear"))
(defun clear-version () (foreign-funcall "clear_version"))

Name: Anonymous 2007-10-18 10:46

lblShit.Caption = ""

It's the answer to everything

Name: Anonymous 2011-02-04 19:22

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List