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

Re: Grateful exit

Skip to first unread message

Jonathan de Boyne Pollard

unread,
Mar 11, 2010, 6:25:02 AM3/11/10
to

There are utilities and scripting languages that can send keystrokes to a window.

Only in a newsgroup like alt.msdos.batch.nt would this madness be the answer that everyone concentrates upon.

There's a perfectly good window message, WM_SYSCOMMAND with SC_CLOSE as the parameter, that unambiguously means "close the window", without all of the mucking around trying to work out what keystrokes will invoke what on an application's menu to get it to think that the user has commanded a close.  And there's no shortage of command-line tools for sending such a message (or WM_CLOSE), from NirCmd to the process utility from Beyond Logic.  JP Software's TCC even has a built-in command for doing this: ACTIVATE, with the CLOSE option.

I guess it depends on what it means to gracefully exit the application.

M. Devin was looking for something that was "a better way" than "forcibly kill[ing]" a "GUI application" using tools like pskill or taskkill to terminate the process.  As can be seen from the plethora of tools that exist (The three mentioned are not the only tools that can send these window messages.  There are yet more of them, including an unimaginitively named wm_close utility, for example.  I just stopped after three.), xe's far from being the first person to want this sort of thing, and the rest of the world isn't stuck with the DOS Think that poking keystrokes into Win32 applications is the only way that command-line tools can speak to them.

(I keep thinking of the Grateful Dead when I see this thread's Subject text.)

I had similar problems.  (-:

Ted Davis

unread,
Mar 11, 2010, 8:42:07 AM3/11/10
to
On Thu, 11 Mar 2010 11:25:02 +0000, Jonathan de Boyne Pollard wrote:

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>

usenet is an ASCII medium - HTML is *not* appreciated, and for many
people is unreadable.

--
T.E.D. (tda...@mst.edu)

Tim Meddick

unread,
Mar 11, 2010, 2:53:53 PM3/11/10
to
In answer to Mr "Ted Davis" -
 
If you can't view or read this post because of which format it's in - don't worry about it! - feel free to ignore it, you were born free to do so, just as I was born free to post it whatever way I see fit!......

==
 
Cheers,    Tim Meddick,    Peckham, London.    :-)
 
 
 
 
"Ted Davis" <tda...@mst.edu> wrote in message news:pan.2010.03....@mst.edu...

Ted Davis

unread,
Mar 11, 2010, 4:20:27 PM3/11/10
to
On Thu, 11 Mar 2010 19:53:53 +0000, Tim Meddick wrote:

>
> In answer to Mr "Ted Davis" -
>
> If you can't view or read this post because of which format it's in -
> don't worry about it! - feel free to ignore it, you were born free to do
> so, just as I was born free to post it whatever way I see fit!......

Ploink!

--
T.E.D. (tda...@mst.edu)

Sjouke Burry

unread,
Mar 11, 2010, 6:08:34 PM3/11/10
to
Tim Meddick wrote:
> In answer to Mr "Ted Davis" -
cut

>don't worry about it! - feel free to ignore it,
> you were born free to do so, just as I was born free
> to post it whatever way I see fit!......

Yes, aint we all glad that you are free to behave as an
asocial nitwit!!! Freedom rules.

plonk

Jonathan de Boyne Pollard

unread,
Mar 11, 2010, 6:49:06 PM3/11/10
to

usenet is an ASCII medium

That's lack of understanding of Usenet on your part, kiddo.  "Usenet is not an ASCII network." has been item #12 on Chip Salzenberg's Usenet FAQ for roughly a quarter of a century.  Go and read it and learn.  There's a big wide world out here; it isn't limited by such parochialism, and never has been.

Ted Davis

unread,
Mar 11, 2010, 7:55:47 PM3/11/10
to
On Thu, 11 Mar 2010 23:49:06 +0000, Jonathan de Boyne Pollard wrote:

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html>

*and* setting Followup-To: news.newusers.questions

You must think I'm stupid. I think you are a troll.

Plonk!

--

T.E.D. (tda...@mst.edu)

Message has been deleted
Message has been deleted

Tim Meddick

unread,
Mar 12, 2010, 3:38:34 PM3/12/10
to
Yes, indeed, my very good friend.

I am "asocial" because I dare to defy some unwritten rule.

And some self-appointed enforcers decide that people who break said rule will be
insulted, mocked and otherwise treated as shamefully as possible, and to someone they
never even met...

I am glad I am "asocial" if to gain your praise I have to be a mindless follower of
nonsensical etiquette and stop thinking for myself altogether.

At least I don't call people I haven't met names or deride or insult them.

==

Cheers, Tim Meddick, Peckham, London. :-)

P.S. (for anyone else watching this idiotic banter I have lowered myself to
entertain, the "crime" I am being pilloried for is to create a post using html on
"their" newsgroup...)

"Sjouke Burry" <burrynu...@ppllaanneett.nnll> wrote in message
news:4b9977f5$0$14131$703f...@textnews.kpn.nl...

