Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.advocacy > #373383

Re: test

From Snit <usenet@gallopinginsanity.com>
Newsgroups comp.os.linux.advocacy
Subject Re: test
Date 2016-09-29 08:54 -0700
Message-ID <D412873A.7ED5F%usenet@gallopinginsanity.com> (permalink)
References (3 earlier) <0LCdnTa-lub3BnHKnZ2dnUU7-fednZ2d@giganews.com> <nghhdd83.jgi@perch.invalid> <ed2dnQ_IXZifO3HKnZ2dnUU7-UXNnZ2d@giganews.com> <nsiv8b$at9$1@dont-email.me> <YIidnbYIFsPrtXDKnZ2dnUU7-anNnZ2d@giganews.com>

Show all headers | View raw


On 9/29/16, 7:43 AM, in article
YIidnbYIFsPrtXDKnZ2dnUU7-anNnZ2d@giganews.com, "Marek Novotny"
<marek.novotny@marspolar.com> wrote:

> On 2016-09-29, Silver Slimer <> wrote:
>> 
>> On 2016-09-29 1:26 AM, Marek Novotny wrote:
>>> On 2016-09-29, Octavian W. Lagrange <olagrang@perch.invalid>
>>> wrote:
>>>> Marek Novotny <marek.novotny@marspolar.com> wrote:
>>>>> On 2016-09-29, Marek Novotny <marek.novotny@marspolar.com>
>>>>> wrote:
>>>>>> On 2016-09-29, Octavian W. Lagrange <olagrang@perch.invalid>
>>>>>> wrote:
>>>>>>> Marek Novotny <marek.novotny@marspolar.com> wrote:
>>> 
>>>>>>> This is a sample
>>>>> 
>>>>>>> Sample reply.
>>>>> 
>>>>> I write a really simple script to help me do this quickly. I'll
>>>>> refine it tomorrow. It's still a bit of work, and I am sure
>>>>> lazy.
>>>>> 
>>>>> Yes, this will drive snit up a wall.
>>>>> 
>>>>> I don't have vallor's public key. So I removed him from the
>>>>> group, what is his key ID so I can add it?
>>>>> 
>>>> 
>>>> anon@lowtide:~$ gpg --list-keys vallor pub   1024D/1654068E
>>>> 2003-11-18 uid                  vallor <vallor@cultnix.org> sub
>>>> 1024g/086FD476 2003-11-18
>>>> 
>>>> anon@lowtide:~$
>>> 
>>> I can see where I need to do a little more automation. I added
>>> valor. And my only concern is what happens if they reply to this
>>> from within Thunderbird. Will it simply encrypt for them or will it
>>> undo it and then show it to everyone in the group.
>>> 
>>> Pretty cool so far.
>> 
>> I can answer that question. I'm using Thunderbird with Enigmail for
>> this group and it basically won't allow me to reply with an encrypted
>> message as it warns me that I am about to post to a newsgroup.
>> However, if there is a newsreader for Windows which disregards that, I
>> will gladly switch to it and continue to post encrypted content.
> 
> When I get home tonight or over the weekend I'll work on a simple
> script. Right now all I have done is I am using a simple case statement
> to execute owl's command, which I turned into an array of arguments.
> 
> 
> #!/bin/bash
> 
> arg="$1"
> cmd="gpg"
> doit=("-r" "cola" "--armor" "--output" "encrypted.asc" "--encrypt" "file.txt")
> undoit=("--output" "file.txt" "--decrypt" "encrypted.asc")
> 
> case "$arg" in
> encrypt )
> $cmd "${doit[@]}"
> ;;
> decrypt )
> $cmd "${undoit[@]}"
> ;;
> * )
> echo "use encrypt or decrypt"
> exit 1
> ;;
> esac
> 
> ## end
> 
> So as you can see this is super kludge. It doesn't test anything. And
> it's not very interactive. Essentially I write a text file called,
> file.txt in vim. If needed I format it.

Excellent! Very cool test to see if Owl was just trolling me or if he will
troll anyone who makes a quick script that does not test for errors and the
like. 

I suspect you are having the same thought I am: Owl will NOT troll you over
it. He will accept your code just fine.

Of course, their are two differences here:

1) You are of the herd. The herd defends the herd and trolls others. I am
the "William Shatner" to your herd-like group, so you guys cannot stop
yourself from begging for my attention. <https://goo.gl/ZMXDjt>

2) Owl likely understands your script better... where with mine I was using
a scripting language and a scripting model he did not understand at all. He
was completely lost on what was meant by "window 1" and, if he understand at
all even now, it is only because I was able to show him in a way that would
be MUCH harder to show on Linux: <https://youtu.be/ymE184jYNnk>. Again (and
to make sure Owl does understand): it is the terminal's window 1 and ONLY
the terminal's window 1 which I highlight (and enlarge) in that video... and
ANY message sent to the highlighted window is being sent to window 1, no
matter how it is referenced.

...


