'Loop' on closing TC

Dec 7, 2009
238
2
Left Coast, USA
Using an evaluation version of TCMD -- latest build (as of today's date) running under Win XP SP2 -- and launched from a 4NT window (by typing "tcmd" at the prompt, in the directory containing tcmd.exe).

At the command prompt shown in the main TC window, I type the command exit.

The command prompt disappears. Dialog box appears, asking if I want to close TC. I decide I don't want to, and click NO.

The dialog disappears. Immediately it reappears, asking me the same question.

The dialog will appear and reappear ad infinitum -- until I finally click YES. This does not happen if I select File>Exit and then select NO when the prompt appears.

Expected behavior?

If it's expected behavior, I'd like to propose a change: if the answer is NO, the command prompt simply reappears and the 'exit' is cancelled.
 

rconn

Administrator
Staff member
May 14, 2008
12,404
152
> At the command prompt shown in the main TC window, I type the command
> *exit*.
>
> The command prompt disappears. Dialog box appears, asking if I want to
> close TC. I decide I don't want to, and click *NO*.
>
> The dialog disappears. Immediately it reappears, asking me the same
> question.
>
> The dialog will appear and reappear ad infinitum -- until I finally
> click *YES*. This does not happen if I select File>Exit and then select
> NO when the prompt appears.
>
> Expected behavior?

The problem is that you have two conflicting options set -- "Close if no
Tabs Exist" and "Prompt on Close". So when you say "No", it checks to see
if any tabs exist and then tries to close again, which brings up the close
prompt again, ad infinitum.

You should pick one option or the other. I'll add a check for this in the
next build that will clear the "Close if no Tabs Exist" option if you have
"Prompt on Close" set and click "No".

Rex Conn
JP Software
 
Dec 7, 2009
238
2
Left Coast, USA
Thanks. I figured I must have something mis-set...didn't know what.

Please forgive us Paleolithic 4NT users who are new to TC/TCC. It's hard getting old. :-)

The problem is that you have two conflicting options set -- "Close if no
Tabs Exist" and "Prompt on Close". So when you say "No", it checks to see
if any tabs exist and then tries to close again, which brings up the close
prompt again, ad infinitum.

You should pick one option or the other. I'll add a check for this in the
next build that will clear the "Close if no Tabs Exist" option if you have
"Prompt on Close" set and click "No".

Rex Conn
JP Software
 
May 20, 2008
11,518
102
Syracuse, NY, USA
On Sat, 26 Dec 2009 14:53:41 -0600, mikea <> wrote:

|Please forgive us Paleolithic 4NT users who are new to TC/TCC. It's hard getting old. :-)

If it makes you feel any better, TCC **is** 4NT (new name, more features).
--
- Vince
 
Dec 7, 2009
238
2
Left Coast, USA
If it makes you feel any better, TCC **is** 4NT (new name, more features).
What, feel any better about getting old? Sorry, no, 'bout nothing helps with that... :-)

I know it's 4NT, renamed and with more features. It's the substantial difference in the debugging environment that I'm having some trouble getting used to. Still not sure why some things aren't working (e.g., the toolbar items in the Watch window). I used that line-debugger extensively in 4NT. Kinda wish the option to use it were still available (I realize that isn't gonna happen).
 
Similar threads
Thread starter Title Forum Replies Date
old coot LEAVE in a DO /S fileset loop only leaves one subdirectory Support 4
samintz How to? Abort on error DO loop Support 10
D How to use multi-line DO to loop through first level directory names Support 5
vefatica ON ERROR terminates DO loop. Support 0
Dick Johnson for ... do loop "wrap around" Support 11
vefatica Modifying a counted DO loop's counter? Support 1
Z [dos] into - for loop - the bp is not hit Support 5
vefatica Piping the output of a DO loop. Support 4
rps For loop internal %_for_files variable? Support 2
D What is the limit on the compound statement length within ( ) of a FOR-loop? Support 5
old coot Proper use of ON ERRORMSG inside a DO WHILE loop? Support 3
H EndLocal in DO Loop Support 2
B How to? redirect a bunch of loop Support 4
Mike Hall Unexpected "Variable loop" in IF condition Support 10
C FOR loop with nested IF / IFF Support 9
D Strange issue with FOR loop Support 15
nickles WAD Variable name gets changed within FOR loop Support 2
M tcmd crashes in this recursive "for /f" loop Support 4
G Fixed Slow FOR loop Support 2
S WAD %_do_errors does not report errors when loop control variable type is not directory entry Support 1
Roedy Loop anomaly Support 6
R nested for loop question Support 3
P Need to use a regex in a "for" loop. Support 54
E How to? Closing desktop created by DESKTOP command Support 10
vefatica Command line DO with no closing parenthesis? Support 9
aedthuio TCC: No closing quote Support 2
vefatica ON <closing the console> Support 5
T Closing multi-tab TCMD crashes Support 4
S Closing date for V16 suggestions Support 1
Mordachai Fixed Closing TCMD while IDE + Help Open = Crash Support 7
vefatica WAD HISTORY /R, No closing quote? Support 10
M How to? Missing closing quote: What am I doing wrong???? Support 7
vefatica Console not closing ... problem gone Support 1
vefatica Console not closing Support 1
vefatica Closing detached consoles Support 2
vefatica Trouble closing TCMD Support 0
vefatica WINDOW (and more closing TCC woes) Support 15
Steve Pitts Failed REXX invocation not closing file Support 3
vefatica BSOD closing IDE! Support 7

Similar threads