Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

quip - cowsay/fortune ripoff

58 views
Skip to first unread message

Mike Sanders

unread,
Mar 7, 2018, 8:51:00 AM3/7/18
to
Jonesy & The Shadow (& all else interested)...

In the same vein as the comic fetching script,
here's another & have fun. Hope to see you here =)

#!/bin/sh

<<DOC

quip - 2018 Michael Sanders

cowsay/fortune ripoff generates a random quip
intended for limited unix-like environments

for brevity, only 10 quips are included in
this post. for the complete script with over
500 builtin quips see:

https://busybox.hypermart.net/quip.html

DOC

clear

awk -v r=$RANDOM 'BEGIN{srand(r)}{q[NR]=$0}
END{print "\n\n " q[int(rand()*NR+1)]}'<<!
Ever notice psychics never win the lottery?
Flashlight: A container for holding dead batteries.
I am Homer from BORG, prepare to be assim... Oooh, donuts!
IRS: Income Reduction Service.
BASIC, FORTRAN & COBOL (everyone shouted in those days I guess).
What is another word for Thesaurus?
It behooves the writer to avoid archaic expressions.
Justice: A decision in your favor.
Technique: A trick that works.
Why is the man who invests all your money called a broker?
!

cat <<!

\ ^__^
\ (oo)\______
(__)\ )\\/\\
||---w |
|| ||

!

# eof

--
later on,
Mike

https://busybox.hypermart.net

Allodoxaphobia

unread,
Mar 12, 2018, 6:31:02 PM3/12/18
to
On Wed, 7 Mar 2018 13:50:55 +0000 (UTC), Mike Sanders wrote:
> Jonesy & The Shadow (& all else interested)...
>
> In the same vein as the comic fetching script,
> here's another & have fun. Hope to see you here =)

<snip
> BASIC, FORTRAN & COBOL (everyone shouted in those days I guess).

BASIC and COBOL yes. But it is ForTran. :-)

Jonesy
--
Sent from from my wee little Android tablet
Please forgive the brevity, typos, & misspellings

Kaz Kylheku

unread,
Mar 12, 2018, 6:45:49 PM3/12/18
to
On 2018-03-12, Allodoxaphobia <knock_you...@example.net> wrote:
> On Wed, 7 Mar 2018 13:50:55 +0000 (UTC), Mike Sanders wrote:
>> Jonesy & The Shadow (& all else interested)...
>>
>> In the same vein as the comic fetching script,
>> here's another & have fun. Hope to see you here =)
>
><snip
>> BASIC, FORTRAN & COBOL (everyone shouted in those days I guess).
>
> BASIC and COBOL yes. But it is ForTran. :-)

I'm coding in PortMant these days. It's name is a portmanteau of
"portability" and "mantra", although one very vocal old programmer on
the PortMant mailing list keeps insisting that it's a portmanteau of
"portmanteau" and the empty string "", and so the M must not be
capitalized.

As far as ForTran goes, it's actually FortrAn, having been named after
the Anfield stadium in Liverpool, UK, a.k.a "Fortress Anfield".

https://en.wikipedia.org/wiki/Anfield

Aragorn

unread,
Mar 12, 2018, 6:51:00 PM3/12/18
to
On Monday 12 March 2018 23:45, Kaz Kylheku conveyed the following to
comp.unix.shell...
Nonsense. It's the programming language in which the Ford Transit was
written. :p

--
With respect,
= Aragorn =

Janis Papanagnou

unread,
Mar 12, 2018, 7:44:38 PM3/12/18
to
On 12.03.2018 23:50, Aragorn wrote:
> On Monday 12 March 2018 23:45, Kaz Kylheku conveyed the following to
> comp.unix.shell...
>
>> On 2018-03-12, Allodoxaphobia <knock_you...@example.net> wrote:
>>> On Wed, 7 Mar 2018 13:50:55 +0000 (UTC), Mike Sanders wrote:
>>>> Jonesy & The Shadow (& all else interested)...
>>>>
>>>> In the same vein as the comic fetching script,
>>>> here's another & have fun. Hope to see you here =)
>>>
>>> <snip
>>>> BASIC, FORTRAN & COBOL (everyone shouted in those days I guess).
>>>
>>> BASIC and COBOL yes. But it is ForTran. :-)
>>
>> As far as ForTran goes, it's actually FortrAn, having been named after
>> the Anfield stadium in Liverpool, UK, a.k.a "Fortress Anfield".
>>
>> https://en.wikipedia.org/wiki/Anfield
>
> Nonsense. It's the programming language in which the Ford Transit was
> written. :p

Makes sense, I'm sure. But I'm positive it's all caps; FORTRAN
(Futile Oblivious Ruthless Typographic Rune Annotated Notation).

