Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.forth    |    Forth programmers eat a lot of Bratwurst    |    117,927 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 116,941 of 117,927    |
|    Ruvim to Anthony Howe    |
|    Re: bye with exit status    |
|    08 Nov 24 02:04:39    |
      From: ruvim.pinka@gmail.com              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.                     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)               goodbye ( n -- never )        - ironically when n is not zero               getout ( n -- never )        - send control very far from here                            > 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.       >       >              SIGTERM is a good association with processes.              Perhaps, SIGTERM can be send to another process too.                            --       Ruvim              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca