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

Cygwin 64 sticks "on top" of other windows

Discussion in 'Support' started by Eric Jensen, Dec 5, 2014.

  1. Eric Jensen

    Joined:
    Dec 5, 2014
    Messages:
    2
    Likes Received:
    0
    I'm noticing a few issues with TCC and Cygwin and hoping that I'm just missing some settings or not doing something correctly. I am using the 64 bit Cygwin, not sure if TCC prefers the 32 bit?

    First issue I noticed is that TCC doesn't detect any of my Cygwin windows for attaching. If I want a Cygwin window I need to manually run the command in a new tab. Here is the exact command I'm using:

    C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico -

    The big and most frustrating issue, however, is the Cygwin windows sticking on top of everything else. When switch to another application via alt+tab, clicking, etc TCC goes to the back but the Cygwin window remains in front. The only way to get it to go back is to do an additional click on the new applications title bar. Clicking inside the application or additional alt+tabs does not force Cygwin back.

    Any suggestions for better TCC+Cygwin integration?

    Eric
     
  2. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,888
    Likes Received:
    30
    Mintty.exe is not a Windows console application. It's no surprise that TCMD doesn't automatically attach to it or that it doesn't work well at all with TCMD. Putty.exe is the same way.
     
  3. Joe Caverly

    Joined:
    Aug 28, 2009
    Messages:
    661
    Likes Received:
    8
    I have the same problem with 32-bit Cygwin on Windows Vista. Mintty.exe is not a console application. The same problem arises with DOSBox/vDOS/dBDOS, as they all use an SDL window, something which TCMD does not support.

    You can still run the bash shell in a tabbed window.

    Just run bash.exe from your c:\cygwin\bin directory.

    Joe
     
  4. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,809
    Likes Received:
    82
    Why would you want to use Mintty? It serves the same general purpose as Take Command (wrapping the console windows), but with < 1% of the capabilities. Was there something in particular in Mintty you wanted?

    Actually, I'm surprised that a console wrapper running inside another console wrapper works at all. It certainly won't work well.
     
  5. Eric Jensen

    Joined:
    Dec 5, 2014
    Messages:
    2
    Likes Received:
    0
    I'm very new to TCMD, so there is some ignorance on my part. My current workflow uses several CMD windows combined with my preference for a bash environment. So I tend to have 2-3 CMD windows open and 2-3 Cygwin windows open during my day. TCMD seemed like a great approach to organizing both together. I will try the suggestion of running bash.exe inside TCC/CMD.
     
  6. Joe Caverly

    Joined:
    Aug 28, 2009
    Messages:
    661
    Likes Received:
    8

    Attached Files:

    • tbb.jpg
      tbb.jpg
      File size:
      23.6 KB
      Views:
      12
  7. David Marcus

    Joined:
    Jun 4, 2008
    Messages:
    647
    Likes Received:
    1
    I hope you mean inside Take Command, not TCC.
     

Share This Page