Janis

Aragorn

unread,
Mar 12, 2018, 8:03:27 PM3/12/18
to
On Tuesday 13 March 2018 00:44, Janis Papanagnou conveyed the following
to comp.unix.shell...

> On 12.03.2018 23:50, Aragorn wrote:
>
>> On Monday 12 March 2018 23:45, Kaz Kylheku conveyed the following to
>> comp.unix.shell...
>>
>>> As far as ForTran goes, it's actually FortrAn, having been named
>>> after the Anfield stadium in Liverpool, UK, a.k.a "Fortress
>>> Anfield".
>>>
>>> https://en.wikipedia.org/wiki/Anfield
>>
>> Nonsense. It's the programming language in which the Ford Transit
>> was written. :p
>
> Makes sense, I'm sure. But I'm positive it's all caps; FORTRAN
> (Futile Oblivious Ruthless Typographic Rune Annotated Notation).

Ah yes, the runes... It was after all still before the invention of
Unicode. ;)

Kaz Kylheku

unread,
Mar 12, 2018, 9:28:19 PM3/12/18
to
Actually, the designers were consciously working on a language that was
to be an "affront" to computer science, requiring a "frontal" lobotomy.

Being Fortran programmers, they believed these words to be anagrams
(and, of course, wrote buggy code to prove it).

Then they wanted to find a third anagram: a nice sounding made-up
word to complement these two; they wrote more buggy code to
find it.

The anagram goofup was embarassing, so every effort was made
to cover it up, and so the plausible-sounding "formula translator"
origin was vehemently promulgated.

--
TXR Programming Lanuage: http://nongnu.org/txr
Music DIY Mailing List: http://www.kylheku.com/diy
ADA MP-1 Mailing List: http://www.kylheku.com/mp1

Thomas 'PointedEars' Lahn

unread,
Mar 12, 2018, 10:39:27 PM3/12/18
to
Kaz Kylheku wrote:

> On 2018-03-12, Allodoxaphobia <knock_you...@example.net> wrote:
>> On Wed, 7 Mar 2018 13:50:55 +0000 (UTC), Mike Sanders wrote:
>>> BASIC, FORTRAN & COBOL (everyone shouted in those days I guess).
>> BASIC and COBOL yes. But it is ForTran. :-)
>
> […]
> As far as ForTran goes, it's actually FortrAn, having been named after
> the Anfield stadium in Liverpool, UK, a.k.a "Fortress Anfield".
>
> https://en.wikipedia.org/wiki/Anfield

If that is a joke, I don’t get it.

JFTR: Fortran (formerly: FORTRAN) is an abbreviation of “Formula
Translation” (ForTran). COBOL is in fact an acronym for “Common Business
Oriented Language”, although the fact that it was designed by CODASYL
(Conference/Committee on Data Systems Languages), and that there was ALGOL
(Algorithmic Language), might have been reasons why Bemer’s “COBOL” was the
name proposal that was selected.

<https://en.wikipedia.org/wiki/Fortran>
<https://en.wikipedia.org/wiki/COBOL>

[I had thought that because Algol is also the name of a star (β Per),
COBOL (1959) were named hinting at another star, but apparently that
is not so. Also, Battlestar Galactica’s planet of Kobol (1978/1979)
might have been named after the programming language – after all, a
major part of the story is the artificial intelligence of the Cylons –,
but I could not have been the other way around.]

--
PointedEars
<https://github.com/PointedEars> | <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2
Please do not cc me. /Bitte keine Kopien per E-Mail.

Thomas 'PointedEars' Lahn

unread,
Mar 12, 2018, 10:39:58 PM3/12/18
to
Kaz Kylheku wrote:

> On 2018-03-12, Allodoxaphobia <knock_you...@example.net> wrote:
>> On Wed, 7 Mar 2018 13:50:55 +0000 (UTC), Mike Sanders wrote:
>>> BASIC, FORTRAN & COBOL (everyone shouted in those days I guess).
>> BASIC and COBOL yes. But it is ForTran. :-)
>
> […]
> As far as ForTran goes, it's actually FortrAn, having been named after
> the Anfield stadium in Liverpool, UK, a.k.a "Fortress Anfield".
>
> https://en.wikipedia.org/wiki/Anfield

If that is a joke, I don’t get it.

JFTR: Fortran (formerly: FORTRAN) is an abbreviation of “Formula
Translation” (ForTran). COBOL is in fact an acronym for “Common Business
Oriented Language”, although the fact that it was designed by CODASYL
(Conference/Committee on Data Systems Languages), and that there was ALGOL
(Algorithmic Language), might have been reasons why Bemer’s “COBOL” was the
name proposal that was selected.

