Page 2 of 3 <123>
Topic Options
#144923 - 2005-08-09 10:17 PM Re: Break On should be the deafult
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Not implying you have poor coding skills. But I do notice that each time you post a suggestion you do approach it with a very strong passion that is not satisfied until the topic dies of age or you get your way. Were you a politician in another job?

I guess I'll fall back to previous answers then. Change it anyway you want, I can code around it.

Top
#144924 - 2005-08-09 10:36 PM Re: Break On should be the deafult
jtokach Offline
Seasoned Scripter
*****

Registered: 2001-11-15
Posts: 513
Loc: PA, USA
My passion is fueled by my desire to see kixtart grow. It's a shame not many take advantage of it. They don't die b/c of my lack interest...

And what fun would a one sided discussion be anyway?
_________________________
-Jim

...the sort of general malaise that only the genius possess and the insane lament.

Top
#144925 - 2005-08-09 10:40 PM Re: Break On should be the deafult
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, still, it does not break the script in the means that not a single function of the script is altered.
it performs just as it has before.

only the interpreters behavior would be changed.
and that change can be turned back too with a simple "break off"
_________________________
!

download KiXnet

Top
#144926 - 2005-08-09 11:45 PM Re: Break On should be the deafult
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
ROFL I already gave up Lonk. You and Jim win as far as I'm concerned. Not a big enough issue that would affect me directly to be that worried if Ruud did change it.

Many other items I would like to see added or updated

Top
#144927 - 2005-08-10 01:04 AM Re: Break On should be the deafult
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
sure, but I hate those stupid best practise comments on BREAK ON when it doesn't even work.
_________________________
!

download KiXnet

Top
#144928 - 2005-08-10 09:17 AM Re: Break On should be the deafult
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Quote:

sure, but I hate those stupid best practise comments on BREAK ON when it doesn't even work.




Well then get it fixed

Changing the default action of every script that's out there to fix another problem is not the right way to go about it.

I can see no reason why the "BREAK" statement should not affect the kill settings of WKIX32. Ok, so if there is no console so you cannot install the SetConsoleCtrlHandler() to deal with control-C which is fair enough. However that is no reason that the "logoff when killed" action should not be affected by the BREAK statement.

You need to petition Ruud (again?) to get wkix32 fixed.

Top
#144929 - 2005-08-10 12:58 PM Re: Break On should be the deafult
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
I gave up when he last time, once again told me that it can't be fixed.
and no, it's not about having console.
I posted example code on the board and it surely had console.
wkix32.exe has something so different that it just doesn't worky.
_________________________
!

download KiXnet

Top
#144930 - 2005-08-10 10:54 PM Re: Break On should be the deafult
Co Offline
MM club member
***

Registered: 2000-11-20
Posts: 1341
Loc: NL
MMM, interesting discussion...

I don't like the default Break OFF either but typing Break ON isn't a big issue to me. And Yes, Word works very good to prevent a log off .
_________________________
Co


Top
#144931 - 2005-08-10 11:21 PM Re: Break On should be the deafult
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
so does notepad
fire up notepad, type some sh*t and you have logoff blocker
_________________________
!

download KiXnet

Top
#144932 - 2005-08-10 11:56 PM Re: Break On should be the deafult
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
So if I post here again, will that make this page 3 of comments or bump up my post count?

Ruud, sorry to make lite of this, but if you get time perhaps you could comment on this to put an end to this thread.

Top
#144933 - 2005-08-11 01:27 AM Re: Break On should be the deafult
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I can put an end to it by closing it.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#144934 - 2005-08-17 06:13 PM Re: Break On should be the deafult
jtokach Offline
Seasoned Scripter
*****

Registered: 2001-11-15
Posts: 513
Loc: PA, USA
This topic was temporarily side-tracked into another forum at this topic.

There still seems to be interest in debating the topic so please continue it here.
_________________________
-Jim

...the sort of general malaise that only the genius possess and the insane lament.

