Browse files

Add a note about terminal state after attaching with reptyr.

  • Loading branch information...
1 parent 1e04a94 commit afdee095d5107dce24cbc2be3096cc288e87252f @nelhage committed Jan 22, 2011
Showing with 8 additions and 2 deletions.
  1. +8 −2 README
@@ -16,17 +16,23 @@ USAGE
current terminal.
After attaching, the process will take input from and write output to
-the new terminal, including ^C and ^Z. Unfortunately, if you
+the new terminal, including ^C and ^Z. (Unfortunately, if you
background it, you will still have to run "bg" or "fg" in the old
terminal. This is likely impossible to fix in a reasonable way without
-patching your shell.
+patching your shell.)
After attaching, you may need to send a ^L or similar to ncurses
applications to force them to redraw themselves. With "less", after
attaching, a ^Z will cause it to both redraw and to set up the
terminal application keys so that you can scroll with arrow keys
+After attaching, your old terminal will probably be left in a strange
+state, since it will be waiting for the process to quit, but not
+getting any output. You can either background your process and do 'bg;
+disown', or just close the window -- reptyr should protect your
+process from being killed when you do so.
"But wait, isn't this just screenify?"

0 comments on commit afdee09

Please sign in to comment.