Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 22 Jul 2003.
Re: [sh] if wrapping won't kill it

Re: [sh] if wrapping won't kill it

Faux_Pseudo wrote:
>  _.--- BoD spoke in alt.ascii-art --------._ 
>> Anyway I've put that in /etc/motd ...
>> Until I find a better one :)
> 
> I only have two login shells on my system so I didn't see motd very
> often.  So instead I when I found out about rt[0] I went and added
> a variation of this to my ~/.xinitrc:
> 
> /usr/X11R6/bin/root-tail -g 165x8+001+595 -font fixed \
> /home/faux/.fortune,cyan,'FORTUNE' -reload 20 &
> 
> And this in my crontab:
> */5 * * * * /usr/games/fortune -a > /home/faux/.fortune
> 
> This way I can always see new fortunes.

I have an alternative: a fortune in your titlebar. I wrote this because
all "xterm"s look the same in my icon manager, and it's a useful way to
tell them apart as well as to read fortunes.

#!/usr/bin/perl -w
open(F, "fortune -s -n100 |");
undef $/;
$_ = <F>;
s/[\t\n]/ /g;
s/\r//g;
close(F);
@a = ("xterm", "-title", "xterm: $_", "-n", "xterm: $_");
push(@a, @ARGV);
exec(@a);

-- 
|  Harry Mason  | .------------. |    .___,    |"Whatever you do will be |
| University of | |  hjm200 @  | | ___('v')___ | insignificant. However, |
|  Southampton  | | zepler.net | | `"-\._./-"' | it is vitally important |
|    England    | '------------' | hjm ^ ^     | that you do it." Gandhi |

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,7c9af568bd251a5
X-Google-Attributes: gidf996b,public
X-Google-ArrivalTime: 2003-07-22 00:02:00 PST
Newsgroups: alt.ascii-art
From: Harry Mason <spa...@no.spam>
Subject: Re: [sh] if wrapping won't kill it
References: <3F1...@deadspammer.net> <slr...@fugozi.quasi> <3f1c11b7$0$1971$626...@news.free.fr> <ijg...@darney.loria.fr> <slr...@fugozi.quasi> <3f1c6a37$0$1306$626...@news.free.fr> <slr...@fugozi.quasi>
Message-ID: <slr...@tarrant.ecs.soton.ac.uk>
User-Agent: slrn/0.9.7.4 (Linux)
NNTP-Posting-Host: tarrant.ecs.soton.ac.uk
Date: 22 Jul 2003 07:42:11 GMT
X-Trace: 22 Jul 2003 07:42:11 GMT, tarrant.ecs.soton.ac.uk
Lines: 37
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!server3.netnews.ja.net!news-spool.soton.ac.uk!news.ecs.soton.ac.uk!tarrant.ecs.soton.ac.uk
Xref: archiver1.google.com alt.ascii-art:24319
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 2003 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post