Share

dtach

Code

Programming Languages: C

License: GNU General Public License (GPL)

Repositories

browse code, statistics, last commit on 2008-01-31 cvs -d:pserver:anonymous@dtach.cvs.sourceforge.net:/cvsroot/dtach login

cvs -z3 -d:pserver:anonymous@dtach.cvs.sourceforge.net:/cvsroot/dtach co -P modulename

Show:

What's happening?

  • dtach owns a zombie process

    I'm using dtach to start wine (http://www.winehq.org/) applications. I.e. a process tree looks like this: dtach -> wine -> app.exe. Sometimes (not every time), when I terminate app.exe through the GUI, wine becames a "zombie process". AFAIK it means that wine have terminated, but dtach can not determine this and read wine's exit status. I can attach with "dtach -a...

    2009-06-21 08:28:47 UTC by beroal

  • Comment: Arrow keys stop working in vim

    If a minimal stateful parser was added to dtach, it could probably detect the escape sequences that are sent to change the terminal settings. It would have to handle the possibility of each character of the sequence being sent separately in order to work 100% of the time, which means a simple string comparison may not be adequate. Unfortunately, this does mean that dtach would no longer be a...

    2009-04-14 01:23:35 UTC by crigler

  • Comment: Arrow keys stop working in vim

    Yes, that fixed the issue. Would there be any way to store that terminal setting in the dtach session state?.

    2009-03-30 13:41:58 UTC by funkiedamouse

  • Comment: Arrow keys stop working in vim

    This is probably because vim is fiddling with the terminal settings when it starts up, and resets it when it exits. When dtach reattaches, your terminal is still set to the vim mode. My guess is that it is the smkx terminfo setting. You could try doing: tput smkx;dtach -a /tmp/dtach-bug;tput rmkx and see if that fixes your problem (you could also try a different TERM type)

    2009-03-29 00:32:08 UTC by crigler

  • Comment: Arrow keys stop working in vim

    Another situation where the arrow keys die is when the dtach session is reattached after closing the terminal under which it was started. I haven't yet been able to test whether this is because of attaching it to another terminal, or actually because its original terminal was closed.

    2009-03-26 17:32:56 UTC by funkiedamouse

  • Comment: Arrow keys stop working in vim

    Verified that this bug exists in 0.8 as well as 0.7. Also, when triggering the bug inside dvtm, vim's input locks up until you press Ctrl+C. (in both 0.7 and 0.8)

    2009-03-23 21:11:35 UTC by funkiedamouse

  • Arrow keys stop working in vim

    After detaching a session running vim, and running another copy of vim elsewhere, and then reattaching to the dtach session, the arrow keys no longer work in the vim session running in dtach. Reproduction steps: dtach -c /tmp/dtach-bug vim vim dtach -a /tmp/dtach-bug Movement with the arrow keys will no longer work. If...

    2009-03-23 21:01:14 UTC by funkiedamouse

  • Comment: some way to determine if dtach is currently attached

    Hi! I have just submitted a patch which adds this feature. Please check that out. It is in the patches section. Thanks.

    2008-04-25 10:15:02 UTC by kodest

  • make socket executable when there is an attached client

    My patch makes the socket executable when there is a client is attached to it. An irssi script called screen-away.pl can make use of this function. The patch is made against dtach-0.8.

    2008-04-25 10:12:26 UTC by kodest

  • dtach

    crigler committed patchset 30 of module dtach to the dtach CVS repository, changing 5 files.

    2008-01-31 05:54:14 UTC by crigler

Our Numbers