Todd Vargo

unread,
Mar 12, 2010, 6:28:27 PM3/12/10
to

"Tim Meddick" <timme...@gawab.com> wrote in message
news:OwSeCQiw...@TK2MSFTNGP05.phx.gbl...

> Yes, indeed, my very good friend.
>
> I am "asocial" because I dare to defy some unwritten rule.
>
> And some self-appointed enforcers decide that people who break said rule
> will be
> insulted, mocked and otherwise treated as shamefully as possible, and to
> someone they
> never even met...
>
> I am glad I am "asocial" if to gain your praise I have to be a mindless
> follower of
> nonsensical etiquette and stop thinking for myself altogether.
>
> At least I don't call people I haven't met names or deride or insult them.
>
> ==
>
> Cheers, Tim Meddick, Peckham, London. :-)
>
> P.S. (for anyone else watching this idiotic banter I have lowered myself
> to
> entertain, the "crime" I am being pilloried for is to create a post using
> html on
> "their" newsgroup...)

You have been directed to reasonable and sensible netiquette materials
several times and yet you have the audacity to clame it unwritten. But to go
the extra steps to defy it and claim it nonsensical is unconscionable. Had
this been a moderated group your account would have been
terminated long ago.

BTW, responding to a plonk is nonsensical because the plonker can no longer
see your responses.

PLONK!

>
>
>
> "Sjouke Burry" <burrynu...@ppllaanneett.nnll> wrote in message
> news:4b9977f5$0$14131$703f...@textnews.kpn.nl...
>> Tim Meddick wrote:
>>> In answer to Mr "Ted Davis" -
>> cut
>>>don't worry about it! - feel free to ignore it,
>>> you were born free to do so, just as I was born free
>>> to post it whatever way I see fit!......
>>
>> Yes, aint we all glad that you are free to behave as an
>> asocial nitwit!!! Freedom rules.
>>
>> plonk
>


--- news://freenews.netfront.net/ - complaints: ne...@netfront.net ---

Al Dunbar

unread,
Mar 12, 2010, 7:26:29 PM3/12/10
to
All this talk of rules is somewhat beside the point. The reason for the
rules in the first place still exists: some usenet participants do so using
text-based tools that do not render the html into what one would see in a
browser. Or in an html aware client. Others set their newsreaders to work in
text only mode because they are more interested in the information than its
presentation.

I think what others might have been trying to get at is that if you post in
such a way that bothers people, well, what is the benefit to that?


/Al

"Tim Meddick" <timme...@gawab.com> wrote in message
news:OwSeCQiw...@TK2MSFTNGP05.phx.gbl...

Twayne

unread,
Mar 12, 2010, 9:16:01 PM3/12/10
to
In news:pan.2010.03....@mst.edu,
Ted Davis <tda...@mst.edu> typed:

> On Thu, 11 Mar 2010 11:25:02 +0000, Jonathan de Boyne
> Pollard wrote:
>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
>> Transitional//EN"> <html>
>
> usenet is an ASCII medium - HTML is *not* appreciated, and
> for many people is unreadable.

LOL! Whatever THAT means! Do you any concept at all what HTML gives you
and when you're using it? Care to clarify?

HTH,

