fixing some of the detach commands: D for interactive, d for current, T for all others