dtach

A program that emulates the detach feature of screen
Download

dtach Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Ned T. Crigler
  • Publisher web site:
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 54 KB

dtach Tags


dtach Description

A program that emulates the detach feature of screen dtach allows you to run a program in an environment that is protected from the controlling terminal and attach to it later. dtach does not keep track of the contents of the screen, and thus works best with programs that know how to redraw themselves. dtach does not, however, have the other features of screen, such as its support of multiple terminals or its terminal emulation support. This makes dtach extremely tiny compared to screen, making it more easily audited for bugs and security holes, and also allows it to fit in environments where space is limited, such as on rescue disks. Here are some key features of "dtach": · Attach multiple times to the same program. Access to the dtach session is controlled through the Unix filesystem permissions; thus, you can trivially allow other people to watch your session. · Run a program in an environment that is protected from the controlling terminal. This means that, for instance, the program running under dtach would not be affected by the terminal being disconnected for some reason. · Run programs such as emacs, which tend to want full control over the terminal. dtach mostly acts as a relay, and does not mangle the text between the application and your terminal. · Suspend dtach without suspending the running program. dtach can handle the suspend key itself instead of passing it to the running program, which may be useful for certain programs such as ircII. What's New in This Release: · When using dtach -A or dtach -c, the master will now wait until the client attaches before trying to read from the program being executed. This avoids a race condition when the program prints something and exits before the client can attach itself. · Instead of exiting quietly, dtach will now report any errors that occur while trying to execute the program. · dtach -n can now be used without a terminal. · dtach -A will now try to detect and remove stale sockets. · Removed a Linux-specific escape sequence from the code that restores the original terminal settings. · Changed dtach.1 to use for the dashes in command line options, and fix an ambiguous backslash. · Use non-blocking mode in the master process, and avoid data loss by ensuring that at least one attaching client succesfully completes a write. · Fix -e ^ to work with lowercase characters.


dtach Related Software