Top
#144935 - 2005-08-17 06:40 PM Re: Break On should be the deafult
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
so, is it ruuds laziness if he can't make the "break off" default only during login?
outside logon procession, it would default to "break on"
_________________________
!

download KiXnet

Top
#144936 - 2005-08-17 06:40 PM Re: Break On should be the deafult
jtokach Offline
Seasoned Scripter
*****

Registered: 2001-11-15
Posts: 513
Loc: PA, USA
The discussion of this suggestion has been based heavily on personal preference. Not sure if it's possible to boil it down to something simpler and measurable, but perhaps would should try to head in that direction so as to provide a better reason than "I don't like this feature" or "I don't care about this feature".

For instance, in an effort to determine what the default value of Break Off adds with present day KiXtart scripts, can we answer the question of whether KiX is used still primarily as a login script processor, or for admin scripting? Not based on opinion, but a more scientific measure (a Poll?).

Perhaps then even generating a list of PROS and CONS so wen can factor in other considerations, even though items in such a list generally lack individual weight in relation to one another.

We currently have no system that I'm aware of for adding contreversial suggestions to the suggestions round-up at the top of this forum. But maybe this approach can give Ruud the information he needs to make an informed decision.
_________________________
-Jim

...the sort of general malaise that only the genius possess and the insane lament.

Top
#144937 - 2005-08-17 06:43 PM Re: Break On should be the deafult
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
I dont think there is anything more to debate really. Everyone agrees that getting logged off is annoying as hell. Everyone agrees that Break On probably should have been made the default setting from day one. Everyone has resigned themselves to the fact that it prolly won't change, and that we'll just have to live with it from now until forever ;0)

[edit]

ok - i guess i'm being defeatist here.

Top
#144938 - 2005-08-17 06:48 PM Re: Break On should be the deafult
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
Quote:

so, is it ruuds laziness if he can't make the "break off" default only during login?
outside logon procession, it would default to "break on"




this is a good point... well not that Ruud is lazy!!!

Ruud added a macro @LOGONMODE that is true if the script is running as a logon process, could not the "break" be coded the same way?

this keeps the default "break off" for logon scripts, but gives the admin script a "break on" enviroment.

Top
#144939 - 2005-08-17 06:54 PM Re: Break On should be the deafult
jtokach Offline
Seasoned Scripter
*****

Registered: 2001-11-15
Posts: 513
Loc: PA, USA
Shawn, you paint with a wide brush! If this is the general consensus, then I’m willing to leave it at that. But does it get added to the suggestions round-up? If so, which approach?
-login scripts=Break Off vs. admin scripts=Break On
I like Joell's latest post: login scripts=Break Off vs. admin scripts=Break On, but that could cause confusion.

-Default for all scripts is Break Off

-Registry key to control Break Off on development machines


I don't think we're out of the woods yet.
_________________________
-Jim

...the sort of general malaise that only the genius possess and the insane lament.

Top
#144940 - 2005-08-17 06:59 PM Re: Break On should be the deafult
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Indeed, it looks like you and Bryce (or Lonk idk now) came up with a smashing (almost perfectly backward compatible) solution. If @LOGONMODE = 1 then BREAK OFF is the default, if not, then BREAK ON is the default. Might be mildly confusing to the un-initiated at first, but definitely a nice idea.
Top
#144941 - 2005-08-17 07:08 PM Re: Break On should be the deafult
jtokach Offline
Seasoned Scripter
*****

Registered: 2001-11-15
Posts: 513
Loc: PA, USA
Devine KiX Wisdom = Select * From Users Where 'Posts'>=15000
_________________________
-Jim

...the sort of general malaise that only the genius possess and the insane lament.

Top
#144942 - 2005-08-17 07:17 PM Re: Break On should be the deafult
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
not much to select from...

instead of registry setting... where it could also be, I'd like the idea of setting "break off" on the commandline when I want it.
_________________________
!

download KiXnet

Top
Page 2 of 3 <123>


Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
2 registered (morganw, mole) and 414 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.074 seconds in which 0.026 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org