1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

C-c terminates Take Command

Discussion in 'Support' started by Juanma Barranquero, Apr 1, 2009.

  1. Juanma Barranquero

    Joined:
    Jun 26, 2008
    Messages:
    38
    Likes Received:
    1
    I see that build 61 included this change:

    (61) Fixed a (Windows) bug with repeated ^Breaks sometimes terminating TCMD.EXE

    Paradoxically, since that build ^C sometimes terminates Take Command (I'm using build 64 right now and the issue still happens).

    It does not happen all the time, but quite often. For example, I have a .btm file:

    @echo off
    do forever
    pssuspend %1
    delay 60
    pssuspend -r %1
    delay 90
    enddo

    (where pssuspend is a PS Tool from Sysinternals). When that script is running, pressing ^C during one of the delays terminates Take Command most of the time (but not always). I've also had the problem ^C'ing out of list /s, etc.
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,860
    Likes Received:
    83
    Juanma Barranquero wrote:

    Not reproducible here. I tried running it 100 times with ^C and it
    always gave me the prompt to terminate the batch file. I then tried it
    100 times with a ^Break and that worked too.

    Anybody else having a problem with ^C?

    Rex Conn
    JP Software
     
  3. Juanma Barranquero

    Joined:
    Jun 26, 2008
    Messages:
    38
    Likes Received:
    1
    On Fri, Apr 3, 2009 at 03:38, rconn <> wrote:


    I supposed as much :(


    I just terminated TCMD by doing "dir /p" followed by ^C. But it does
    not happen all the time.

    I don't know the reason, but it started just after your changes to fix
    ^Break. Perhaps another Windows bug.

    Juanma
     
  4. Jim Cook

    Joined:
    May 20, 2008
    Messages:
    604
    Likes Received:
    0
    TCC 10.00.64 Windows XP [Version 5.1.2600]
    TCC Build 64 Windows XP Build 2600 Service Pack 3

    I was testing this and found that ^C worked with *DIR /P flawlessly
    100 times in a row.

    I started then testing with ^Break and after twenty times, TCMD
    vanished leaving orphaned TCC sessions.

    I tried to repeat the test, but it worked flawlessly the next 100 times.

    I've been trying to repeat the test, even mixing ^C and ^Break but
    cannot get a failure yet.

    On Fri, Apr 3, 2009 at 4:45 AM, Juanma Barranquero
    <> wrote:



    --
    Jim Cook
    2009 Saturdays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
    Next year they're Sunday.
     
  5. Juanma Barranquero

    Joined:
    Jun 26, 2008
    Messages:
    38
    Likes Received:
    1
    On Fri, Apr 3, 2009 at 16:48, Jim Cook <> wrote:


    That's what I see (TCMD dies, the TCC sessions continue running,
    though they don't have a window).

    It has never happened to me with ^Break, only ^C, but that's not
    unexpected, as I hardly ever use ^Break.

    Juanma
     
  6. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,860
    Likes Received:
    83
    Juanma Barranquero wrote:

    Still not reproducible here. Are you running any keyboard drivers or
    background processes that monitor the keyboard?

    Rex Conn
    JP Software
     
  7. Juanma Barranquero

    Joined:
    Jun 26, 2008
    Messages:
    38
    Likes Received:
    1
    On Sat, Apr 4, 2009 at 23:15, rconn <> wrote:


    Likely, though not on purpose. This is on a HP Pavilion laptop with
    Windows XP Home, BTW. There are HP-specific drivers, etc.

    Programs likely to affect or monitor the keyboard:

    "Quick Launch Buttons", Hewlett-Packard, c:\program files\hpq\quick
    launch buttons\eabservr.exe
    "TrueCrypt", TrueCrypt Foundation, c:\program files\truecrypt\truecrypt.exe
    CoolSwitch,, c:\windows\system32\taskswitch.exe

    plus McAfee. There's also a bunch of programs/drivers for the
    Synaptics Touchpad, but I don't know whether these would affect the
    keyboard.

    Quick Launch Buttons is an app to support some fancy multimedia
    buttons. TrueCrypt is a disk encrypter; and CoolSwitch is a nicer
    Alt-Tab replacement.

    None of these programs is recently installed or updated.

    Juanma
     

Share This Page