Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Anthony Howe Newsgroups: comp.lang.forth Subject: Re: bye with exit status Date: Thu, 7 Nov 2024 13:50:48 -0500 Organization: A noiseless patient Spider Lines: 26 Message-ID: References: <4d5b92710816ddfe2dbbb04a2177b40b@www.novabbs.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 07 Nov 2024 19:50:49 +0100 (CET) Injection-Info: dont-email.me; posting-host="8f0d5bf31ac7f5d931e3b5cecae97e66"; logging-data="2917829"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+HF9wCxhXc86C+qQViGv0a" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:nAqmO4A5ZgSBq04jlmVMh6H+bcs= In-Reply-To: Content-Language: en-GB Bytes: 2188 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. -- Anthony C Howe achowe@snert.com BarricadeMX & Milters http://nanozen.snert.com/ http://software.snert.com/