Twayne`
--
Newsgroups are great places to get assistance.
But always verify important information with
other sources to be certain you have a clear
understanding of it and that it is accurate.


Tim Meddick

unread,
Mar 14, 2010, 5:55:19 PM3/14/10
to
Well exactly! I certainly was not posting for the benefit of all those who decided
to respond negatively, but it simply irked me the way in which [some] people jumped
all over a respondent just because he used <html> to create his post!

They were less than courteous IMHO.

So I wrote ONE post, also in <html>, in support, and got all this for my trouble (at
least I got them off the original respondent's back).

It just gets me down, now and then, to see how acidulous people can be...

==

Cheers, Tim Meddick, Peckham, London. :-)

"Al Dunbar" <alan...@hotmail.com> wrote in message
news:EDE245C5-2D35-4C04...@microsoft.com...

Al Dunbar

unread,
Mar 14, 2010, 8:01:13 PM3/14/10
to

"Tim Meddick" <timme...@gawab.com> wrote in message

news:eCRzYE8w...@TK2MSFTNGP05.phx.gbl...


> Well exactly! I certainly was not posting for the benefit of all those
> who decided to respond negatively, but it simply irked me the way in which
> [some] people jumped all over a respondent just because he used <html> to
> create his post!

For the reasons I gave, it is generally the case that html posts can expect
to receive negative feedback. Ted's response was terse and to the point, but
I did not find it particularly disrespectful.

> They were less than courteous IMHO.

They could have perhaps been *more* courteous. But then you could have too.
Perhaps you should have taken your own advice, as you were "free to ignore"
what they said that you didn't like, were you not?

> So I wrote ONE post, also in <html>, in support, and got all this for my
> trouble (at least I got them off the original respondent's back).

No you didn't. There has only been one reply to the original respondent. Had
nobody reacted to Ted's response, I suspect that nothing further would have
been said on the matter. Anyone agreeing with Ted (myself included) would
have just let his comment stand.

> It just gets me down, now and then, to see how acidulous people can be...

And fighting acidulousness with acidulousness is your way to correct this,
then? ;-)

/Al

Twayne

unread,
Mar 14, 2010, 8:52:33 PM3/14/10
to
Don't let it get you down, Tim! It's an old but still relevant "rule" that
usenet posts should not be made in HTML. The reason is that many real
newsreaders still do not render HTML or RTF either for that matter, so an
HTML post can come through to those folks as nearly unreadable and full of
HTML tags, paddings, positioning, color, etc.. codes.
For instance: The sentence
"It may instead look like this rather than the normal text you are used to
seeing. ",
in such a newsreader, might come out as:
---------
SRC="file:///E:/Fusion 11 Web Sites//Preview/Autogen/clearpixel.gif"
WIDTH="406" HEIGHT="1" BORDER="0" ALT=""></TD></TR><TR VALIGN="TOP"
ALIGN="LEFT"><TD></TD><TD WIDTH="437" CLASS="TextObject"><!-- [BEGIN
Text4348] --> <!-- [END PRE-Text4348] --><P STYLE="margin-bottom: 0px;">It
may instead look like this rather than the <B>normal</B> text you are used
to seeing.&nbsp; </P>--></TD><TD></TD></TR>
<TR VALIGN="TOP" ALIGN="LEFT"><TD COLSPAN="3" HEIGHT="401"></TD></TR><TR
VALIGN="TOP" ALIGN="LEFT"><TD COLSPAN="3" WIDTH="893" CLASS="TextObject"
STYLE="background-color: rgb(255,255,204); border: 1px solid
rgb(0,0,0);"><!-- [BEGIN Text4343] --> <!-- [END PRE-Text4343] --><P
STYLE="text-align: center
---------
Depending on what created it; in reality it will vary but it's still going
to be just as confusing to try to read. As you can imagine, it would be
pretty unwieldly to try to read for content, in addition to all the wasted
code it takes for just that one sentence and to get ready for the next
object.
On top of that, most readers reading in Plain Text, of which there are a
considerable number, wastes the HTML code since HTMLwon't be interpreted for
those screens.
If a newsgroup does allow, or even prefer, such as the Corel newsgroup,
HTML, they will say so and it will be quite obvious. People that like the
GUI and all the pretty stuff should instead opt for forums instead of
newsgroups, especially usenet newsgroups.
The appearance of a warning against using HTML posts is actually good and
lets the widest audience be capable of viewing and understanding the
posting. It's in no way uncommon nor unexpected to see such warnings and
advice given to those who post in HTML or RTF modes as some clients ID it.

I suspect you're already aware of all this, but for those who weren't, and
wish to adhere to proper netiquette, and since you seem to imply it's news
to you, I figured posting this couldn't hurt.

And one last note: Your cross-post contents are mostly irrelevant and would
only result in more of the HTML non-preferences if anyone should bother to
respond. I've set f'ups to the group I read your message on first. Such a
long list of crossposts is rather crude & rude, actually.

HTH,

Twayne`
In news:eCRzYE8w...@TK2MSFTNGP05.phx.gbl,
Tim Meddick <timme...@gawab.com> typed:

--

Tim Meddick

unread,
Mar 15, 2010, 4:48:53 PM3/15/10
to
So you class my language as [also] acidulous do you?

Well, there you go, just like I said, you're free to feel (and say) what you like...

God bless!

==

Cheers, Tim Meddick, Peckham, London. :-)


"Al Dunbar" <alan...@hotmail.com> wrote in message

news:D3C77BC2-BE06-43DB...@microsoft.com...
>
> < clipped >
> ....And fighting acidulousness with acidulousness is your way to correct this,
> then? ;-).....
>
> < clipped >
>
>

Al Dunbar

unread,
Mar 15, 2010, 9:28:25 PM3/15/10
to

"Tim Meddick" <timme...@gawab.com> wrote in message

news:#6K5wDIx...@TK2MSFTNGP05.phx.gbl...


> So you class my language as [also] acidulous do you?

I felt that it tended to be more acidulous than conciliatory, which might
have been another approach one could have taken...

> Well, there you go, just like I said, you're free to feel (and say) what
> you like...

As we all are. And as we all do.

But, speaking of your claiming to have "got[ten] the complainers off the
original respondent's back", you apparently were not quick enough to get in
between Mr. de Boyne Pollard and Stefan Kanthak, who objected even more
strenuously to his use of HTML in a thread called "erase *.tmp also lists
*.tmpl files - how to avoid".

Fortunately for the rest of us, neither you, Ted, nor Sjouke seem able to
match Mr. Kanthak's acidulousness (or acidulocity).

/Al

0 new messages