[lcdproc] LCDproc Server screen

Richard Rognlie rrognlie@gamerz.net
Mon, 22 Nov 1999 21:36:08 -0500


So.. just hack it to read /usr/games/fortune

	char buffer[256];
	FILE *fp = popen("/usr/games/fortune -s","r");

	while (fgets(buffer,sizeof(buffer),fp)) {
		// write it to the LCD here...
	}

	pclose(fp);


On Mon, Nov 22, 1999 at 06:20:46PM -0800, William Ferrell wrote:
> --- Nitin Raja Bhatia <root@l-i-n-u-x.dhis.org> wrote:
> > 
> > You could always hack that screen and make it say something stupid, as I
> > have done :) 
> >  "Got Any Gum?, EH?"
> 
> Hehehe yeah! An easter egg of sorts. For those with enough *guts* to run
> the Server Status Screen(tm), every fifth time it appears it'll display
> something totally stupid that will make everyone in the room laugh.
> 
> *snicker* That'd actually be pretty funny at an ISP or something similar,
> where the minions are showing the boss around and he stops to look at the
> shiny new LCD on the main server-of-death(tm).
> 
> "Wow! What's that?!?!"
> 
> "That, sir, is our new status display! It lets us monitor the entire
> operation without using up a console!"
> 
> "Great, but, uh, why is it telling us to 'never pet a burning cat.'?"
> 
> "Uh ..."
> 
> Hehehehehe. Alrighty, who's gonna implement it? :)
> 
> =====
> Friends help you move, but real friends help you move bodies.
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
> 
> 
> -----------------------------------------------------------
> To unsubscribe from this list send a blank message to
> lcdproc-unsubscribe@lists.omnipotent.net
> 

-- 
 /  \__  | Richard Rognlie / Sendmail Consultant / Sendmail, Inc.
 \__/  \ | URL:    http://www.gamerz.net/rrognlie/   
 /  \__/ | Give a man a fish, and he'll be hungry tomorrow.  Teach a
 \__/    | man to fish, and he'll be at the river all day drinking beer.


-----------------------------------------------------------
To unsubscribe from this list send a blank message to
lcdproc-unsubscribe@lists.omnipotent.net