You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Jonathan M. Hollin" <ne...@digital-word.com> on 2002/03/10 15:23:21 UTC

[OT] Thought for the Day

WAY OFF TOPIC!

When I used to login to the Unix server at university a
humourous/thought-provoking/silly message was displayed (Thought for the
Day?).  Now that I have my Linux box up-and-running I'd like to see
these again both for nostalgia's sake and for my colleagues amusement.
Is this possible under Linux (RH 7.2).  If so, how do I set it up?

Please reply off-list to netmaster [at] digital-word.com.

Thanks in advance and apologies for OT.


Jonathan M. Hollin - WYPUG Co-ordinator
West Yorkshire Perl User Group
http://wypug.pm.org/ 


Re: [OT] Thought for the Day

Posted by Martin Haase-Thomas <mh...@meome-ag.de>.
Should we tell the yellow press in the end?

;)
Martin


Carlos Ramirez wrote:

> I wrote an article about Apache::Motd for UNIX SysAdmin magazine 
> (March 2001 issue). Here's the link: 
> http://www.samag.com/documents/s=1153/sam0103a/
>
> -Carlos
>
>
> Geoffrey Young wrote:
>
>> John Eisenschmidt wrote:
>>
>>> Sinister, aren't I? <G>
>>>
>>> For the record I did email directly an explanation of what -o does 
>>> and to exclude it for "clean" fortunes, and that it's more fun to 
>>> make your own. I have quotes from all the Dogma movies that are 
>>> called within my mod_perl index.html on my website. =)
>>>
>>> Suddenly this thread is on-topic.
>>>
>>
>> everyone might want to look at Apache::MOTD - it's a similar idea to
>> the Unix motd functionality whose implementation is quite clever.
>>
>> --Geoff
>>
>>
>
>
>

-- 
                   http://www.meome.de
-------------------------------------------------------
Martin Haase-Thomas         |       Tel.: 030 43730-558
meOme AG                    |       Fax.: 030 43730-555
Software Development        |           mht@meome-ag.de
-------------------------------------------------------




Re: [OT] Thought for the Day

Posted by Carlos Ramirez <cr...@gte.net>.
I wrote an article about Apache::Motd for UNIX SysAdmin magazine (March 
2001 issue). Here's the link: 
http://www.samag.com/documents/s=1153/sam0103a/

-Carlos


Geoffrey Young wrote:

> John Eisenschmidt wrote:
> 
>>Sinister, aren't I? <G>
>>
>>For the record I did email directly an explanation of what -o does and to exclude it for "clean" fortunes, and that it's more fun to make your own. I have quotes from all the Dogma movies that are called within my mod_perl index.html on my website. =)
>>
>>Suddenly this thread is on-topic.
>>
> 
> everyone might want to look at Apache::MOTD - it's a similar idea to
> the Unix motd functionality whose implementation is quite clever.
> 
> --Geoff
> 
> 



Re: [OT] Thought for the Day

Posted by Geoffrey Young <ge...@modperlcookbook.org>.
John Eisenschmidt wrote:
> 
> Sinister, aren't I? <G>
> 
> For the record I did email directly an explanation of what -o does and to exclude it for "clean" fortunes, and that it's more fun to make your own. I have quotes from all the Dogma movies that are called within my mod_perl index.html on my website. =)
> 
> Suddenly this thread is on-topic.

everyone might want to look at Apache::MOTD - it's a similar idea to
the Unix motd functionality whose implementation is quite clever.

--Geoff

Re: [OT] Thought for the Day

Posted by Ryan Parr <ry...@cableone.net>.
I have the exact same thing set up for my website. Just without the dogma of
course :)

I'm thinking that I'll have to collect plenty of Deep Thoughts, to change
the general tone of my site.

-- Ryan
----- Original Message -----
From: "John Eisenschmidt" <jw...@eisenschmidt.org>
To: "Ryan Parr" <ry...@cableone.net>
Cc: <mo...@perl.apache.org>
Sent: Monday, March 11, 2002 2:46 PM
Subject: Re: [OT] Thought for the Day




Re: [OT] Thought for the Day

Posted by John Eisenschmidt <jw...@eisenschmidt.org>.
Sinister, aren't I? <G>


For the record I did email directly an explanation of what -o does and to exclude it for "clean" fortunes, and that it's more fun to make your own. I have quotes from all the Dogma movies that are called within my mod_perl index.html on my website. =)

Suddenly this thread is on-topic.

my $foo  = qx(/usr/games/fortune fooguy);

### replace newlines in fortunes with <br>'s
$foo =~ s/\n/<br>/g;

print qq(<font face="$font" size="2">$foo</font><br><br>);

Unless the Voices are Mistaken, Ryan Parr (ryanparr@cableone.net) Wrote:
> John mentions /usr/games/fortune -o, which will print offensive messages.
> They are quite funny though. To use it without offensive messages (just
> funny ones) just don't pass it options.
> ----- Original Message -----
> From: "John Eisenschmidt" <jw...@eisenschmidt.org>
> To: <mo...@perl.apache.org>
> Sent: Sunday, March 10, 2002 1:37 PM
> Subject: Re: [OT] Thought for the Day
> 
> 

-- 
John W. Eisenschmidt <jw...@eisenschmidt.org>
 Homepage URL    | http://www.eisenschmidt.org/jweisen
 PGP Public Key  | http://www.eisenschmidt.org/jweisen/misc/jeisenschmidt.asc
 PGP Fingerprint | 5F9B F916 5AD1 3295 CF99 BC1E 1F97 E6A3 37E3 BEF2

Re: [OT] Thought for the Day

Posted by Ryan Parr <ry...@cableone.net>.
John mentions /usr/games/fortune -o, which will print offensive messages.
They are quite funny though. To use it without offensive messages (just
funny ones) just don't pass it options.
----- Original Message -----
From: "John Eisenschmidt" <jw...@eisenschmidt.org>
To: <mo...@perl.apache.org>
Sent: Sunday, March 10, 2002 1:37 PM
Subject: Re: [OT] Thought for the Day




Re: [OT] Thought for the Day

Posted by John Eisenschmidt <jw...@eisenschmidt.org>.
/usr/games/fortune -o

Unless the Voices are Mistaken, dreamwvr (dreamwvr@dreamwvr.com) Wrote:
> fortune ? 

-- 
John W. Eisenschmidt <jw...@eisenschmidt.org>
 Homepage URL    | http://www.eisenschmidt.org/jweisen
 PGP Public Key  | http://www.eisenschmidt.org/jweisen/misc/jeisenschmidt.asc
 PGP Fingerprint | 5F9B F916 5AD1 3295 CF99 BC1E 1F97 E6A3 37E3 BEF2

Re: [OT] Thought for the Day

Posted by dreamwvr <dr...@dreamwvr.com>.
fortune ?