Deutsch   English   Français   Italiano  
<vgksvd$3602l$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Anthony Howe <achowe@snert.com>
Newsgroups: comp.lang.forth
Subject: Re: bye with exit status
Date: Fri, 8 Nov 2024 06:34:05 -0500
Organization: A noiseless patient Spider
Lines: 53
Message-ID: <vgksvd$3602l$1@dont-email.me>
References: <vgfmfe$22uop$1@dont-email.me> <vgg6q4$26lgs$1@dont-email.me>
 <4d5b92710816ddfe2dbbb04a2177b40b@www.novabbs.com>
 <c52c3b51c000c9139d938079e3cfe988@www.novabbs.com>
 <vgi9tn$2kmb0$1@dont-email.me> <vgj268$2p1e5$1@dont-email.me>
 <vgjdhn$2qsdj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 08 Nov 2024 12:34:05 +0100 (CET)
Injection-Info: dont-email.me; posting-host="82d8504cf1913a6e63264e4e575b39df";
	logging-data="3342421"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX198KqioDi5hy2jwWq4Io4Kh"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:UmVdkFRdIfidvv3FTT8d+3Q2NeY=
In-Reply-To: <vgjdhn$2qsdj$1@dont-email.me>
Content-Language: en-GB
Bytes: 2996

On 2024-11-07 17:04, Ruvim wrote:
> On 2024-11-07 22:50, Anthony Howe wrote:
>> On 2024-11-07 06:56, Ruvim wrote:
>>> I would like to find a more appropriate name for this word than "bye- status".
>>
>> (bye) ( u -- )
>>
>> Seems apropos, short, to the point and indicative of an internal word. 
> 
> Yes, and because of the latter this name cannot be used for a standard word. 
> Standard words are not internal words, but are part of the public interface.

But the precedent for defining and exposing an internal word has been set in the 
standard with Locals `(local)`.  So defining `(bye)` seems reasonable.

> What about the following options:
> 
>    badbye ( n -- never )
>      - because it's probably not normal termination
>      - if n is 0, then it's false-bad (i.e, good)

`badbye` - did you have a bad breakup as a teen?  If you're a JJ Abrams fan 
maybe why not `badrobot`.

>    goodbye ( n -- never )
>      - ironically when n is not zero

Well I had suggested `bye-bye` and tossed the idea of `goodbye` cause is not so 
good.

>    getout ( n -- never )
>      - send control very far from here

Sounds like something from a horror movie <deep sinister voice>get-out! get out 
of the house!</>

Maybe borrow from non-english:

	`ciao`  `sayonara`  `fini`

Maybe ask someone with young children and see what they come up with.  Bet you 
get some "interesting" answers.

> SIGTERM is a good association with processes.
> 
> Perhaps, SIGTERM can be send to another process too.

That would probably something like kill(2), eg: kill(1234, SIGTERM)

-- 
Anthony C Howe
achowe@snert.com                                   BarricadeMX & Milters
http://nanozen.snert.com/                          http://software.snert.com/