Deutsch   English   Français   Italiano  
<vgkddd$33ncp$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: Ron AARON <clf@8th-dev.com>
Newsgroups: comp.lang.forth
Subject: Re: bye with exit status
Date: Fri, 8 Nov 2024 09:08:29 +0200
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <vgkddd$33ncp$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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 08 Nov 2024 08:08:29 +0100 (CET)
Injection-Info: dont-email.me; posting-host="19cd4607b43ce775598fcb7ce0b10abc";
	logging-data="3267993"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/vRfGVq2VvfH7nDYMEeNnT"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ewSaGi/Z1WIYJQc4TIxfJQkssjU=
In-Reply-To: <vgj268$2p1e5$1@dont-email.me>
Content-Language: en-US, he
Bytes: 2233

8th uses the word "die", e.g. 1 die
The word "bye" is 0 die.

On 07/11/2024 20: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.  
> Default can be defined to return to the host OS with an exit status `u`, 
> but maybe be replaced in (unhosted) environments to perform some sort of 
> system reset, power cycle, or other implementation defined system reset.
> 
>> `terminate` is a good candidate, but it's unclear what it should 
>> terminate — a thread/task, or a process, or the own process, or the 
>> own thread.
> 
> TERMINATE could have the same meaning as SIGTERM *:
> 
>   SIGTERM (Terminated)
>            This signal is the default signal sent by kill(1) and 
> represents a
>            user or administrator request that a program shut down 
> [normally].
> 
> * Other signals result in abnormal termination.
> 
>