<https://en.wikipedia.org/wiki/Fortran>
<https://en.wikipedia.org/wiki/COBOL>

[I had thought that because Algol is also the name of a star (β Per),
COBOL (1959) were named hinting at another star, but apparently that
is not so. Also, Battlestar Galactica’s planet of Kobol (1978/1979)
might have been named after the programming language – after all, a
major part of the story is the artificial intelligence of the Cylons –,
but it could not have been the other way around.]

Mike Sanders

unread,
Mar 13, 2018, 11:31:55 AM3/13/18
to
Allodoxaphobia wrote:

> Sent from from my wee little Android tablet
> Please forgive the brevity, typos, & misspellings

Tried once with 'droid logged in via shh to server,
posting/reading using tin.

Gnashing of teeth = popup keyboard woes + hamfisted blues...

Janis Papanagnou

unread,
Mar 13, 2018, 3:35:32 PM3/13/18
to
On 13.03.2018 02:28, Kaz Kylheku wrote:
>> [ Fortran ]
>
> Actually, the designers were consciously working on a language that was
> to be an "affront" to computer science, requiring a "frontal" lobotomy.

It's amazing how much time they spent with Fortran's design, given that
Intercal had been designed during one weekend (as they say).

Janis

Kaz Kylheku

unread,
Mar 14, 2018, 3:51:59 PM3/14/18
to
On 2018-03-13, Mike Sanders <mi...@porkchop.bsd> wrote:
> Allodoxaphobia wrote:
>
>> Sent from from my wee little Android tablet
>> Please forgive the brevity, typos, & misspellings
>
> Tried once with 'droid logged in via shh to server,
> posting/reading using tin.
>
> Gnashing of teeth = popup keyboard woes + hamfisted blues...

I've patched C code using Vim using a ssh session out of an Android
phone. A tiny one with a 4" screen, too.

You want to install "Hacker's Keyboard" with this; it gives you more of
a PC style keyboard; though the keys are smaller than the regular popup,
though, you have everything there: Ctrl, Alt, Esc, Tab, real modeless
Shift, arrow keys, PgUp/PgDn, etc.

I've also done quite a bit of work that way from a tablet, where the
popup keyboard is much more usable due to the size. It's still
an ergonomic problem of the keys being in the same plane/surface
as the display.

Nowadays if I do any remote hacking from a tab, I use a bluetooth
external keyboard.

I have one of those Logitech K480 puppies. It lets you switch among
three host devices with a simple three-way manual switch, and serves as
a base for your tablet. It's big enough to hold a 9.7" tablet and a
phone. Unfortunately, it's a not a very good keyboard as far as typing
goes. A fast, accurate typist will not like it. It's cheaply made too;
if you grasp it by the left and right edges and give it a squeeze, you
hear the squeaking of plastic from the poor fit; it's built like some
cheap calculator from the dollar store. Its bluetooth implementation
interferes with the tablet's Wi-Fi connection (at home; I don't see this
in hotspots). On the plus side, battery life seems good, and the
Ctrl key is in the corner, not like on some BT keyboards which have
the Fn key where Ctrl should be.

Most bluetooth keyboards are garbage, unfortunately. It's impossible
to find anything decent, no matter how much you're willing to spend;
nobody wants to take your money to make you a good one.

That's because mobile devices are not built for "makers"; just for
vegetables that passively consume entertainment and gossip.

--
TXR Programming Lanuage: http://nongnu.org/txr
Music DIY Mailing List: http://www.kylheku.com/di

Mike Sanders

unread,
Mar 15, 2018, 9:12:02 AM3/15/18
to
Kaz Kylheku wrote:

> I've patched C code using Vim using a ssh session out of an Android
> phone. A tiny one with a 4" screen, too.

Ouch...

> You want to install "Hacker's Keyboard" with this; it gives you more of
> a PC style keyboard; though the keys are smaller than the regular popup,
> though, you have everything there: Ctrl, Alt, Esc, Tab, real modeless
> Shift, arrow keys, PgUp/PgDn, etc.

Hey way cool! Thanks Kaz, was not aware of this =) This is just what
the Dr. ordered.

> Ive also done quite a bit of work that way from a tablet, where the
> popup keyboard is much more usable due to the size. It's still
> an ergonomic problem of the keys being in the same plane/surface
> as the display.

Aye, spot on. You've described the issue perfectly.