-- 
* OS X / Linux: What is a file?     <http://youtu.be/_dMbXGLW9PI>
* Mint MATE Trash, Panel, Menu:     <http://youtu.be/C0y74FIf7uE>
* Mint KDE working with folders:    <http://youtu.be/7C9nvniOoE0>
* Mint KDE creating files:          <http://youtu.be/N7-fZJaJUv8>
* Mint KDE help:                    <http://youtu.be/3ikizUd3sa8>
* Mint KDE general navigation:      <http://youtu.be/t9y14yZtQuI>
* Mint KDE bugs or Easter eggs?     <http://youtu.be/CU-whJQvtfA>
* Easy on OS X / Hard on Linux:     <http://youtu.be/D3BPWANQoIk>
* OS / Word Processor Comparison:   <http://youtu.be/w6Qcl-w7s5c>

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

test Marek Novotny <marek.novotny@marspolar.com> - 2016-09-29 03:58 +0000
  Re: test "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-29 04:18 +0000
    Re: test Marek Novotny <marek.novotny@marspolar.com> - 2016-09-29 04:39 +0000
      Re: test Marek Novotny <marek.novotny@marspolar.com> - 2016-09-29 04:41 +0000
        Re: test "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-29 05:10 +0000
          Re: test Marek Novotny <marek.novotny@marspolar.com> - 2016-09-29 05:26 +0000
            Re: test Silver Slimer <.m@nsn.s> - 2016-09-29 07:51 -0400
              Re: test Marek Novotny <marek.novotny@marspolar.com> - 2016-09-29 14:43 +0000
                Re: test Snit <usenet@gallopinginsanity.com> - 2016-09-29 08:54 -0700
                Re: test Horace McSwain <spyderwingnut@techie.com> - 2016-09-29 23:58 +0000
                Re: test Marek Novotny <marek.novotny@marspolar.com> - 2016-09-30 00:42 +0000
                Re: test Snit <usenet@gallopinginsanity.com> - 2016-09-29 17:48 -0700
                Re: test William Poaster <wp@dev.null> - 2016-09-30 10:39 +0100
                Re: test Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-09-30 11:55 +0200
                Re: test Silver Slimer <.m@nsn.s> - 2016-09-30 10:19 -0400
                Re: test Peter Köhlmann <peter-koehlmann@t-online.de> - 2016-09-30 16:54 +0200
                Re: test chrisv <chrisv@nospam.invalid> - 2016-09-30 06:54 -0500
                Re: test William Poaster <wp@dev.null> - 2016-09-30 13:07 +0100
                Re: test Marek Novotny <marek.novotny@marspolar.com> - 2016-09-30 15:13 +0000
                Re: test Snit <usenet@gallopinginsanity.com> - 2016-09-30 08:20 -0700
                Re: test Marek Novotny <marek.novotny@marspolar.com> - 2016-09-30 15:11 +0000
                Re: test Silver Slimer <.m@nsn.s> - 2016-09-30 08:01 -0400
                Re: test Snit <usenet@gallopinginsanity.com> - 2016-09-30 08:20 -0700
                Re: test Snit <usenet@gallopinginsanity.com> - 2016-09-29 17:23 -0700
              Re: test "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-29 15:17 +0000
                Re: test Silver Slimer <.m@nsn.s> - 2016-09-29 12:22 -0400
                Re: test "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-29 17:15 +0000
                Re: test Silver Slimer <.m@nsn.s> - 2016-09-29 13:36 -0400
                Re: test "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-09-29 20:45 +0000
                Re: Sample Video Marek Novotny <marek.novotny@marspolar.com> - 2016-09-29 21:24 +0000
                Re: test GreyCloud <Cumulus@mist.com> - 2016-10-01 23:10 -0600
                Re: test GreyCloud <Cumulus@mist.com> - 2016-10-01 23:28 -0600
                Re: test "Octavian W. Lagrange" <olagrang@perch.invalid> - 2016-10-02 05:43 +0000
                Re: test Sandman <mr@sandman.net> - 2016-10-02 07:35 +0000
                Re: test GreyCloud <Cumulus@mist.com> - 2016-10-02 10:12 -0600
                Re: test Marek Novotny <marek.novotny@marspolar.com> - 2016-10-02 07:50 -0700
                Re: test Silver Slimer <.m@nsn.s> - 2016-10-02 12:07 -0400
                Re: test Marek Novotny <marek.novotny@marspolar.com> - 2016-10-02 09:10 -0700
                Re: test GreyCloud <Cumulus@mist.com> - 2016-10-02 10:14 -0600
                Re: test Silver Slimer <.m@nsn.s> - 2016-10-02 12:23 -0400
                Re: test GreyCloud <Cumulus@mist.com> - 2016-10-02 13:43 -0600
              Re: test Snit <usenet@gallopinginsanity.com> - 2016-09-29 08:26 -0700
  Re: test Snit <usenet@gallopinginsanity.com> - 2016-09-28 21:03 -0700

csiph-web