Ed Tomlinson wrote:
> On Saturday 13 May 2006 10:04, Matthew Toseland wrote:
>
>> exit?
>>
>
> I would like that much better.
>
So EXIT would close the socket and QUIT would shutdown the node? Or the
other way around?
>> On Fri, May 12, 2006 at 05:55:09PM -0500, David Sowder (Zothar) wrote:
>>
>>> Ed Tomlinson wrote:
>>>
>>>> Hi,
>>>>
>>>> Quite frankly to have an application stopped by the same command that
>>>> stops your OS
>>>> is dangerious. Over the years I have been bitten by this sort of buglet a
>>>> few times...
>>>>
>>>>
>>> Mind you, I've only checked MS Windows XP, Mac OS X and Debian Linux
>>> (many share the same program though I believe), I haven't found a common
>>> OS that shuts down by issuing a "shutdown" command with no arguments.
>>> Perhaps you could fill me in? What would you suggest instead of
>>> "shutdown" considering that it's the most obvious and "quit" is the most
>>> common for what it does?
>>>
>>>> On Friday 12 May 2006 09:18, David Sowder (Zothar) wrote:
>>>>
>>>>
>>>>> Ed Tomlinson wrote:
>>>>>
>>>>>
>>>>>> HI
>>>>>>
>>>>>> Please revert this.
>>>>>>
>>>>>> its OK that quit exits in TCMI. Its not a problem. Its a good thing.
>>>>>>
>>>>>> This fix just confuses things.
>>>>>>
>>>>>> Its not a good idea.
>>>>>>
>>>>>>
>>>>>>
>>>>> And I would argue the opposite. QUIT should not mean different things
>>>>> in different contexts if we can easily help it. Different meanings
>>>>> leads to use out of habit giving you a result you didn't expect, in this
>>>>> case it would be node shutdown. Imagine using the socket interface a
>>>>> lot and then using the direct console for some reason, typing QUIT and
>>>>> going to lunch; your node would be shutdown unintentionally until you
>>>>> noticed at some point. Obviously, this is up for discussion in the
>>>>> group, but I'm unclear how this change confuses anything.
>>>>>
>>>>> Admittedly, QUIT used to be the command to shutdown in either
>>>>> environment, but that was changed a couple of weeks ago and I believe
>>>>> the current arrangement is much more logical and consistent with other
>>>>> applications.
>>>>>
>>>>>
>>>>>> On Thursday 11 May 2006 22:43, zothar at freenetproject.org wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Author: zothar
>>>>>>> Date: 2006-05-12 02:43:18 +0000 (Fri, 12 May 2006)
>>>>>>> New Revision: 8672
>>>>>>>
>>>>>>> Modified:
>>>>>>> trunk/freenet/src/freenet/node/Node.java
>>>>>>> trunk/freenet/src/freenet/node/TextModeClientInterface.java
>>>>>>> Log:
>>>>>>> This should make a few interface elements more consistent: 'QUIT' just
>>>>>>> plain isn't a command in direct TMCI console mode rather than having a
>>>>>>> different meaning there than on a network socket, display the running
>>>>>>> node's build number and SVN revision number consistently everywhere
>>>>>>> (and now also in the logs on start up).
>>>>>>>