> I have one of those Logitech K480 puppies. It lets you switch among
> three host devices with a simple three-way manual switch, and serves as
> a base for your tablet. It's big enough to hold a 9.7" tablet and a
> phone. Unfortunately, it's a not a very good keyboard as far as typing
> goes. A fast, accurate typist will not like it. It's cheaply made too;
> if you grasp it by the left and right edges and give it a squeeze, you
> hear the squeaking of plastic from the poor fit; it's built like some
> cheap calculator from the dollar store. Its bluetooth implementation
> interferes with the tablet's Wi-Fi connection (at home; I don't see this
> in hotspots). On the plus side, battery life seems good, and the
> Ctrl key is in the corner, not like on some BT keyboards which have
> the Fn key where Ctrl should be.
>
> Most bluetooth keyboards are garbage, unfortunately. It's impossible
> to find anything decent, no matter how much you're willing to spend;
> nobody wants to take your money to make you a good one.

You know, I ordered a bluetooth keyboard for my tablet in January only
for the confounded thing to arrive exactly in a non-working state...
awaiting a replacement even as I write this. Actually, I've got high
hopes for it, but likely shouldn't. Still, something really neat about
the form-factor. Would you believe I've got telnetd up & running on a
little cheap tablet & when coupled with a user's profile 'exec notes.sh'
makes for a nifty rough & ready database.

> That's because mobile devices are not built for "makers"; just for
> vegetables that passively consume entertainment and gossip.

Sure enough, words of wisdom there... Some create, most 'only' consume.
Really, its terrible around here: 'Mike just watch Netflix & put down
that book' sort of thing.

> TXR Programming Lanuage: http://nongnu.org/txr
> Music DIY Mailing List: http://www.kylheku.com/di
> ADA MP-1 Mailing List: http://www.kylheku.com/mp1

Ha! I visited your pages recently =) Very interesting mind you have Kaz.
In fact, lots of you here, really happy that I jumped in, so much I can
learn. Around these badlands its: 1 hardware store, 1 high school,
1 Unix user (me). Nevertheless I persevere.

Anyhow, thanks Kaz, I appreciate all the tips more than you all might
guess.

Allodoxaphobia

unread,
Mar 15, 2018, 11:14:40 AM3/15/18
to
On Thu, 15 Mar 2018 13:11:55 +0000 (UTC), Mike Sanders wrote:
> Kaz Kylheku wrote:
>
7>> I've patched C code using Vim using a ssh session out of an Android
>> phone. A tiny one with a 4" screen, too.
>
> Ouch...
>
>> You want to install "Hacker's Keyboard" with this; it gives you more of
>> a PC style keyboard; though the keys are smaller than the regular popup,
>> though, you have everything there: Ctrl, Alt, Esc, Tab, real modeless
>> Shift, arrow keys, PgUp/PgDn, etc.
>
> Hey way cool! Thanks Kaz, was not aware of this =) This is just what
> the Dr. ordered.

I'm using JuiceSSH. IWFM
I'll look to see if "hacker's keyboard" offers anything extra for me.

Jonesy
--

Brian Patrie

unread,
Mar 15, 2018, 5:10:39 PM3/15/18
to
On 2018-03-12 21:39, Thomas 'PointedEars' Lahn wrote:
> JFTR: Fortran (formerly: FORTRAN) is an abbreviation of “Formula
> Translation” (ForTran). COBOL is in fact an acronym for “Common Business
> Oriented Language”, although the fact that it was designed by CODASYL
> (Conference/Committee on Data Systems Languages), and that there was ALGOL
> (Algorithmic Language), might have been reasons why Bemer’s “COBOL” was the
> name proposal that was selected.

The alternate that i learned for COBOL is Clumsy Obsolete Badly
Organized Language. ;)

Brian Patrie

unread,
Mar 15, 2018, 5:48:21 PM3/15/18
to
On 2018-03-14 14:51, Kaz Kylheku wrote:
> You want to install "Hacker's Keyboard" with this; it gives you more of
> a PC style keyboard; though the keys are smaller than the regular popup,
> though, you have everything there: Ctrl, Alt, Esc, Tab, real modeless
> Shift, arrow keys, PgUp/PgDn, etc.

Oh yes! But make sure that it's the real Hacker's Keyboard--with the
Esc key icon. There are other things in the store, with similar names,
that are bullcrap, like skins.

> Most bluetooth keyboards are garbage, unfortunately. It's impossible
> to find anything decent, no matter how much you're willing to spend;
> nobody wants to take your money to make you a good one.
>
> That's because mobile devices are not built for "makers"; just for
> vegetables that passively consume entertainment and gossip.

Even for casual use, it's annoying to have to do things, like Fn for the
apostrophe, and to reach for a strange location for /, etc. It's easier
to type on than an on-screen keyboard, but not much. Sometimes i'll go
as far as plugging a USB full-sized keyboard into my tablet--especially
when ssh'g.
0 new messages